Skip to main content

iscc-service - ISCC Web Service API

Version Downloads Pulls

A REST OpenAPI Backend for creating ISCC codes for digital media files.

Note: This is work in progress. Use with care and at your own risk

The Webservice is build with FastAPI and makes use of the ISCC reference implementation and the ISCC Command Line Tool and includes an interactive API documentation:

Interactive ISCC Api Docs

The Docker image is published at https://hub.docker.com/r/titusz/iscc-service

Setup for development

If you are using poetry:

  • After checkout cd into code directory and run 'poetry install' to install dependencies.
  • Launch dev server with: 'uvicorn iscc_service.main:app --reload'
  • See API docs at: http://127.0.0.1:8000

For the 'lookup' endpoint to work you must provide env variables for node connection. See config.py

Install via pip

$ pip3 install iscc-service

Run webservice via uvicorn

$ isccservice
INFO:     Started server process [18800]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)

Publishing on Docker HUB:

docker login
docker build -t iscc-service -f Dockerfile .
docker run --rm -p 8080:8080 -it iscc-service
docker tag iscc-service username/iscc-service:0.1.9
docker push username/iscc-service:0.1.9

Change Log

[0.2.3] - 2020-06-12

  • Use vendorized tika

[0.2.2] - 2020-06-12

  • Update to iscc-cli 0.9.11

[0.2.1] - 2020-05-13

  • Update to iscc-cli 0.9.8
  • More conservative lookup matching

[0.2.0] - 2020-05-01

  • Update to support flac and opus audio files

[0.1.9] - 2020-04-27

  • Support updated Content-ID Audio
  • Support incomplete ISCC codes
  • Updated dependencies

[0.1.8] - 2020-03-02

  • Add support for mobi files
  • Initial pypi release

License

MIT © 2019-2020 Titusz Pan

Metadata

Release files for iscc-service 0.2.3

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

Source distribution (sdist)

Source distribution for iscc-service 0.2.3
File Size Uploaded Provenance Actions
iscc-service-0.2.3.tar.gz 7.9 kB Without provenance Details for iscc-service-0.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for iscc-service 0.2.3
File Interpreter ABI Platform Actions
iscc_service-0.2.3-py3-none-any.whl Python 3 none any Details for iscc_service-0.2.3-py3-none-any.whl

Total release size: 16.9 kB

Release files / iscc-service-0.2.3.tar.gz

Download URL iscc-service-0.2.3.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8c6f0463e92d478832e1c8d0f51234f625ed0839e0f9110b70572f6eb87d6927
BLAKE2b-256 checksum
How to use checksums
6691726d1fb2a0f9c3fb1160ab70bd100ea053a1d856d4027b17126f0ed01f15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.5 CPython/3.6.4 Windows/10

Release files / iscc_service-0.2.3-py3-none-any.whl

Download URL iscc_service-0.2.3-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33753bdf59a0dd35745750fda40bb5aa85857f23cb636c779b0ace689914c334
BLAKE2b-256 checksum
How to use checksums
e53882db26da71db901db33dc364faad21ff175ad8024c6d7b87ea8109ec6b1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.5 CPython/3.6.4 Windows/10

Security for iscc-service 0.2.3

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