Skip to main content

Metashield-clean-up-sdk-python

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

Metadata

Release files for metashield-clean-up 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for metashield-clean-up 0.1.2
File Size Uploaded Provenance Actions
metashield_clean_up-0.1.2.tar.gz 3.6 kB Without provenance Details for metashield_clean_up-0.1.2.tar.gz

Release files / metashield_clean_up-0.1.2.tar.gz

Download URL metashield_clean_up-0.1.2.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
04d16273200167e25a32e55edeb3e6d9d6f4289b070cc66e616ff99d1c21a638
BLAKE2b-256 checksum
How to use checksums
a752b7f54c7f301c6cefd159e0a94402da9612c990376a20160b247ec7900f74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for metashield-clean-up 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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