Skip to main content

Auto Ninja

Overview

Auto Ninja is a Python library designed to streamline the setup of Django APIs by automatically generating the necessary files and configurations. With customizable options, Auto Ninja reduces boilerplate and accelerates the development process.

Features

  • Automatic generation of API structure in Django.
  • Creates service, utility, and main application files.
  • Dynamically generates endpoint and schema files for all models in installed Django applications.
  • Easy integration using command-line options with Typer.

Installation

To install Auto Ninja, make sure you have Python and pip installed, then execute:

pip install auto-ninja

Usage

To get started with Auto Ninja, simply run the script with the desired configuration options:

auto-ninja [OPTIONS]

Options

  • --title TEXT: The title of the application (default: "Auto Ninja").
  • --description TEXT: Description of the application (default: "Automatically generated API").

Example

Here's how you can use Auto Ninja to set up your API:

auto-ninja --title "My API" --description "This API is auto-generated by Auto Ninja"

How It Works

  1. Setup: Auto Ninja configures your Django environment and identifies installed applications.
  2. Template Application: It applies pre-defined templates to create API structure under each app.
  3. Dynamic File Generation: Automatically generates appropriate endpoint and schema files for each model detected in your apps.

Customization

Auto Ninja uses templates that can be located in your project. Custom templates can be supplied to adjust the way files are generated to better fit your project's needs.

Contributing

We welcome contributions to enhance Auto Ninja! If you're interested, please follow our contribution guidelines and submit a pull request on GitHub.

License

Auto Ninja is licensed under the MIT License. See LICENSE for more details.

Acknowledgements

Thanks to all contributors and the open-source community for their support and collaboration.


If you encounter any issues or have questions, please open an issue on GitHub or contact us.

Happy coding with Auto Ninja!

Metadata

Release files for auto-ninja 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for auto-ninja 1.0.2
File Size Uploaded Provenance Actions
auto_ninja-1.0.2.tar.gz 9.6 kB Without provenance Details for auto_ninja-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for auto-ninja 1.0.2
File Interpreter ABI Platform Actions
auto_ninja-1.0.2-py3-none-any.whl Python 3 none any Details for auto_ninja-1.0.2-py3-none-any.whl

Total release size: 21.3 kB

Release files / auto_ninja-1.0.2.tar.gz

Download URL auto_ninja-1.0.2.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4c4e87493517b61a389a11a7bcd778245a2db7893ee91d0858ee0a206295ba3a
BLAKE2b-256 checksum
How to use checksums
eeb66329e871716182dd8b865b1f552a58b15177d2b004c24e087031c26077df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / auto_ninja-1.0.2-py3-none-any.whl

Download URL auto_ninja-1.0.2-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
287531194f4b02f4429b9d2b65242876c0551c3007208c192995abbab3d81a4f
BLAKE2b-256 checksum
How to use checksums
dd6c0930c9e7e923e9db38e8cf8bb6390b269ad2fb244dd08bdbc61a0198f936
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Security for auto-ninja 1.0.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page