Skip to main content

A Python module that creates a Python environment and generates FastAPI boilerplate code.

Project description

Your Module

A Python module that creates a Python environment and generates FastAPI boilerplate code.

This Module can even run your project as soon as it creates entire environment Make sure to use other parameters.

Installation

You can install the module using pip:

Usage

To use the module, import it and call the createFastApiEnvironment function:

import fastapienv

# for creating just python environment and fast api boiler plate code
createFastApiEnvironment('{{your_prefered_env_name}}')

# here is the example for all the options provided in my module
createFastApiEnvironment("myenv", activate_env=True, start_server=True, server_host="localhost", server_port=8000, server_reload=True)

# activate_env will activate the environment after creating it.
# start_server will start the fast api server using uvicorn.
# server_host will be used to give the ip address or host name.
# server_port will be used to change the port number at which your fast api server should run
# server_reload will be used for dynamic reloading of your server if any changes happens to your files.

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

fastapienv-1.0.1.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file fastapienv-1.0.1.tar.gz.

File metadata

  • Download URL: fastapienv-1.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.0

File hashes

Hashes for fastapienv-1.0.1.tar.gz
Algorithm Hash digest
SHA256 4b6cfae9cdfb0d5ab8a5de74743bb485b648180d2e027f2585d01aaf8840ff6f
MD5 0d8c41c49e8a077c549ae51aed33f532
BLAKE2b-256 892693f2e69875425c894242ce6964fbad5725bf4972e8daa15c98008bc7caea

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page