Skip to main content

Python wrapper for accumulate API

Project description

py_accumulate

Python wrapper for accumulate API from https://accumulatenetwork.io/

install

'''python pip install py_accumulate '''

pip

package link in pypi: https://pypi.org/project/py-accumulate/

Usage

from accumulate import Accumulate
ENDPOINT = "https://testnet.accumulatenetwork.io/v2"
a=Accumulate(ENDPOINT)
a.Version()

Methods

  • METHOD_NAME : INPUT

  • Version()

  • Metrics() : metric, duration

  • Faucet() : token_account_url

  • Query() : token_account_url or ADI

  • QueryChain() : CHAIN_ID

  • QueryTx() : txId, wait

  • QueryTxHistory() : UrlQuery, QueryPagination

  • QueryData() : Url, EntryHash

  • QueryKeyPageIndex() : Url, Key

  • QueryDataSet() : Url, QueryPagination, QueryOptions

  • QueryDirectory() : UrlQuery, QueryPagination, QueryOptions

  • Execute() : sponsor, signer, signature, keyPage, payload, checkOnly

  • ExecuteCreateAdi() : url, publicKey, keyBookName, keyPageName

  • ExecuteCreateDataAccount() : url, KeyBookUrl, ManagerKeyBookUrl

  • ExecuteCreateKeyBook() : url, Pages

  • ExecuteCreateKeyPage() : url, Keys

  • ExecuteCreateToken() : url, Symbol, Precision, Properties

  • ExecuteCreateTokenAccount() : url, TokenUrl, KeyBookUrl

  • ExecuteSendTokens() : To, Hash, Meta

  • ExecuteAddCredits() : Recipient, Amount

  • ExecuteUpdateKeyPage() : Operation, Key, NewKey, Owner

  • ExecuteWriteData() : DataEntry

Reference

-https://docs.accumulatenetwork.io/accumulate/developers/api/api-reference

Developing testing

  • Dependencies in requirements.txt
  • Version Mangement in setup.cfg
python -m unittest discover -s tests/accumulate/ -p 'test_*.py'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_accumulate-0.0.4.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_accumulate-0.0.4-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file py_accumulate-0.0.4.tar.gz.

File metadata

  • Download URL: py_accumulate-0.0.4.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for py_accumulate-0.0.4.tar.gz
Algorithm Hash digest
SHA256 c820e5862daf61c74ec02b04977a823c6c297bf30365b86990ca8f64eecc1f68
MD5 7309e0a7a19bac64aa82328ecdac5d61
BLAKE2b-256 7c341669605a5aa85c7fbca98d9a3a21b2fe9753cfb53816652a55b32f813054

See more details on using hashes here.

File details

Details for the file py_accumulate-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: py_accumulate-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for py_accumulate-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5dcf2fcea0330bad79af08d83a645e691c46e3789b787e4c1bc6fb643cf34865
MD5 984c3d066dc5d14869ee03e0c1c7e765
BLAKE2b-256 70174f4c9aea852b812fda70c34a4520707194335e490392760aff8e16550548

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page