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.1.tar.gz (3.8 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.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file pyfj-0.1.1.tar.gz.

File metadata

  • Download URL: pyfj-0.1.1.tar.gz
  • Upload date:
  • Size: 3.8 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.1.tar.gz
Algorithm Hash digest
SHA256 ff15edf99972989a842fe5edbdc9c97b74356d02e466ffef9373a972715480e2
MD5 b082cbbaf5281629646f9b1eaa027581
BLAKE2b-256 7fb6ee814431cd8f16d231e0f496c8c7bf5c35a788aaf5d9e0bceda944f5edef

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfj-0.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: pyfj-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1a5b5f02cfd36772365ae9287414e07a207417e7c10737da3b717e08ac3d90ab
MD5 377226208a2c5693040818d0ecd3f424
BLAKE2b-256 372b3d55c841f363863fbe8c2e9a6122ed31266f052c496efdc5dc9c8a5e7684

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfj-0.1.1-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