zentra-api


Namezentra-api JSON
Version 0.1.14 PyPI version JSON
download
home_pagehttps://zentra.achronus.dev/api
SummaryA CLI tool for building FastAPI apps faster.
upload_time2024-09-27 21:48:30
maintainerNone
docs_urlNone
authorRyan Partridge
requires_python<4.0,>=3.12
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
![Logo](assets/logo.jpg)

[![codecov](https://codecov.io/github/Achronus/zentra-api/graph/badge.svg?token=Y2G1RM4WFO)](https://codecov.io/github/Achronus/zentra-api)
![Python Version](https://img.shields.io/pypi/pyversions/zentra-api)
![License](https://img.shields.io/github/license/Achronus/zentra-api)
![Issues](https://img.shields.io/github/issues/Achronus/zentra-api)
![Last Commit](https://img.shields.io/github/last-commit/Achronus/zentra-api)


Zentra API, your python package for building [FastAPI](https://fastapi.tiangolo.com/) projects faster.

Found on:

- [PyPi](https://pypi.org/project/zentra-api)
- [GitHub](https://github.com/Achronus/zentra-api)

# Zentra API

Streamline your workflow, automate repetitive tasks, and generate high-quality code in minutes. Whether you're a seasoned developer or just starting out, Zentra API empowers you to build robust, scalable, and production-ready [FastAPI](https://fastapi.tiangolo.com/) applications with unparalleled speed and efficiency. 

Say goodbye to the hassles of manual setup and configuration, and say hello to a smoother, more productive coding experience.

Zentra API isn't just about speed - it's about enhancing your entire development process. Its intuitive CLI simplifies project creation, allowing you to focus on what truly matters: crafting exceptional APIs. 

With built-in templates, automated code generation, and seamless integration with popular tools and frameworks, Zentra API ensures your projects are not only fast to build but also maintain the highest standards of quality and performance. 

# What's Great About It?

Our goal with Zentra API is to provide a suite of useful CLI commands and package features that improve the efficiency of building FastAPI apps. API development doesn't need to be a long winded process!

Here's some of the commands you can expect to see:

- [X] `init` - a quick way to initialize projects with a predefined template so you can dive straight into route building. You'll need to run this first!
- [ ] `add-table` - adds a SQL Base class template to the project, automatically configuring it for use in routes
- [ ] `add-route` - adds a new route to the project with a starter template, automatically linking it to the FastAPI app
- [ ] `build` - creates a production ready version of your app with docker files
- [X] `new_key` - a quick way to generate a new authentication secret key

We've also added a few extra features to make development a breeze:

- [X] `Route outputs` - routes include a standardized template for API responses that follow best practices making your APIs a joy to work with
- [X] `Response models` - utilities for quickly building response models from status codes that can be added to your routes in seconds

And so much more...

# Getting Started

To get started, install the `API` package with [Poetry](https://python-poetry.org/):

```bash
pip install zentra-api poetry
```

We use Poetry for managing our project packages and using custom commands, such as `run-dev` for the development environment.

Then create a new project with:

```bash
zentra-api init <project_name>
```

With one command you'll have a working app in minutes with:

- Built-in user authentication with JWT token protection
- Preconfigured CORs middleware
- A [SQLite](https://www.sqlite.org/) database configured with [Alembic](https://alembic.sqlalchemy.org/en/latest/) and [SQLAlchemy](https://www.sqlalchemy.org/)
- Built-in templated route responses following best practices
- A simple folder structure to make project navigation a breeze
- Prebuilt [Pytests](https://docs.pytest.org/en/stable/) so you can focus on your own code
- And, access to our package filled with other goodies

But that's not all! We've also got plans to add:

- Rate limiting with [SlowAPI](https://github.com/laurents/slowapi)
- API key configuration
- An admin interface for easily navigating your database
- Email based password recovery
- A [`build`](#) command to go from development to production in minutes
- And so much more...

Read more about it in our [documentation](https://zentra.achronus.dev/api).

## Zentra Project

Zentra API is part of the `Zentra` project. You can read more about it on [GitHub](https://github.com/Achronus/zentra).


            

Raw data

            {
    "_id": null,
    "home_page": "https://zentra.achronus.dev/api",
    "name": "zentra-api",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.12",
    "maintainer_email": null,
    "keywords": null,
    "author": "Ryan Partridge",
    "author_email": "rpartridge101@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ef/b8/6ae10e74504dd9cd2792d869ea55a245cb38ca763cc15e5b6d590f5a5485/zentra_api-0.1.14.tar.gz",
    "platform": null,
    "description": "\n![Logo](assets/logo.jpg)\n\n[![codecov](https://codecov.io/github/Achronus/zentra-api/graph/badge.svg?token=Y2G1RM4WFO)](https://codecov.io/github/Achronus/zentra-api)\n![Python Version](https://img.shields.io/pypi/pyversions/zentra-api)\n![License](https://img.shields.io/github/license/Achronus/zentra-api)\n![Issues](https://img.shields.io/github/issues/Achronus/zentra-api)\n![Last Commit](https://img.shields.io/github/last-commit/Achronus/zentra-api)\n\n\nZentra API, your python package for building [FastAPI](https://fastapi.tiangolo.com/) projects faster.\n\nFound on:\n\n- [PyPi](https://pypi.org/project/zentra-api)\n- [GitHub](https://github.com/Achronus/zentra-api)\n\n# Zentra API\n\nStreamline your workflow, automate repetitive tasks, and generate high-quality code in minutes. Whether you're a seasoned developer or just starting out, Zentra API empowers you to build robust, scalable, and production-ready [FastAPI](https://fastapi.tiangolo.com/) applications with unparalleled speed and efficiency. \n\nSay goodbye to the hassles of manual setup and configuration, and say hello to a smoother, more productive coding experience.\n\nZentra API isn't just about speed - it's about enhancing your entire development process. Its intuitive CLI simplifies project creation, allowing you to focus on what truly matters: crafting exceptional APIs. \n\nWith built-in templates, automated code generation, and seamless integration with popular tools and frameworks, Zentra API ensures your projects are not only fast to build but also maintain the highest standards of quality and performance. \n\n# What's Great About It?\n\nOur goal with Zentra API is to provide a suite of useful CLI commands and package features that improve the efficiency of building FastAPI apps. API development doesn't need to be a long winded process!\n\nHere's some of the commands you can expect to see:\n\n- [X] `init` - a quick way to initialize projects with a predefined template so you can dive straight into route building. You'll need to run this first!\n- [ ] `add-table` - adds a SQL Base class template to the project, automatically configuring it for use in routes\n- [ ] `add-route` - adds a new route to the project with a starter template, automatically linking it to the FastAPI app\n- [ ] `build` - creates a production ready version of your app with docker files\n- [X] `new_key` - a quick way to generate a new authentication secret key\n\nWe've also added a few extra features to make development a breeze:\n\n- [X] `Route outputs` - routes include a standardized template for API responses that follow best practices making your APIs a joy to work with\n- [X] `Response models` - utilities for quickly building response models from status codes that can be added to your routes in seconds\n\nAnd so much more...\n\n# Getting Started\n\nTo get started, install the `API` package with [Poetry](https://python-poetry.org/):\n\n```bash\npip install zentra-api poetry\n```\n\nWe use Poetry for managing our project packages and using custom commands, such as `run-dev` for the development environment.\n\nThen create a new project with:\n\n```bash\nzentra-api init <project_name>\n```\n\nWith one command you'll have a working app in minutes with:\n\n- Built-in user authentication with JWT token protection\n- Preconfigured CORs middleware\n- A [SQLite](https://www.sqlite.org/) database configured with [Alembic](https://alembic.sqlalchemy.org/en/latest/) and [SQLAlchemy](https://www.sqlalchemy.org/)\n- Built-in templated route responses following best practices\n- A simple folder structure to make project navigation a breeze\n- Prebuilt [Pytests](https://docs.pytest.org/en/stable/) so you can focus on your own code\n- And, access to our package filled with other goodies\n\nBut that's not all! We've also got plans to add:\n\n- Rate limiting with [SlowAPI](https://github.com/laurents/slowapi)\n- API key configuration\n- An admin interface for easily navigating your database\n- Email based password recovery\n- A [`build`](#) command to go from development to production in minutes\n- And so much more...\n\nRead more about it in our [documentation](https://zentra.achronus.dev/api).\n\n## Zentra Project\n\nZentra API is part of the `Zentra` project. You can read more about it on [GitHub](https://github.com/Achronus/zentra).\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A CLI tool for building FastAPI apps faster.",
    "version": "0.1.14",
    "project_urls": {
        "Documentation": "https://zentra.achronus.dev/api",
        "Homepage": "https://zentra.achronus.dev/api",
        "Repository": "https://github.com/Achronus/zentra-api",
        "issues": "https://github.com/Achronus/zentra-api/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5701ead61c8c1307f240f1b6ef4a1e23ba51c61a94d5d731c5785600aaa3c72b",
                "md5": "835755232295816840f85ef8bcbb51c6",
                "sha256": "467ae40f7e4b77d74996e7609b714d7b037232911094827debafcd66b081e6ad"
            },
            "downloads": -1,
            "filename": "zentra_api-0.1.14-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "835755232295816840f85ef8bcbb51c6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.12",
            "size": 62947,
            "upload_time": "2024-09-27T21:48:29",
            "upload_time_iso_8601": "2024-09-27T21:48:29.324001Z",
            "url": "https://files.pythonhosted.org/packages/57/01/ead61c8c1307f240f1b6ef4a1e23ba51c61a94d5d731c5785600aaa3c72b/zentra_api-0.1.14-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "efb86ae10e74504dd9cd2792d869ea55a245cb38ca763cc15e5b6d590f5a5485",
                "md5": "55d605ee4aaca8ecc5a07d8cf7a19703",
                "sha256": "7a26020d43242807f59700cdb2ea161c556092af7050e6213cd5cf6a43fda789"
            },
            "downloads": -1,
            "filename": "zentra_api-0.1.14.tar.gz",
            "has_sig": false,
            "md5_digest": "55d605ee4aaca8ecc5a07d8cf7a19703",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.12",
            "size": 45823,
            "upload_time": "2024-09-27T21:48:30",
            "upload_time_iso_8601": "2024-09-27T21:48:30.908522Z",
            "url": "https://files.pythonhosted.org/packages/ef/b8/6ae10e74504dd9cd2792d869ea55a245cb38ca763cc15e5b6d590f5a5485/zentra_api-0.1.14.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-27 21:48:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Achronus",
    "github_project": "zentra-api",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "zentra-api"
}
        
Elapsed time: 0.67688s