Copyleaks Python SDK

Copyleaks SDK allows you to check your content for plagiarism and originality online. Use Copyleaks to know if content is original and where it has been used before, using the Copyleaks plagiarism checker cloud.

Check for plagiarism using Copyleaks SDK in:

Integration

You can integrate with the Copyleaks SDK in two ways:

Sign up and Get Your personal API Key

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

Generate your personal API key by logging into your dashboard. Under 'Access Keys' you will be able to see and create new API 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'. Simply update the following line with your email and API key:

cloud = CopyleaksCloud('YOUR_EMAIL_HERE', 'YOUR_API_KEY_HERE')

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)

Read More