Skip to main content

cloudmersive_dlp_api_client

Easily and directly scan and detect sensitive data (PII) in input text.

This Python package provides a native API client for Cloudmersive DLP API

  • API version: v1
  • Package version: 3.0.2
  • Build package: io.swagger.codegen.languages.PythonClientCodegen

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

If the python package is hosted on Github, you can install directly from Github

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import cloudmersive_dlp_api_client 

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import cloudmersive_dlp_api_client

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import cloudmersive_dlp_api_client
from cloudmersive_dlp_api_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Apikey
configuration = cloudmersive_dlp_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'

# create an instance of the API class
api_instance = cloudmersive_dlp_api_client.DetectApi(cloudmersive_dlp_api_client.ApiClient(configuration))
body = cloudmersive_dlp_api_client.DlpAudioDetectionRequest() # DlpAudioDetectionRequest | Input request (optional)

try:
    # Detect User Data in Audio File
    api_response = api_instance.detect_audio(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DetectApi->detect_audio: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://localhost

Class Method HTTP request Description
DetectApi detect_audio POST /dlp/detect/audio Detect User Data in Audio File
DetectApi detect_audio_advanced POST /dlp/detect/audio/advanced Detect User Data in Audio File (Advanced)
DetectApi detect_document POST /dlp/detect/document Detect User Data in Document Image
DetectApi detect_document_advanced POST /dlp/detect/document/advanced Detect User Data in Document Image (Advanced)
DetectApi detect_text POST /dlp/detect/text Detect User Data in Input Text
DetectApi detect_text_advanced POST /dlp/detect/text/advanced Detect User Data in Input Text (Advanced)
RedactApi redact_audio POST /dlp/redact/audio Redact User Data in Audio File
RedactApi redact_audio_advanced POST /dlp/redact/audio/advanced Redact User Data in Audio File (Advanced)
RedactApi redact_document POST /dlp/redact/document Redact User Data in Document
RedactApi redact_document_advanced POST /dlp/redact/document/advanced Redact User Data in Document (Advanced)
RedactApi redact_text POST /dlp/redact/text Redact User Data in Input Text
RedactApi redact_text_advanced POST /dlp/redact/text/advanced Redact User Data in Input Text (Advanced)
TasksBatchJobApi detect_audio_advanced_batch_job POST /dlp/batch-job/detect/audio/advanced Detect User Data in Audio File (Advanced) as a Batch Job
TasksBatchJobApi detect_audio_batch_job POST /dlp/batch-job/detect/audio Detect User Data in Audio File as a Batch Job
TasksBatchJobApi get_async_job_status GET /dlp/batch-job/status Get the status and result of a DLP Batch Job
TasksBatchJobApi redact_audio_advanced_batch_job POST /dlp/batch-job/redact/audio/advanced Redact User Data in Audio File (Advanced) as a Batch Job
TasksBatchJobApi redact_audio_batch_job POST /dlp/batch-job/redact/audio Redact User Data in Audio File as a Batch Job

Documentation For Models

Documentation For Authorization

Apikey

  • Type: API key
  • API key parameter name: Apikey
  • Location: HTTP header

Author

Download files

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

Source Distribution

cloudmersive_dlp_api_client-3.0.2.tar.gz (134.2 kB view details)

Uploaded Source

File details

Details for the file cloudmersive_dlp_api_client-3.0.2.tar.gz.

File metadata

File hashes

Hashes for cloudmersive_dlp_api_client-3.0.2.tar.gz
Algorithm Hash digest
SHA256 0c4ad78845aeb7290ff5065e6da6199f7c71c0df676198c2193ec61b6cc33166
MD5 fefef06a961c5f2fd28b596ca0799f18
BLAKE2b-256 ab6524737bd14f857a4b35d8c3d57e5fb9f266fe9b080ac1609fda2ed7896840

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

3.0.2 This release

1 file

3.0.1

1 file

3.0.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page