A tool for creating Django Ninja projects
Project description
PyFJ
A tool for creating django-ninja projects, based on the template: django_ninja_template
Install
Recommended installation using pipx:
pipx install pyfj
You can also install using pip:
pip install pyfj
Or using poetry:
poetry add pyfj
Usage
After installation, you can use the following commands:
1. Create a new project
# Interactive mode
pyfj create
# Directly specify the name
pyfj create --name=myproject
2. Rename a project
# Interactive mode
pyfj rename
# Directly specify the names
pyfj rename --name=old_project_name --new_name=new_project_name
3. View help
pyfj --help
pyfj create --help
pyfj rename --help
Features
- Create new projects - Create a project from the Django Ninja template
- Rename projects - Rename an existing project, including file contents and directory names
Requirements
- Python 3.8+
- Git (only required for creating new projects)
Development
# Clone the repository
git clone https://github.com/olivetree123/pyfj.git
cd pyfj
# Install dependencies
poetry install
# Install in development mode
poetry install -e .
# Or directly run the test script
python test.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyfj-0.1.0.tar.gz.
File metadata
- Download URL: pyfj-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff4d1ddb2ca270b2e121c89f8522b807b9e4956a2a1282ff4d9576774ea8273a
|
|
| MD5 |
76bd6810f1cc3bf6b376e49155efdedd
|
|
| BLAKE2b-256 |
9038ca4185841b07035d37152056c3b368de8be75c4545dceb06d9d8da7f127e
|
Provenance
The following attestation bundles were made for pyfj-0.1.0.tar.gz:
Publisher:
python-publish.yml on olivetree123/pyfj
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyfj-0.1.0.tar.gz -
Subject digest:
ff4d1ddb2ca270b2e121c89f8522b807b9e4956a2a1282ff4d9576774ea8273a - Sigstore transparency entry: 193734766
- Sigstore integration time:
-
Permalink:
olivetree123/pyfj@d0454e853239bdfad62dfc9d13c303c3efc47a41 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/olivetree123
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@d0454e853239bdfad62dfc9d13c303c3efc47a41 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pyfj-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pyfj-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d764e74701fb8c6b5fa0fe8da21bb52be2050e7698104dcc0b37f6e36fc4f55f
|
|
| MD5 |
78a684080eede7b75f572a81de45202e
|
|
| BLAKE2b-256 |
582faeca486ba511c5d5c733e62f531a446db9117b2f0ddd16e16982123c0c80
|
Provenance
The following attestation bundles were made for pyfj-0.1.0-py3-none-any.whl:
Publisher:
python-publish.yml on olivetree123/pyfj
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyfj-0.1.0-py3-none-any.whl -
Subject digest:
d764e74701fb8c6b5fa0fe8da21bb52be2050e7698104dcc0b37f6e36fc4f55f - Sigstore transparency entry: 193734768
- Sigstore integration time:
-
Permalink:
olivetree123/pyfj@d0454e853239bdfad62dfc9d13c303c3efc47a41 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/olivetree123
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@d0454e853239bdfad62dfc9d13c303c3efc47a41 -
Trigger Event:
release
-
Statement type: