Skip to main content

PyPI Status PyPI License

The International Standard Content Code is an open standard for decentralized content identifiers. This repository contains the specification of the ISCC Standard and a reference implementation in Python3. The latest published version of the specification can be found at iscc.codes

Installing the reference code

Windows Notes:

The reference implementation requires the xxhash package. Windows users may first want to install the xxhash binary wheel to skip the required compilation step.

The reference code is published with the package name iscc on Python Package Index. Install it with:

pip install iscc

Using the reference code

A short example on how to create an ISCC Code with the reference implementation.

import iscc

# Generate ISCC Component Codes
mid, title, extra = iscc.meta_id('Title of Content')
cid = iscc.content_id_text('some text')
did = iscc.data_id('path/to/mediafile.doc')
iid, tophash = iscc.instance_id('path/to/mediafile.doc')

# Join ISCC Components to fully qualified ISCC Code
iscc_code = '-'.join([mid, cid, did, iid])
print('ISCC:{}'.format(iscc_code))

Working with the specification

The entire ISCC Specification is written in plain text Markdown. The markdown content is than built and published with the excellent mkdocs documetation tool. If you have some basic command line skills you can build and run the specification site on your own computer. Make sure you have the Git and Python installed on your system and follow these steps on the command line:

git clone https://github.com/coblo/iscc-specs.git
cd iscc-specs
pip install -r requirements.txt
mkdocs serve

All specification documents can be found in the ./docs subfolder or the repository. The recommended editor for the markdown files is typora. If you have commit rights to the main repository you can deploy the site with a simple mkdocs gh-deploy.

Contribute

Pull requests and other contributions are welcome. Use the Github Issues section of this project to ask questions or discuss ideas for the ISCC Specification.

License

All of documentation is licensed under the CC-BY-SA 4.0 license (c) 2017 Content Blockchain Project.

Reference code is licensed under BSD-2-Clause.

Metadata

Release files for iscc 1.0.0

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 1.0.0
File Size Uploaded
iscc-1.0.0.tar.gz 24.9 kB Details

Release files / iscc-1.0.0.tar.gz

Download URL iscc-1.0.0.tar.gz
Size 24.9 kB
Tags Source
SHA-256 checksum
How to use checksums
315ce6db448287096694abafd8a3aafd93d8c646d7bdd08f5a71c9c718f056d2
BLAKE2b-256 checksum
How to use checksums
a00d91012d7f77d1436567bc2edbf630823a900ccf3841a288ebcb2d2c3e82fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
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