Birchrest

Latest version: v1.1.0

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

Scan your dependencies

1.1.0

What's Changed
* Updated BirchRestTestCase class with more assert methods. by alexandengstrom in https://github.com/alexandengstrom/birchrest/pull/3
* Implemend more Validation constraints. by alexandengstrom in https://github.com/alexandengstrom/birchrest/pull/4
* Automatic conversions to dataclass for queries, params and body by alexandengstrom in https://github.com/alexandengstrom/birchrest/pull/6
* Implemented support for generating OpenAPI specs. by alexandengstrom in https://github.com/alexandengstrom/birchrest/pull/7


**Full Changelog**: https://github.com/alexandengstrom/birchrest/compare/1.0.0...1.1.0

1.0.0

This is the first official release of **BirchRest**, a simple framework for building RESTful APIs with minimal setup. Version 1.0.0 includes the following core features:
- **Controller-based API structure**: Use controllers and decorators to define routes.
- **Data validation**: Support for validating request body, queries, and URL parameters using Python dataclasses.
- **Middleware support**: Easily add middleware for tasks like logging, CORS, and rate-limiting.
- **Authentication**: Protect routes using custom authentication handlers.
- **Error handling**: Built-in HTTP exceptions like NotFound, BadRequest, Unauthorized and others are automatically converted to appropriate responses.
- **Command-line interface (CLI)**:
- birch init to initialize a new project.
- birch serve to start the server.
- Additional commands for running tests (test), type checking (typecheck), and linting (lint).
- **Unit testing support**: Tools for easily testing controllers, middleware, and other components.

What's Changed
* Migrated project to be async. by alexandengstrom in https://github.com/alexandengstrom/birchrest/pull/1
* Implement route inheritage by alexandengstrom in https://github.com/alexandengstrom/birchrest/pull/2

New Contributors
* alexandengstrom made their first contribution in https://github.com/alexandengstrom/birchrest/pull/1

**Full Changelog**: https://github.com/alexandengstrom/birchrest/commits/1.0.0

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.