Skip to content

Copyleaks tracks copied content online with its plagiarism detector. Receive reports of who used your content with Copyleaks. See how easy it is to integrate with the Copyleaks cloud, using Python, to find cases of copyright infringement.

License

Notifications You must be signed in to change notification settings

Israel4Ever/Python-Plagiarism-Checker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copyleaks Python SDK

Copyleaks SDK is a simple framework that allows you to scan textual content for plagiarism and trace content distribution online, using the Copyleaks plagiarism checker cloud.

Detect plagiarism using Copyleaks SDK in:

Integration

Supported Python version: 3.

You have two ways to integrate with the Copyleaks SDK:

  • Recommended - Use the Python Package Manager - PiPy.
    When integrating this way you will automatically be able to update the SDK to its latest version:
    pip3 install copyleaks
    
  • Download the code from this repository and add it to your project.

Register and Get Your API Key

To use the Copyleaks SDK you need to have a Copyleaks account. The registration to Copyleaks is free of charge and quick. Signup and confirm your account to finalize your registration.

Now, generate your personal API key on your dashboard (Businesses dashboard/Academic dashboard/Websites dashboard) under 'Access Keys'.

For more information check out our API guide.

Example

Main.py will show you how to scan for plagiarism in the URL: 'http://python.com'. All you have to do is to update the following line with your email and API key:

from copyleaks.copyleakscloud import CopyleaksCloud
from copyleaks.product import Product
cloud = CopyleaksCloud(Product.Academic, 'YOUR_EMAIL_HERE', 'YOUR_API_KEY_HERE')# You can change the product.

This example shows how to scan a URL using the line:

 process = cloud.createByUrl('http://python.com', options)

You can change 'createByURL' with 'createByFile' to scan local files:

 process = cloud.createByFile('test.txt', options) 

or with 'createByOCR to scan local images containing text:

process = cloud.createByOcr('ocr-example.jpg', eOcrLanguage.English, options)

Dependencies

pip3 install requests
pip3 install python-dateutil
pip3 install enum34

Read More

About

Copyleaks tracks copied content online with its plagiarism detector. Receive reports of who used your content with Copyleaks. See how easy it is to integrate with the Copyleaks cloud, using Python, to find cases of copyright infringement.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%