CLIdat
CLIdat is a tool for inspecting Data from Codat.
The Command Line Interface itself is written with Click, whilst the output of the different commands is passed to a TUI from the Textual package.
I work in support at Codat, and have built this tool as a personal project to help with my day-job. This isn't an officially supported product.
Installation
CLIdat is distributed via the Python Package Index (PyPI). We reccomend installing it inside a virtual environment
(venv) user@host:~$ pip install clidat
Thanks to Textual, this software is cross-platform and should work well on Windows, Linux and MacOS.
Quick Start
(venv) user@host:~$ clidat auth
Your Codat API Key:
(venv) user@host:~$ clidat get-suppliers -id 2e14de3b-e2cf-4745-af24-a9a082b4c466
Docs
To see a list of all avaliable commands run:
(venv) user@host:~$ run clidat --help
auth
get-account
get-account-transaction
get-account-transactions
...
To get details on a particular command, just append the --help flag onto the end of the command, for example:
(venv) user@host:~$ clidat get-payment --help
Options:
--payment TEXT [required]
-id, --company-id TEXT [required]
-j, --json View plain JSON response
--help Show this message and exit.
Release files for clidat 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| clidat-0.1.2.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| clidat-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.4 kB
Release files / clidat-0.1.2.tar.gz
| Download URL | clidat-0.1.2.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
915d2e0ccee4aca78c41dc8ae54a7072c3760ab21c8367890555a092690ac6c9
|
|
BLAKE2b-256 checksum How to use checksums |
9d4c48bbfdd8ba59821dca1cfec6b9ed4c86cee51407ccda9f455bcff660dd07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.10.4 Darwin/21.1.0
|
Release files / clidat-0.1.2-py3-none-any.whl
| Download URL | clidat-0.1.2-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c818169f4ed105000874b92fcea5ceddfe20aeb7858431e86d93466127488cb0
|
|
BLAKE2b-256 checksum How to use checksums |
f3cdf38ffb5930ad9f0b1d7c43b401a509ef01df12a8e23c41d71f15563592d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.10.4 Darwin/21.1.0
|