makes it easier to implement a ContentAI extractor
Project description
contentai-extractor-runtime-python
This is a python package used for implementing a custom extractor that runs on the ContentAI platform.
https://pypi.org/project/contentaiextractor/
Usage
pip install contentaiextractor
import contentaiextractor as contentai
# download content locally
content_path = contentai.download_content()
# access metadata that was supplied when running a job
# contentai run s3://bucket/video.mp4 -d '{ "param: "value" }'
param = contentai.metadata()["param"]
# get another extractor's output
data = contentai.get_results("some_extractor", "data.json")
print(f"write results to {contentai.result_path}")
API Documentation
Develop
Choose a make command to run
build build package
deploy upload package to pypi
docs generates api docs in markdown
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for contentaiextractor-0.1.0rc4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 926412f1c75ff76e4c40bf82df7b26746ebbf297d5c1a1066f8d2b349e9f3579 |
|
MD5 | 785976a483324e0cef80c543ab2b5aa7 |
|
BLAKE2b-256 | fb1afee93fe3a8b308870380fac8b949e64d3c76413b13ba0cfd7ce363a68ccd |