Skip to main content

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

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.

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 file

0.1.1

1 file

0.1.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page