Skip to content

Releases: brianddk/pyexch

PyExch v0.0.2

25 Mar 18:41
a30ae39
Compare
Choose a tag to compare
PyExch v0.0.2 Pre-release
Pre-release

PyPI versionLicenseGitHubGitHub DiscussionsDonate with Bitcoin LightningDonate with Bitcoin

EARLY RELEASE of a rudimentary python CLI based rest client for Coinbase

usage: pyexch [-h] [--method <get,post,>] [--url https://...]
              [--params params.json] [--call get_accounts]
              [--keystore ks.json] [--auth exch.auth]

Python Exchange CLI (pyexch)

optional arguments:
  -h, --help            show this help message and exit
  --method <get,post,>  rest http method (get<default>,post,put,delete)
  --url https://...     rest http url to perform actions upon
  --params params.json  json(5) filename holding rest parameters / data
  --call get_accounts   call method in the default client
  --keystore ks.json    json(5) filename where secrets are stored (backup!)
  --auth exch.auth      the auth method to use from keystore.

NOTE: Must name either "--call" or "--url", but not both, and "keystore.json"
is assumed if "--keystore" is not named

Install with Debug support

If you want to debug one of the client calls or step into a requests call, you can install from GIT sources. Then you can add breakpoints in source using calls to breakpoint() to get more detailed information.

  1. Get source: git clone https://github.com/brianddk/pyexch.git
  2. Switch directories: cd pyexch
  3. Install develop mode via pip: pip install -e .
  4. Verify install (cli-mode): pyexch --help
  5. Optionally add breakpoint() into one of the *.py files
  6. Optionally step through code in the python debugger (pdb)

Install without GIT

To install the most recent edition directly from GitHub tarball:

pip install https://github.com/brianddk/pyexch/archive/refs/heads/main.tar.gz

You won't get to documentation or templates, but all the code will land and function

Install last release from PIP

  1. Install: pip install pyexch
  2. Verify install: pyexch --help

Alternatively you can run it in module mode (python -m pyexch --help) or run the script directly (python pyexch.py --help).

Future Plans

Initial ALPHA Relase

20 Mar 21:29
fab8cb6
Compare
Choose a tag to compare
Initial ALPHA Relase Pre-release
Pre-release

EARLY PREVIEW RELEASE of a rudimentary python CLI based rest client for Coinbase

usage: pyexch [-h] [--method <get,post,>] [--url https://...]
              [--params params.json] [--call get_accounts] --keystore ks.json
              [--auth exch.auth]

Python Exchange CLI (pyexch)

optional arguments:
  -h, --help            show this help message and exit
  --method <get,post,>  rest http method (get<default>,post,put,delete)
  --url https://...     rest http url to perform actions upon
  --params params.json  json / json5 filename holding rest parameters / data
  --call get_accounts   call method in the default client
  --keystore ks.json    json / json5 filename where secrets are stored
                        (backup!)
  --auth exch.auth      the auth method to use from keystore.

NOTE: Must name either "--call" or "--url", but not both

Install from PIP

  1. Install: pip install pyexch
  2. Verify install: pyexch --help

Future Plans

  • Add GET and POST methods for Coinbase
  • Add OAuth2, API_v2 and API_v3 support for Coinbase
  • Tag a (beta) release to reduce the nead to use the HEAD
  • Release to PyPi for better CDN support
  • Add PUT and DELETE methods for Coinbase
  • Add Kraken as a supported Exchange
  • Add Binance as a supported Exchange (from USA ?!?)
  • Mask input on private data so it's is muted on screen