cosmpy
A Python client library for interacting with blockchains based on the Cosmos-SDK
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.1%) to scientific vocabulary
Keywords
Repository
A Python client library for interacting with blockchains based on the Cosmos-SDK
Basic Info
Statistics
- Stars: 143
- Watchers: 22
- Forks: 85
- Open Issues: 43
- Releases: 16
Topics
Metadata Files
README.md
CosmPy
A python library for interacting with cosmos based blockchain networks
To Install
bash
pip3 install cosmpy
Getting Started
Below is a simple example for querying an account's balances:
```python from cosmpy.aerial.client import LedgerClient, NetworkConfig
connect to Fetch.ai network using default parameters
ledgerclient = LedgerClient(NetworkConfig.fetchaimainnet())
alice: str = 'fetch12q5gw9l9d0yyq2th77x6pjsesczpsly8h5089x' balances = ledgerclient.querybankallbalances(alice)
show all coin balances
for coin in balances: print(f'{coin.amount}{coin.denom}') ```
Documentation
The full documentation can be found here.
Examples
Under the examples directory, you can find examples of basic ledger interactions using cosmpy, such as transferring tokens, staking, deploying and interacting with a smart contract, and performing atomic swaps.
Contributing
All contributions are very welcome! Remember, contribution is not only PRs and code, but any help with docs or helping other developers solve their issues are very appreciated!
Read below to learn how you can take part in the CosmPy project.
Code of Conduct
Please be sure to read and follow our Code of Conduct. By participating, you are expected to uphold this code.
Contribution Guidelines
Read our contribution guidelines to learn about our issue and pull request submission processes, coding rules, and more.
Development Guidelines
Read our development guidelines to learn about the development processes and workflows.
Issues, Questions and Discussions
We use GitHub Issues for tracking requests and bugs, and GitHub Discussions for general questions and discussion.
Owner
- Name: Fetch.AI
- Login: fetchai
- Kind: organization
- Website: https://fetch.ai
- Twitter: Fetch_ai
- Repositories: 40
- Profile: https://github.com/fetchai
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use CosmPy in your research or project, please cite it as follows:" title: CosmPy Library authors: - family-names: Fetch.ai date-released: "2021-06-01" url: "https://github.com/fetchai/cosmpy" license: "Apache-2.0"
GitHub Events
Total
- Create event: 16
- Release event: 2
- Issues event: 4
- Watch event: 13
- Delete event: 8
- Member event: 1
- Issue comment event: 17
- Push event: 92
- Pull request review comment event: 27
- Pull request review event: 38
- Pull request event: 23
- Fork event: 10
Last Year
- Create event: 16
- Release event: 2
- Issues event: 4
- Watch event: 13
- Delete event: 8
- Member event: 1
- Issue comment event: 17
- Push event: 92
- Pull request review comment event: 27
- Pull request review event: 38
- Pull request event: 23
- Fork event: 10
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 52
- Total pull requests: 111
- Average time to close issues: 3 months
- Average time to close pull requests: 29 days
- Total issue authors: 26
- Total pull request authors: 20
- Average comments per issue: 1.37
- Average comments per pull request: 0.84
- Merged pull requests: 68
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 2
- Pull requests: 23
- Average time to close issues: 9 days
- Average time to close pull requests: 11 days
- Issue authors: 1
- Pull request authors: 6
- Average comments per issue: 2.0
- Average comments per pull request: 0.39
- Merged pull requests: 11
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- 5A11 (12)
- VijaySharma815 (5)
- jrriehl (4)
- dylanschultzie (3)
- MissingNO57 (3)
- mperklin (2)
- leonardoaraujosantos (2)
- dishmop (2)
- furester (1)
- Widlar (1)
- Alejandro-Morales (1)
- mohammadworks (1)
- Wally869 (1)
- solarw (1)
- rocco-piovani (1)
Pull Request Authors
- MissingNO57 (30)
- solarw (22)
- jrriehl (17)
- VijaySharma815 (13)
- 5A11 (6)
- ejfitzgerald (3)
- pbukva (3)
- FelixNicolaeBucsa (3)
- dylanschultzie (2)
- mperklin (2)
- eckelj (2)
- Galadrin (2)
- BorisNaum (2)
- tomasandroil (2)
- kapong (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 2
-
Total downloads:
- pypi 53,143 last-month
- Total docker downloads: 140
-
Total dependent packages: 18
(may contain duplicates) -
Total dependent repositories: 36
(may contain duplicates) - Total versions: 45
- Total maintainers: 4
pypi.org: cosmpy
A library for interacting with the cosmos networks
- Homepage: https://github.com/fetchai/cosmpy
- Documentation: https://network.fetch.ai/docs/guides/cosmpy/installation/
- License: Apache-2.0
-
Latest release: 0.11.1
published 9 months ago
Rankings
Maintainers (4)
proxy.golang.org: github.com/fetchai/cosmpy
- Documentation: https://pkg.go.dev/github.com/fetchai/cosmpy#section-documentation
- License: apache-2.0
-
Latest release: v0.11.1
published 9 months ago
Rankings
Dependencies
- FirebaseExtended/action-hosting-deploy v0 composite
- actions/checkout v3 composite
- actions/download-artifact master composite
- actions/setup-python v2 composite
- actions/upload-artifact master composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- gaurav-nelson/github-action-markdown-link-check v1 composite
- rojopolis/spellcheck-github-actions 0.25.0 composite
- python 3.7 build
- mkdocs *
- mkdocs-material *
- mkdocs-material-extensions *
- 127 dependencies
- bech32 *
- bip-utils *
- blspy *
- ecdsa *
- google-api-python-client *
- grpcio ==1.47.0
- jsonschema >=3.2.0,<5
- protobuf >=3.19.4,<4
- python >=3.8,<4.0
- requests *