Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

ISCC - Spec and Reference Code

Build Version License Downloads DOI

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

NOTE: This is ISCC Version 1.1 work in progress!!!

Installing the reference code

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
>>> iscc.code_iscc("README.md")
{
    'characters': 2918,
    'datahash': 'd30edda59fd4803ad0d2754fcbda1ec4097d12bd790b10cd610a24764cfcef16',
    'filename': 'README.md',
    'filesize': 3075,
    'gmt': 'text',
    'iscc': 'KADYHLZUJ43U3LX7C6P5LSJ7JHAETKCYHYCQ5YX4C3JQ5XNFT7KIAOQ',
    'language': 'en',
    'mediatype': 'text/markdown',
    'metahash': '828dd01bf76b78fc448f6d2ab25008835d2993c6acde205235dc942083c4677d',
    'title': '# ISCC Spec and Reference 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 and Poetry installed on your system and follow these steps on the command line:

git clone https://github.com/iscc/iscc-specs.git
cd iscc-specs
poetry install
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 discuss ideas for the ISCC Specification. You may also want join our developer chat on Telegram at https://t.me/iscc_dev.

License

All of documentation is licensed under the CC BY-NC-SA 4.0.

Reference code is licensed under BSD-2-Clause.

Download files

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

Source Distribution

iscc-1.1.0a1.tar.gz (53.9 kB view details)

Uploaded Source

File details

Details for the file iscc-1.1.0a1.tar.gz.

File metadata

  • Download URL: iscc-1.1.0a1.tar.gz
  • Upload date:
  • Size: 53.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.0 Windows/10

File hashes

Hashes for iscc-1.1.0a1.tar.gz
Algorithm Hash digest
SHA256 0b4914444a1c9fdb46183fe7b52246c6c94325a41f77a6bdfb04efe56a596032
MD5 ac1693c60f6b059389178fdba3220cfd
BLAKE2b-256 0ee295e83d65238908c524f01c4ba50bbb59e6597b250c8b96e48272ffd6ae84

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 Sentry Error logging StatusPage Status page