Skip to main content

pyc3l-cli

Latest Pypi Version

This project offer a command line interface for interacting with ComChain from the shell.

Maturity

This code is in alpha stage. It wasn't tested on Windows. This is more a draft for an ongoing reflection.

Features

using pyc3l-cli, through the pyc3l command line tool, you can:

  • monitor block rates with pyc3l block_rate
  • check account information with pyc3l account_info (last transactions, type, status, balance, delegations...)
  • check a specific transaction pyc3l check_transaction
  • issue pledge, transfer, delegate, and transfer on behalf commands
  • ... many examples and other specific commands are provided ...

Requirement

This code is for python3. Some subcommands are using tkinter for interactive usage (you can always avoid using tkinter by providing necessary arguments on command line).

You can check if tkinter is installed by running python3 and typing:

>>> import tkinter
>>> tkinter._test()

Installation

You don't need to download the git version of the code as pyc3l-cli is available on the PyPI. So you should be able to run:

pip install pyc3l-cli

If you have downloaded the GIT sources, then you could add install the current version via traditional::

python setup.py install

And if you don't have the GIT sources but would like to get the latest master or branch from github, you could also::

pip install git+https://github.com/com-chain/pyc3l-cli

Or even select a specific revision (branch/tag/commit)::

pip install git+https://github.com/com-chain/pyc3l-cli@master

Usage

Logging

PYC3L_CLI_DEBUG=1 pyc3l [COMMAND] ...

or

pyc3l -d [COMMAND] ...

or

pyc3l --log-handler pyc3l:DEBUG [COMMAND] ...

All debugging on:

pyc3l --log-handler :DEBUG [COMMAND] ...

Contributing

Any suggestions or issues are welcome. Push requests are very welcome, please check out the guidelines.

Push Request Guidelines

You can send any code. I'll look at it and will integrate it myself in the code base and leave you as the author. This process can take time and it'll take less time if you follow the following guidelines:

  • check your code with PEP8 or pylint. Try to stick to 80 columns wide.
  • separate your commits per smallest concern.
  • each commit should pass the tests (to allow easy bisect)
  • each functionality/bugfix commit should contain the code, tests, and doc.
  • prior minor commit with typographic or code cosmetic changes are very welcome. These should be tagged in their commit summary with !minor.
  • the commit message should follow gitchangelog rules (check the git log to get examples)
  • if the commit fixes an issue or finished the implementation of a feature, please mention it in the summary.

If you have some questions about guidelines which is not answered here, please check the current git log, you might find previous commit that shows you how to deal with your issue.

License

Licensed under the GNU Affero General Public License

Release files for pyc3l-cli 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyc3l-cli 0.6.0
File Size Uploaded
pyc3l_cli-0.6.0.tar.gz 33.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyc3l-cli 0.6.0
File Interpreter ABI Platform
pyc3l_cli-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size:76.7 kB

Release files / pyc3l_cli-0.6.0.tar.gz

Download URL pyc3l_cli-0.6.0.tar.gz
Size 33.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7f19edc51cba9d3a15f9fe0120a1786acfbd830c788dec88c814f6cfecaae3ab
BLAKE2b-256 checksum
How to use checksums
a390e6175d488898c8b21a177077f5711a34c153eeeff1a2cce9c016fde6ff08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release files / pyc3l_cli-0.6.0-py3-none-any.whl

Download URL pyc3l_cli-0.6.0-py3-none-any.whl
Size 42.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8f6b831a112e4364b857a718301fc73fdbeb06854f4117f36cfd26b7b1112fa6
BLAKE2b-256 checksum
How to use checksums
4fa364fb18ffd2253fbcc9f6663618dbbcbd182289e3f05e947ae620cfa4aeb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page