{"id":13635022,"url":"https://github.com/hyperledger/fabric-sdk-py","last_synced_at":"2025-04-08T09:05:34.225Z","repository":{"id":10999196,"uuid":"67946893","full_name":"hyperledger/fabric-sdk-py","owner":"hyperledger","description":"Hyperledger Fabric Python SDK","archived":false,"fork":false,"pushed_at":"2024-02-05T11:01:20.000Z","size":7623,"stargazers_count":409,"open_issues_count":26,"forks_count":205,"subscribers_count":45,"default_branch":"main","last_synced_at":"2025-04-01T08:31:56.859Z","etag":null,"topics":["blockchain","distributed-ledger","fabric","hyperledger","python"],"latest_commit_sha":null,"homepage":"https://fabric-sdk-py.readthedocs.io/en/latest/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyperledger.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-11T18:26:24.000Z","updated_at":"2025-03-13T11:33:47.000Z","dependencies_parsed_at":"2024-06-18T20:12:53.629Z","dependency_job_id":null,"html_url":"https://github.com/hyperledger/fabric-sdk-py","commit_stats":{"total_commits":385,"total_committers":58,"mean_commits":6.637931034482759,"dds":0.8805194805194805,"last_synced_commit":"a18074161ae6b0561bcd19c80169e88c77909253"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger%2Ffabric-sdk-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger%2Ffabric-sdk-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger%2Ffabric-sdk-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger%2Ffabric-sdk-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperledger","download_url":"https://codeload.github.com/hyperledger/fabric-sdk-py/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247809963,"owners_count":20999816,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","distributed-ledger","fabric","hyperledger","python"],"created_at":"2024-08-02T00:00:39.246Z","updated_at":"2025-04-08T09:05:34.219Z","avatar_url":"https://github.com/hyperledger.png","language":"Python","funding_links":[],"categories":["SDK","Python"],"sub_categories":[],"readme":"# Fabric-SDK-Py\n\nFabric-SDK-Py is the Python 3.x implementation of Hyperledger Fabric SDK!\n\nCurrently, it mainly supports Fabric 1.4.x version.\n\n## pyenv instructions\n\n1. Follow instructions: https://github.com/pyenv/pyenv?tab=readme-ov-file#installation\n2. Install Python 3:\n\n```bash\n pyenv install 3.12\n pyenv global 3.12\n pip3 install virtualenv\n```\n  \n## Pre-requisite\n\nThe SDK requires the `Python3` and `Libssl` pkgs.\n\nRun the following cmd to install the pre-requisites if you do not have:\n\n| OS | command |\n| -- | ---------- |\n| Ubuntu/Debian | `sudo apt-get install python-dev python3-dev libssl-dev` |\n| Redhat/CentOS | `sudo yum install python-devel python3-devel openssl-devel` |\n| MacOS | `brew install python python3 openssl` |\n\nMore details to build the crypto lib, can be found at [Install Python Cryotography Lib](https://cryptography.io/en/latest/installation).\n\n## Tutorial\n\nRead the [Tutorial](https://fabric-sdk-py.readthedocs.io/en/latest/tutorial.html) ([Source](docs/source/tutorial.md)) to get familiar with the APIs.\nA jupyter notebook explaining the sample code can be found [here](Tutorial.ipynb).\n\n## Quick Testing\n\n### Use Virtual Env\n\n[virtualenv](https://virtualenv.pypa.io) helps provide a clean environment, suggest to use it to test.\n\n```sh\n$ pip3 install virtualenv # install the virtualenv tool if not installed\n$ make venv  # create a virtual env\n$ source venv/bin/activate\n$ # Do the testing here\n$ deactivate  # deactive the virtual env\n$ make clean # clean the temporary files\n```\n\n### Run Integration Testing\nThe following command will run the testing.\n```sh\n$ make check # Check environment and run tests\n$ make test # Only run test cases\n$ tox -e py3 -- test/integration/ca_test.py  # Run specified test case\n```\n\n## Generating Docker images\nThe following command will build the Docker image `hyperledger/fabric-sdk-py`.\n\n```sh\n$ make image\n```\n\n## Regenerating protos\n\nMake sure you have `grpcio-tools` installed (`pip install grpcio-tools`)\n```sh\n$ make proto\n```\n\n## Change Logs\nSee [Change Log](CHANGELOG.md) for the commit logs. Run `make changelog` to update the changelog before new release.\n\n## Bug, Question and Code Contributions\nWelcome for any kind of contributions, e.g., [bugs](https://jira.hyperledger.org/projects/FABP), [questions](https://chat.hyperledger.org/channel/fabric-sdk-py) and [documentation](https://github.com/hyperledger/fabric-sdk-py/tree/main/docs)!\n\nRecommend to read [How to Contribution](CONTRIBUTING.md) before taking action.\n\n## Other Important Links\n\n* [Fabric SDK Python Wiki](https://wiki.hyperledger.org/display/fabric/Hyperledger+Fabric+SDK+Py)\n* [Hyperledger Project](https://www.hyperledger.org)\n* [Hyperledger mailing lists](http://lists.hyperledger.org/)\n* [Hyperledger's Discord](https://discord.com/servers/hyperledger-foundation-905194001349627914)\n\n\n## License \u003ca name=\"license\"\u003e\u003c/a\u003e\nThe Hyperledger Fabric-SDK-Py software uses the [Apache License Version 2.0](LICENSE) software license.\n\n\u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by/4.0/\"\u003e\u003cimg alt=\"Creative Commons License\" style=\"border-width:0\" src=\"https://i.creativecommons.org/l/by/4.0/88x31.png\" /\u003e\u003c/a\u003e\u003cbr /\u003eThis document is licensed under a \u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by/4.0/\"\u003eCreative Commons Attribution 4.0 International License\u003c/a\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperledger%2Ffabric-sdk-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperledger%2Ffabric-sdk-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperledger%2Ffabric-sdk-py/lists"}