SDK for creating ISCCs (International Standard Content Codes)
Project description
ISCC - Software Development Kit
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
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 is published as ISO 24138:2024 - International Standard Content Code within ISO/TC 46/SC 9/WG 18.
!!! 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.0 stable release.
Maintainers
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
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
Built Distribution
File details
Details for the file iscc_sdk-0.6.2.tar.gz
.
File metadata
- Download URL: iscc_sdk-0.6.2.tar.gz
- Upload date:
- Size: 31.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.1 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75d62e91566e682bcb1d8a084403cfb585ac37cdacebc3e51a68730a5b51c3db |
|
MD5 | 9965d728189d78bd97ed8c55e174e22d |
|
BLAKE2b-256 | 0e96ee860d552b498ae4a88b341cbfe454d7b908e5ab44880085df4fa13b2841 |
File details
Details for the file iscc_sdk-0.6.2-py3-none-any.whl
.
File metadata
- Download URL: iscc_sdk-0.6.2-py3-none-any.whl
- Upload date:
- Size: 38.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.1 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1feff455d8a7e1de326b3f7b6ae7747e0e1844ef4b0dc8b25635de52d1eb660 |
|
MD5 | 53b9f8397dbfe15795f1b9fbd4e84305 |
|
BLAKE2b-256 | 7b88f5acf1fa2f007dd6c602e053bd27f9ca967fa7b26b70916cad0652465d02 |