Basilisk CLI
Bootstrap Python CLI projects with best practices.
Installation
# Using uv (recommended)
uv pip install basiliskcli
# Using pip
pip install basiliskcli
Usage
Create a new project (interactive)
basiliskcli new my-cli-app --interactive
Create a new project (command line)
basiliskcli new my-cli-app \
--description "My awesome CLI app" \
--author "Your Name" \
--email "your.email@example.com" \
--python-version 3.10
Quick start
# Create project with defaults
basiliskcli new my-cli-app
# Navigate to the project
cd my-cli-app
# Run the CLI
make run-help
What's included
The generated project includes:
- Modern packaging with
pyproject.tomland hatchling - CLI framework - Typer (default) or argparse
- Testing - pytest with coverage support
- Linting - ruff for fast linting and formatting
- Type checking - mypy with strict mode
- Makefile - Common development tasks
Project structure
my-cli-app/
├── src/
│ └── my_cli_app/
│ ├── __init__.py
│ └── cli.py
├── tests/
│ ├── __init__.py
│ ├── conftest.py
│ ├── unit/
│ │ ├── __init__.py
│ │ └── test_cli.py
│ └── integration/
│ ├── __init__.py
│ └── test_integration.py
├── pyproject.toml
├── Makefile
├── README.md
├── LICENSE
└── .gitignore
Development commands
make init # Initialize development environment
make test # Run tests
make test-cov # Run tests with coverage
make lint # Run linter
make fmt # Format code
make typecheck # Run type checker
make check # Run all checks
make build # Build package
License
MIT License - see LICENSE for details.
Metadata
Release files for basiliskcli 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| basiliskcli-0.1.0.tar.gz | 73.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| basiliskcli-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 86.4 kB
Release files / basiliskcli-0.1.0.tar.gz
| Download URL | basiliskcli-0.1.0.tar.gz |
|---|---|
| Size | 73.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab2abc145702adb37dad93c085831197256420a0793132ae03a9afff7943ce64
|
|
BLAKE2b-256 checksum How to use checksums |
913c466ad5e4e88a4406b8ba547926b0366072b2d54449f1497f7fd200b3bce0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / basiliskcli-0.1.0-py3-none-any.whl
| Download URL | basiliskcli-0.1.0-py3-none-any.whl |
|---|---|
| Size | 13.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc801e89d00a34584e7ed8dca87593819b03a9242b5babd48d60e151e8a1dea6
|
|
BLAKE2b-256 checksum How to use checksums |
fc63ad9e9062db0bd5552f2be5bce02516ec46da9ec2d0e8c691d91c30538ec0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for basiliskcli 0.1.0
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.