Skip to main content

ApiCli

ApiCli is a python library that allow using a common code-base to create a REST API and a CLI that can interact with your API.

TODOs

  • Create endpoint from route defined using decorators
  • Propose at least bearer authentication from API side
  • Expose API endpoints to manage authentication when enabled
  • Define commands to authenticate from CLI

Contribute

Install project dependencies using pipenv. This will install apicli in editable mode from local folder.

pipenv install

If you want to test generated openapi documentation, you can use swagger-ui.

  • If swagger-ui/ submodule is empty, init submodule using this command
git submodule update --init
  • Then in swagger-ui/ folder, install dependencies and run web interface with command
npm run dev

By default, swagger-ui will be served at http://localhost:3200

  • If you want UI to automatically open the specs from your local apicli server, edit swagger-ui/dev-helpers/index.html

Metadata

Release files for apicli 0.0.4

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

Source distribution (sdist)

Source distribution for apicli 0.0.4
File Size Uploaded Provenance Actions
apicli-0.0.4.tar.gz 3.8 kB Without provenance Details for apicli-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for apicli 0.0.4
File Interpreter ABI Platform Actions
apicli-0.0.4-py3-none-any.whl Python 3 none any Details for apicli-0.0.4-py3-none-any.whl

Total release size: 8.6 kB

Release files / apicli-0.0.4.tar.gz

Download URL apicli-0.0.4.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5891ae90697fb5bd847fca13ec567b864f6dd8a364bd0972318f2fbf14c8ad2b
BLAKE2b-256 checksum
How to use checksums
4b82dea99fc4262098a6bb808ccf0ada910459c662ea7117bc9f4ff4107da712
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

Release files / apicli-0.0.4-py3-none-any.whl

Download URL apicli-0.0.4-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f6362cb25af2b69fc54e10e5959d1128cb02883b0b5d52b99722b490eb32dc51
BLAKE2b-256 checksum
How to use checksums
e3ccb085567f89849cf3e5bb2bb340d32346b1498ba6e5a1c9666e2d93f1fe72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

Security for apicli 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files No provenance

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