{"id":24448670,"url":"https://github.com/hyperledger-iroha/iroha-python","last_synced_at":"2025-04-04T13:08:17.801Z","repository":{"id":39405168,"uuid":"83542442","full_name":"hyperledger-iroha/iroha-python","owner":"hyperledger-iroha","description":"Python library for Hyperledger Iroha, a simple distributed ledger.","archived":false,"fork":false,"pushed_at":"2024-10-28T22:07:03.000Z","size":1142,"stargazers_count":103,"open_issues_count":28,"forks_count":81,"subscribers_count":46,"default_branch":"main","last_synced_at":"2024-10-29T01:11:53.990Z","etag":null,"topics":["blockchain","dlt","hyperledger","hyperledger-iroha"],"latest_commit_sha":null,"homepage":"https://wiki.hyperledger.org/display/iroha","language":"Rust","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-iroha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-01T10:29:10.000Z","updated_at":"2024-10-28T22:07:07.000Z","dependencies_parsed_at":"2024-10-28T23:27:08.397Z","dependency_job_id":null,"html_url":"https://github.com/hyperledger-iroha/iroha-python","commit_stats":{"total_commits":190,"total_committers":25,"mean_commits":7.6,"dds":0.531578947368421,"last_synced_commit":"ac28af42d8504a2b218a0188d20c1eeb1977e2eb"},"previous_names":["hyperledger-iroha/iroha-python","hyperledger/iroha-python"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger-iroha%2Firoha-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger-iroha%2Firoha-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger-iroha%2Firoha-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger-iroha%2Firoha-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperledger-iroha","download_url":"https://codeload.github.com/hyperledger-iroha/iroha-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247176561,"owners_count":20896491,"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","dlt","hyperledger","hyperledger-iroha"],"created_at":"2025-01-21T00:32:50.483Z","updated_at":"2025-04-04T13:08:17.781Z","avatar_url":"https://github.com/hyperledger-iroha.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Iroha python\n\nPython library for Hyperledger Iroha 2.\n\n## Version\n\nIf you are using the latest iroha release, iroha2 MVP, then you should use the `main` branch. If you are using rc20 then you should use the 'stable' branch.\n\n## Install\n\nTo build, use the nightly-2024-09-09 version of the rust toolchain. Set it as the default before executing the build steps. TODO, complete list of dependencies.\n\n```sh\nmaturin build\npip install --break-system-packages target/wheels/iroha-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl\n```\n\nThe exact path to the .whl file may vary. After an installation, do a small test to check the installation was successful. Normally, this test will display the library's contents:\n\n```\npython -c \"import iroha; print(dir(iroha))\"\n['Account', 'AccountId', 'Asset', 'AssetDefinition', 'AssetDefinitionId', 'AssetId', 'AssetType', 'BlockHeader', 'Client', 'DomainId', 'Instruction', 'KeyPair', 'Mintable', 'NewAccount', 'NewAssetDefinition', 'PrivateKey', 'PublicKey', 'Role', 'SignedTransaction', 'TransactionQueryOutput', '__all__', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', 'hash', 'iroha']\n```\n\nIf there was no error, you should be able to use iroha-python library.\nYou may also see an error that ends like this:\n\n```\nModuleNotFoundError: No module named 'iroha'\n```\n\nThis means that the pip install did not work properly.\n\n## Running the tests\n\nRunning the tests requires you to have a running local test network of iroha. In the main iroha repository you must run 'scripts/test_env.py setup'. Then you can run the following command to run the python library test suite.\n\n```sh\npoetry run python -m pytest tests/\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperledger-iroha%2Firoha-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperledger-iroha%2Firoha-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperledger-iroha%2Firoha-python/lists"}