Skip to main content

SDK for creating ISCCs (International Standard Content Codes)

Project description

ISCC - Software Development Kit

Build Version Coverage Quality Downloads

iscc-sdk is a Python development kit for creating and managing ISCC (International Standard Content Code)

What is an ISCC

The ISCC is a similarity preserving identifier for digital media assets.

ISCCs are generated algorithmically from digital content, just like cryptographic hashes. However, instead of using a single cryptographic hash function to identify data only, the ISCC uses various algorithms to create a composite identifier that exhibits similarity-preserving properties (soft hash).

The component-based structure of the ISCC identifies content at multiple levels of abstraction. Each component is self-describing, modular, and can be used separately or with others to aid in various content identification tasks. The algorithmic design supports content deduplication, database synchronization, indexing, integrity verification, timestamping, versioning, data provenance, similarity clustering, anomaly detection, usage tracking, allocation of royalties, fact-checking and general digital asset management use-cases.

What is iscc-sdk

iscc-sdk is built on top of iscc-core and adds high level features for generating and handling ISCC codes for all the different mediatypes:

  • mediatype detection
  • metadata extraction and embedding
  • mediatype specific content extraction and pre-processing
  • iscc indexing and search

Requirements

Python 3.8 to 3.11 on 64-bit systems

Installation

Use the Python package manager pip to install iscc-sdk.

pip install iscc-sdk

Getting Started

Create an ISCC-CODE for a media file:

import iscc_sdk as idk

print(idk.code_iscc("/path/to/mediafile.jpg"))

Using the CLI tool to create an ISCC-CODE

idk create /path/to/mediafile.jpg

Batch creation of ISCC-CODEs

idk batch /folder_with_media_files

Documentation

https://sdk.iscc.codes

Troubleshooting

On Linux and MacOS you might need to install taglib as a prerequisite. On Ubuntu, Mint and other Debian-Based distributions do:

sudo apt install libtag1-dev

On a Mac, use HomeBrew:

brew install taglib

Project Status

The ISCC has been accepted by ISO as full work item ISO/AWI 24138 - International Standard Content Code and is currently being standardized at TC 46/SC 9/WG 18. https://www.iso.org/standard/77899.html

!!! attention The iscc-sdk library and the accompanying documentation is under development. API changes and other backward incompatible changes are to be expected until the upcoming v1.5 stable release.

Maintainers

@titusz

Contributing

Pull requests are welcome. For significant changes, please open an issue first to discuss your plans. Please make sure to update tests as appropriate.

You may also want join our developer chat on Telegram at https://t.me/iscc_dev.

Project details


Download files

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

Source Distribution

iscc_sdk-0.5.7.tar.gz (30.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iscc_sdk-0.5.7-py3-none-any.whl (37.8 kB view details)

Uploaded Python 3

File details

Details for the file iscc_sdk-0.5.7.tar.gz.

File metadata

  • Download URL: iscc_sdk-0.5.7.tar.gz
  • Upload date:
  • Size: 30.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.11.1 Windows/10

File hashes

Hashes for iscc_sdk-0.5.7.tar.gz
Algorithm Hash digest
SHA256 3ed99a964119a484e26032055b1463d36dc46e4ff6f3894e5d394dfc59ad1ae5
MD5 465cee20acb2c55b0ff3bf2ff0a782ea
BLAKE2b-256 dd41d944d85d3e069b1e49cc5072156be393259509075b90e8ac50367902a26e

See more details on using hashes here.

File details

Details for the file iscc_sdk-0.5.7-py3-none-any.whl.

File metadata

  • Download URL: iscc_sdk-0.5.7-py3-none-any.whl
  • Upload date:
  • Size: 37.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.11.1 Windows/10

File hashes

Hashes for iscc_sdk-0.5.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a9e50aea3691d1045a1e50e6bb76a0bdbf834f5c4025faa6fd7f22c3b28803eb
MD5 5c42eddd4e84dee044365ec4e1d92271
BLAKE2b-256 f4932b29e75385ca3b4f2c056a08c168d9a162bc4f36334f0555cf00988eb789

See more details on using hashes here.

Supported by

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