Fastgen

Latest version: v0.3.5

Safety actively analyzes 623343 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.3.5

A new command was added: `g`
Options
`router`
generates a new router file at `app\api\routers` or specify your own path with the `--path` option
`schema`
generates a new pydantic schema file at `app\api\schemas` or specify your own path with the `--path` option
`model`
generates a new model file at `app\api\schemas` or specify your own path with the `--path` option.
the type of the model is determined with the `--model` option, choices are ` sqlmodel, sqlalchemy`

NOTE❗: all the paths provided to the `--path` option must be relative to the current working directory

Change the files to directories
the `routers.py`, `schemas.py`, and `models.py` now became their own separate directories to accommodate the new `g` command

Nicer User experience
<img width="635" alt="image" src="https://user-images.githubusercontent.com/89863279/207876070-5dca13a2-0343-494a-bb19-0fef8778aafa.png">

0.2.5

added support for ORMs

0.2.3

Poetry Support was added

0.1.3

added functionality for pip-based projects

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.