معرفی شرکت ها


cosmpy-0.7.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A library for interacting with the cosmos networks
ویژگی مقدار
سیستم عامل -
نام فایل cosmpy-0.7.0
نام cosmpy
نسخه کتابخانه 0.7.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Fetch.AI Limited
ایمیل نویسنده -
آدرس صفحه اصلی https://github.com/fetchai/cosmpy
آدرس اینترنتی https://pypi.org/project/cosmpy/
مجوز Apache-2.0
<h1 align="center"> <b>CosmPy</b> </h1> <p align="center"> A python library for interacting with cosmos based blockchain networks </p> <p align="center"> <a href="https://pypi.org/project/cosmpy/"> <img alt="PyPI" src="https://img.shields.io/pypi/v/cosmpy"> </a> <a href="https://pypi.org/project/cosmpy/"> <img alt="PyPI - Python Version" src="https://img.shields.io/pypi/pyversions/cosmpy"> </a> <a href="https://github.com/fetchai/cosmpy/blob/master/LICENSE"> <img alt="License" src="https://img.shields.io/pypi/l/cosmpy"> </a> <br /> <a> <img alt="PyPI - Wheel" src="https://img.shields.io/pypi/wheel/cosmpy"> </a> <a href="https://github.com/fetchai/cosmpy/actions/workflows/workflow.yml"> <img alt="CosmPy sanity checks and tests" src="https://github.com/fetchai/cosmpy/actions/workflows/workflow.yml/badge.svg"> </a> <a href="https://pypi.org/project/cosmpy/"> <img alt="Download per Month" src="https://img.shields.io/pypi/dm/cosmpy"> </a> </p> ## 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 ledger_client = LedgerClient(NetworkConfig.fetchai_mainnet()) alice: str = 'fetch12q5gw9l9d0yyq2th77x6pjsesczpsly8h5089x' balances = ledger_client.query_bank_all_balances(alice) # show all coin balances for coin in balances: print(f'{coin.amount}{coin.denom}') ``` ## Documentation The full documentation can be found [here](https://docs.fetch.ai/CosmPy/). ## 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][coc]. By participating, you are expected to uphold this code. ### Contribution Guidelines Read our [contribution guidelines][contributing] to learn about our issue and PR submission processes, coding rules, and more. ### Development Guidelines Read our [development guidelines][developing] to learn about the development processes and workflows when contributing to different parts of the CosmPy project. ### Issues, Questions and Discussions We use [GitHub Issues][issues] for tracking requests and bugs, and [GitHub Discussions][discussion] for general questions and discussion. ## License The CosmPy project is licensed under [Apache License 2.0][license]. [contributing]: https://github.com/fetchai/cosmpy/blob/master/CONTRIBUTING.md [developing]: https://github.com/fetchai/cosmpy/blob/master/DEVELOPING.md [coc]: https://github.com/fetchai/cosmpy/blob/master/CODE_OF_CONDUCT.md [discussion]: https://github.com/fetchai/cosmpy/discussions [issues]: https://github.com/fetchai/cosmpy/issues [license]: https://github.com/fetchai/cosmpy/blob/master/LICENSE


نیازمندی

مقدار نام
- ecdsa
- bech32
- requests
>=4.21.6,<5.0dev protobuf
==1.51.1 grpcio
- bip-utils
- blspy
- google-api-python-client
>=3.2.0,<5 jsonschema


زبان مورد نیاز

مقدار نام
>=3.8,<3.11 Python


نحوه نصب


نصب پکیج whl cosmpy-0.7.0:

    pip install cosmpy-0.7.0.whl


نصب پکیج tar.gz cosmpy-0.7.0:

    pip install cosmpy-0.7.0.tar.gz