A FastAPI service for creating and managing Git repositories.
Project description
UV Devcontainer Template
This template is designed to streamline the setup of a Python development environment using the uv package manager on Debian Bookworm. It's equipped with a collection of tools and extensions specifically chosen to enhance the Python development workflow, from code writing to testing and deployment.
Features Overview
| Feature | Description |
|---|---|
| Operating System | Debian Bookworm, providing a stable foundation for development. |
| Package Management | uv, a lightweight and efficient package and environment manager. |
| Programming Language | Python, ready for development right out of the box. |
| Version Control | Git integrated for robust version control. |
| VSCode Extensions | A curated list of VSCode extensions installed, including essentials for Python development. |
| Testing Framework | Pytest configured to run tests from the tests directory, utilizing VSCode's test runner for ease of testing. |
Getting Started
- Clone and Open: Clone this repository and open it in VSCode. The project will prompt to reopen in a devcontainer.
- Dev Environment Initialization: The
uv synctask can be run manually, preparing and updating your development environment. - Rename the Project Directory: Rename the
/projectdirectory to match the name of your new project to get started. Update the project name in the pyproject.toml file as well.
Managing Dependencies
- Application Dependencies: Defined in
pyproject.toml. A frozen set of these dependencies is created and stored inuv.lockfor reproducible deployments.
Running Tests
Tests are run using VSCode's integrated test runner:
- Navigate to the testing sidebar in VSCode.
- You'll see your tests listed there. Test can be run directly from the UI.
Running the Application
VSCode's launch.json is configured to debug the currently open Python file, allowing you to run and debug any part of your project easily.
Note: You may need to tweak
launch.jsonfor specific project requirements, such as adding arguments or setting environment variables.
Quick Start
- Open
project/main.pyor any Python file you intend to run. - Use
F5or the green play button in the "Run and Debug" sidebar to start debugging.
Deployment
Deploy your application using the dependencies detailed in uv.lock to guarantee that your deployment mirrors the tested state of your application.
Contributing
We welcome contributions to improve the uv-devcontainer-template. Please follow the standard fork and pull request workflow. Make sure to add tests for new features and update the documentation as necessary.
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file repository_management_api-0.0.1.tar.gz.
File metadata
- Download URL: repository_management_api-0.0.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38977c498e95b82f53fd51d8734e29d7465c1b72ecb6c920621d9687eae11aaa
|
|
| MD5 |
f1f84ef1c88bd169a3f7e673890f2399
|
|
| BLAKE2b-256 |
ed6b20928945cf48495c1d180c8b7d39cacfaa53dc7ce5639e94c92271c63389
|
File details
Details for the file repository_management_api-0.0.1-py3-none-any.whl.
File metadata
- Download URL: repository_management_api-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b4ca87d1ecfa23551d724994735503e5c35e1b5a1a9ff6322a0fd217fcc9e2a
|
|
| MD5 |
c0633c3c7094e4edcf2f085ad6940149
|
|
| BLAKE2b-256 |
c2f47d17922b7a5297fbd06864ae89587ee530762a7fcfa4ac46f968a2358639
|