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.2.tar.gz (3.9 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.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyfj-0.1.2.tar.gz
  • Upload date:
  • Size: 3.9 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.2.tar.gz
Algorithm Hash digest
SHA256 0c307db2c6e65ec5496c012052049d95a95c889c805a74ceb7aca69e95c30475
MD5 bd0cacb90601aa957abb23831bfeb846
BLAKE2b-256 f8a7cf6b7cdd258c73b8c57488c7beaad6b0d7a972a472afa9bbb8d0efbe2529

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyfj-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2ba8f23339028178b189bd3fc40a5d3b6cbdf69aef466ad31f2b35100e770268
MD5 21845e27c68b0f6036c580e8063e5c6d
BLAKE2b-256 d1239d7e878d916bca72652477ac2dbde9ef9915f0e417e7441e850524ee395b

See more details on using hashes here.

Provenance

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