Skip to main content

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

  1. Create new projects - Create a project from the Django Ninja template
  2. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyfj-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyfj-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

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

Hashes for pyfj-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ff4d1ddb2ca270b2e121c89f8522b807b9e4956a2a1282ff4d9576774ea8273a
MD5 76bd6810f1cc3bf6b376e49155efdedd
BLAKE2b-256 9038ca4185841b07035d37152056c3b368de8be75c4545dceb06d9d8da7f127e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfj-0.1.0.tar.gz:

Publisher: python-publish.yml on olivetree123/pyfj

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for pyfj-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d764e74701fb8c6b5fa0fe8da21bb52be2050e7698104dcc0b37f6e36fc4f55f
MD5 78a684080eede7b75f572a81de45202e
BLAKE2b-256 582faeca486ba511c5d5c733e62f531a446db9117b2f0ddd16e16982123c0c80

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfj-0.1.0-py3-none-any.whl:

Publisher: python-publish.yml on olivetree123/pyfj

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page