Skip to main content

Metashield Clean-up Online API SDK

Project description

Installation

Install the metashield_clean_up package using pip:

pip install metashield_clean_up

Usage

Example for cleaning a file.

from metashield_clean_up.api import MetashieldCleanUp

api = MetashieldCleanUp("REPLACE_APP_ID_HERE", "REPLACE_SECRET_KEY_HERE")
response = api.clean_file(stream, "my_file.pdf")
response = api.get_clean_result(response.data["cleanId"])

Run tests

Before run tests, replace some settings in tests/settings_default.py module.

Tests was built with Python Unittest, run the following commands:

python -m unittest discover tests

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metashield_clean_up-0.1.2.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file metashield_clean_up-0.1.2.tar.gz.

File metadata

File hashes

Hashes for metashield_clean_up-0.1.2.tar.gz
Algorithm Hash digest
SHA256 04d16273200167e25a32e55edeb3e6d9d6f4289b070cc66e616ff99d1c21a638
MD5 eed10af8fc748520dfaa5ceb90c02b93
BLAKE2b-256 a752b7f54c7f301c6cefd159e0a94402da9612c990376a20160b247ec7900f74

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page