Skip to main content

aioconsole

Simple python library for creating async CLI applications
Explore the docs »

Getting Started · Basic Usage · License


Getting Started

aioconsole is available on PyPI. Simply install the package into your project environment with PIP:

pip install pyaioconsole

Usage Examples

import asyncio

from pyaioconsole.app import Application
from pyaioconsole.app import Settings

settings = Settings(
  APP_NAME="Example App",
  BRIEF="Short brief description",
  LONG_DESC="aioconsole library example application",
)

app = Application(settings)


@app.command(help="Say hello")
@app.argument("name", help="name")
async def hello(name: str):
  print(f"Hello, {name}!")


@app.command(help="Say bye")
@app.argument("name", help="name")
async def bye(name: str):
  print(f"Bye, {name}!")


async def main():
  await app.run()


if __name__ == "__main__":
  asyncio.run(main())

Metadata

Release files for pyaioconsole 0.1.1

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

Source distribution (sdist)

Source distribution for pyaioconsole 0.1.1
File Size Uploaded Provenance
pyaioconsole-0.1.1.tar.gz 4.2 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 9.6 kB

Release files / pyaioconsole-0.1.1.tar.gz

Download URL pyaioconsole-0.1.1.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a41e4bc6b788d74c1757835ecb26af7bae0729fa5fa57ed970cb9961622a7a11
BLAKE2b-256 checksum
How to use checksums
7254e19542d881e45d0cfab03e721910710d5990b2a460250cfcc5502b899582
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.7 Linux/6.12.0-1-cachyos

Release files / pyaioconsole-0.1.1-py3-none-any.whl

Download URL pyaioconsole-0.1.1-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3fea43d90e7657ae25cfd1dcb07efe2007cfdc638af67f004bb387bd690f3d35
BLAKE2b-256 checksum
How to use checksums
c5d45a1cdd10e3f86740b7d20000358232723a06517227c46dcc3fab1aabb635
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.7 Linux/6.12.0-1-cachyos

Security for pyaioconsole 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 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