This release is a pre-release and may not be stable for production use.
myfy-commands
CLI commands module for the myfy framework.
Installation
pip install myfy-commands
Usage
from myfy.core import Application
from myfy.commands import CliModule, cli
@cli.command()
async def seed_users(user_service: UserService, count: int = 10):
"""Seed the database with test users."""
for i in range(count):
await user_service.create(f"user{i}@example.com")
app = Application()
app.add_module(CliModule())
Run commands with:
myfy app seed-users --count 20
Command Groups
from myfy.commands import cli
db = cli.group("db")
@db.command()
async def seed(db: Database):
"""Seed the database."""
await db.seed()
@db.command()
async def reset(db: Database, force: bool = False):
"""Reset the database."""
if force:
await db.reset()
Run grouped commands:
myfy app db:seed
myfy app db:reset --force
Metadata
Release files for myfy-commands 0.1.2a94
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 | Actions |
|---|---|---|---|---|
| myfy_commands-0.1.2a94.tar.gz | 14.8 kB | With provenance | Details for myfy_commands-0.1.2a94.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| myfy_commands-0.1.2a94-py3-none-any.whl | Python 3 | none | any | Details for myfy_commands-0.1.2a94-py3-none-any.whl |
Total release size: 27.9 kB
Release files / myfy_commands-0.1.2a94.tar.gz
| Download URL | myfy_commands-0.1.2a94.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f2df39c4e86afced0b506d29f35c76837af75e8627d848f434dfcc334cafb8b
|
|
BLAKE2b-256 checksum How to use checksums |
7f514699dbf3d6d15d4a85786a2d7f8216192209b2d6d26f725fdab9a0f36c91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 11, 2026.
Transparency logRelease files / myfy_commands-0.1.2a94-py3-none-any.whl
| Download URL | myfy_commands-0.1.2a94-py3-none-any.whl |
|---|---|
| Size | 13.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
51da99e95d13418abd3a7ae2944538a5954be41a3a5b6916732a8fab18f8c2c8
|
|
BLAKE2b-256 checksum How to use checksums |
068046fc2d1c6e0037b2b0ff7dcd5f923d3a0249c79ccf5a8f8ddb19de66563a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 11, 2026.
Transparency logSecurity for myfy-commands 0.1.2a94
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for myfy_commands-0.1.2a94.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 11, 2026.
Transparency logA 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.