Skip to main content

Issue verifiable credentials with ease.

Project description

vcpy

Easily issue verifiable credentials (like Blockcerts)

Table of contents

  1. Background
  2. Quickstart
  3. Documentation
  4. Contributing
  5. Contact

Background

There are many kinds of verifiable credentials like W3C's Verifiable Claims, Blockcerts, and others. The goal of vcpy is to allow you to easily issue these from your own application!

Note: this is a WIP, currently only Blockcerts issuing with anchoring to the Ethereum network is provided.

Quickstart

Install with:

pip install vcpy

Issue Blockcerts with:

from verifiable_credentials import issue

batch = issue.BlockcertsBatch(
    issuer=issuer,
     assertion=assertion,
     recipients=recipients,
     anchor_handler=eth_anchor_handler,
)
tx_id, final_certs = batch.run()

And done!

Documentation

Find our documentation here.

Contributing

  1. Fork it (https://github.com/docknetwork/vcpy/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Contact

This library is maintained by Fausto Woelflin at Dock.

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

vcpy-0.0.2.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

vcpy-0.0.2-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file vcpy-0.0.2.tar.gz.

File metadata

  • Download URL: vcpy-0.0.2.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.8

File hashes

Hashes for vcpy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9a5187491b0d2326bc38bb1f70c67daffedb48154190ec9f8f09445b8e346905
MD5 9df55aa46a07260d91e2ff8a159c0da5
BLAKE2b-256 2ec2af0eb684f66d3a70f1a5b384b2fc7d3149c9745ae9c53fb90df819ebf3b4

See more details on using hashes here.

File details

Details for the file vcpy-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: vcpy-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.8

File hashes

Hashes for vcpy-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b7fd8f24dd2441d8177e7d87a0ed5dfc0a43099f83d8dda3e61161caa2b6ded3
MD5 a8c5273f8e100520395da75b303235f3
BLAKE2b-256 47c9aab36b6068eca06be33908a834915eaa247820885814a60b13fe0efaf5b1

See more details on using hashes here.

Supported by

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