Skip to main content

A utility for verifying JWTs issued by AWS Cognito.

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

  1. Clone and Open: Clone this repository and open it in VSCode. The project will prompt to reopen in a devcontainer.
  2. Dev Environment Initialization: The uv sync task can be run manually, preparing and updating your development environment.
  3. Rename the Project Directory: Rename the /project directory 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 in uv.lock for reproducible deployments.

Running Tests

Tests are run using VSCode's integrated test runner:

  1. Navigate to the testing sidebar in VSCode.
  2. 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.json for specific project requirements, such as adding arguments or setting environment variables.

Quick Start

  • Open project/main.py or any Python file you intend to run.
  • Use F5 or 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cognito_jwt_verifier-0.0.1.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cognito_jwt_verifier-0.0.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file cognito_jwt_verifier-0.0.1.tar.gz.

File metadata

  • Download URL: cognito_jwt_verifier-0.0.1.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for cognito_jwt_verifier-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8913e31e008a04dd7d2fc783e364f9e72867cf10f32a5e62a211ca02cc97f4dc
MD5 e8504b2d0dcb5ab2af6e1cf5b77e5dbd
BLAKE2b-256 7852a2c6157ae2dfc62fc7274e8d5fc07174b3bfb2a6cf0803fa322dcae75b78

See more details on using hashes here.

File details

Details for the file cognito_jwt_verifier-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for cognito_jwt_verifier-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 962505736eb1ed88ab4375d472380afdf2d88b3de4c3e4695bd1060d37f88512
MD5 0a714175c759f8a3ace5ea5261070ad1
BLAKE2b-256 9db12fb1e27a85616e71b5962ca5df6b2cf9b6810bca7454d915817852370957

See more details on using hashes here.

Supported by

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