semvec/pypi-packages huggingface dataset:
metashield-clean-up 0.1.2
Metashield Clean-up Online API SDK
License: BSD
Keywords: sdk,api,client,clean-up,metashield

==============================
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.

.. code-block:: python

    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