Ellar

Latest version: v0.7.6

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

Scan your dependencies

Page 6 of 8

0.3.6

What's Changed
* Added doc on rate limiting by eadwinCode in https://github.com/eadwinCode/ellar/pull/74
* Guard Documentation by eadwinCode in https://github.com/eadwinCode/ellar/pull/64
* Dynamic Setup Fix by eadwinCode in https://github.com/eadwinCode/ellar/pull/75
* Versioning Documentation by eadwinCode in https://github.com/eadwinCode/ellar/pull/79
* Update python-multipart requirement from <0.0.6,>=0.0.5 to >=0.0.5,<0.0.7 by dependabot in https://github.com/eadwinCode/ellar/pull/66
* Bump types-ujson from 5.7.0.0 to 5.7.0.1 by dependabot in https://github.com/eadwinCode/ellar/pull/68
* Testing Documentation by eadwinCode in https://github.com/eadwinCode/ellar/pull/80
* Starlette Upgrade by eadwinCode in https://github.com/eadwinCode/ellar/pull/81


**Full Changelog**: https://github.com/eadwinCode/ellar/compare/0.3.4...0.3.6

0.3.4

What's Changed
* Caching Featuring by eadwinCode in https://github.com/eadwinCode/ellar/pull/65
* Cache attributes update by eadwinCode in https://github.com/eadwinCode/ellar/pull/71
* Module Setup Feature by eadwinCode in https://github.com/eadwinCode/ellar/pull/73


**Full Changelog**: https://github.com/eadwinCode/ellar/compare/0.3.2...0.3.4

0.3.2

What's Changed
* fix itsdangerous bug in session middleware by eadwinCode in https://github.com/eadwinCode/ellar/pull/63


**Full Changelog**: https://github.com/eadwinCode/ellar/compare/0.3.0...0.3.2

0.3.0

What's Changed
* Bump black from 22.8.0 to 22.12.0 by dependabot in https://github.com/eadwinCode/ellar/pull/50
* Bump types-ujson from 0.1.1 to 5.6.0.0 by dependabot in https://github.com/eadwinCode/ellar/pull/49
* Update typer requirement from <0.7.0,>=0.6.1 to >=0.6.1,<0.8.0 by dependabot in https://github.com/eadwinCode/ellar/pull/40
* Removed ASGI args from contextvar by eadwinCode in https://github.com/eadwinCode/ellar/pull/53
* Document updates Jan 2023 by eadwinCode in https://github.com/eadwinCode/ellar/pull/54
* Injectable Class should be resolved at runtime without errors by eadwinCode in https://github.com/eadwinCode/ellar/pull/60
* More Doc Updates by eadwinCode in https://github.com/eadwinCode/ellar/pull/55
* Guards Refactor by eadwinCode in https://github.com/eadwinCode/ellar/pull/59
* restored commented tests by eadwinCode in https://github.com/eadwinCode/ellar/pull/61
* Bump starlette from 0.21.0 to 0.23.1 by dependabot in https://github.com/eadwinCode/ellar/pull/48
* Bump types-ujson from 5.6.0.0 to 5.7.0.0 by dependabot in https://github.com/eadwinCode/ellar/pull/58
* Bump types-dataclasses from 0.1.7 to 0.6.6 by dependabot in https://github.com/eadwinCode/ellar/pull/57
* Update flake8 requirement from <4.0.0,>=3.8.3 to >=3.8.3,<7.0.0 by dependabot in https://github.com/eadwinCode/ellar/pull/56


**Full Changelog**: https://github.com/eadwinCode/ellar/compare/0.2.8...0.3.0

0.2.8

What's Changed
* Separated `IHostContext` from `IExecutionContext` and added factory class that manages their creation by eadwinCode in https://github.com/eadwinCode/ellar/pull/51
* Made Guards classes Injectable by eadwinCode in https://github.com/eadwinCode/ellar/pull/52
* Switched from `thread.local` to `ContextVar` to manage `request_scopes` properly by eadwinCode in https://github.com/eadwinCode/ellar/pull/52
* Added Documentation for `ExecutionContext`.
* Increased test coverage.

**Full Changelog**: https://github.com/eadwinCode/ellar/compare/0.2.6...0.2.8

0.2.6

What's Changed
* Documentation Updates by eadwinCode in https://github.com/eadwinCode/ellar/pull/43
* Reverted building routes from a single list to a list of routers with a well-managed route not found cross routes eadwinCode in https://github.com/eadwinCode/ellar/pull/43
* Python 3.11 Support by eadwinCode in https://github.com/eadwinCode/ellar/pull/44
* Changed ASCII drawing to the image by eadwinCode in https://github.com/eadwinCode/ellar/pull/45
* Added an `IExceptionHandler` contract for defining custom exception handler by eadwinCode in https://github.com/eadwinCode/ellar/pull/46. [Doc](https://eadwincode.github.io/ellar/overview/exception_handling/)
* Dropped use for `BaseHTTPMiddleware` from Starlette and added a `FunctionBasedMiddleware` by eadwinCode in https://github.com/eadwinCode/ellar/pull/47
* Added `file` decorator for `FileResponseModel` and `StreamingResponseModel` by eadwinCode in https://github.com/eadwinCode/ellar/pull/47

python
import asyncio
from ellar.common import ModuleRouter, file

async def slow_numbers(minimum: int, maximum: int):
yield ("<html><body><ul>")
for number in range(minimum, maximum + 1):
yield "<li>%d</li>" % number
await asyncio.sleep(0.01)
yield ("</ul></body></html>")

router = ModuleRouter('/file')

router.get()
file(media_type='text/html')
def file_download():
return {'path': 'path/to/file.html', 'filename': 'code.html', 'content_disposition_type': 'attachment'}

router.get('/stream')
file(media_type='text/html', streaming=True)
def file_stream():
return slow_numbers(1, 4)



**Full Changelog**: https://github.com/eadwinCode/ellar/compare/0.2.4...0.2.6

Page 6 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.