{"id":22767983,"url":"https://github.com/pactus-project/python-sdk","last_synced_at":"2025-04-15T01:37:50.525Z","repository":{"id":227087729,"uuid":"770420642","full_name":"pactus-project/python-sdk","owner":"pactus-project","description":"Python-SDK for Pactus Blockchain","archived":false,"fork":false,"pushed_at":"2025-04-14T04:53:24.000Z","size":191,"stargazers_count":1,"open_issues_count":8,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-14T05:06:05.289Z","etag":null,"topics":["blockchain","bls","bls12-381","cryptography","ed25519","grpc","pactus","python","rpc","sdk","web3"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/pactus-sdk/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pactus-project.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":"2024-03-11T14:20:36.000Z","updated_at":"2025-04-14T04:53:26.000Z","dependencies_parsed_at":"2024-07-21T09:46:30.056Z","dependency_job_id":"1d10b3db-04f1-4e77-8155-7dfee4657afe","html_url":"https://github.com/pactus-project/python-sdk","commit_stats":null,"previous_names":["pactus-project/python-sdk"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pactus-project%2Fpython-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pactus-project%2Fpython-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pactus-project%2Fpython-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pactus-project%2Fpython-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pactus-project","download_url":"https://codeload.github.com/pactus-project/python-sdk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248990470,"owners_count":21194761,"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","bls","bls12-381","cryptography","ed25519","grpc","pactus","python","rpc","sdk","web3"],"created_at":"2024-12-11T14:09:19.962Z","updated_at":"2025-04-15T01:37:50.518Z","avatar_url":"https://github.com/pactus-project.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pactus Python SDK\n\nThe Pactus Python SDK provides a set of utilities to seamlessly interact with the [Pactus](https://pactus.org) blockchain.\nWith this SDK, you can easily create transactions, sign messages, generate cryptographic keys, and more.\n\n## Installation\n\nYou can install the SDK using `pip`:\n\n```bash\npip install pactus-sdk\n```\n\n## Examples\n\nTo help you get started, we've included an `examples` folder that contains various scripts demonstrating how to\nuse the SDK for different tasks. These examples cover key generation, transaction creation, message signing, and more.\n\nTo run an example, navigate to the `examples` directory and execute the script using Python:\n\n```bash\ncd examples\npython  example_key_generation.py\n```\n\nExplore the `examples` folder for more detailed usage scenarios.\n\n## Development Setup\n\nFor local development, you can install the package in editable mode, which allows you to make changes and test them immediately:\n\n```bash\npython3 -m pip install .\n```\n\nAfter making changes, it's important to ensure all tests pass by running:\n\n```bash\npython3 -m unittest discover tests\n```\n\nMaintaining code quality is crucial. Use [Ruff](https://docs.astral.sh/ruff/) to format and lint your code:\n\n```bash\nruff format # formatting code style\nruff check # running linter\n```\n\n## Contributing\n\nContributions are welcome! Feel free to add features, fix bugs, or improve documentation via pull requests.\n\n## Publishing to PyPI\n\nTo deploy `pactus-sdk` and create a release, tag the new version and push it to GitHub.\nEnsure the version matches the one specified in `setup.py`.\n\n```bash\ngit tag -s -a v1.x.y -m \"Version 1.x.y\"\ngit push origin v1.x.y\n```\n\nAfter publishing, update the version number in `setup.py` accordingly.\nFor reference, see [this PR](https://github.com/pactus-project/python-sdk/pull/24).\n\n## License\n\nThis project is licensed under the [MIT License](./LICENSE).\nBy contributing, you agree to license your contributions under the same terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpactus-project%2Fpython-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpactus-project%2Fpython-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpactus-project%2Fpython-sdk/lists"}