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.3.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.3-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_accumulate-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 edbfdc8b6c26bccdab512927b6dd9d140ebe02b7019efa7a5d71066f9b3f6d6e
MD5 0bc45e2d32d020f99423c77cbd5f46f2
BLAKE2b-256 ea7add6ba0e989b2a3272ce80b0811add2826d263432cc1c6e569e2b19756336

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_accumulate-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 03789f7930b19e2ef8760081c62d53fba57bfa34144c19482e5409eceafe60e0
MD5 441dc48a6e96dc82e9baee34723a7387
BLAKE2b-256 551db2444b9605fb28aa772fa5a6adf8866195685248748ac3235d2b9fbc89ea

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