Skip to content
/ python-poetry Public template

Python template using poetry, FastAPI and SQLAlchemy

License

Notifications You must be signed in to change notification settings

jakub-k-slys/python-poetry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python template with Poetry, FastAPI and SQLAlchemy

The template sets up a coding environment for Python language. It uses poetry for package and dependency management.

The following template uses:

  • Poetry is the Python packaging and dependency management,
  • SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL,
  • FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.8+ based on standard Python type hints.

Running the main module

To run the main module simply issue:

poetry run main

Devcontainer

The project contains devcontainer configuration and can be easily run on GitHub Codespaces. To use devcontainer, install the VSCode extension Remote - Containers.

In addition to the primary container, an additional container supporting PostgreSQL is launched.