Socket
Socket
Sign inDemoInstall

iscc-service

Package Overview
Dependencies
8
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    iscc-service

ISCC Web Service API


Maintainers
1

Readme

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

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc