Skip to content

Commit

Permalink
Add asgi-logger dependency (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex authored May 15, 2022
1 parent 38eae61 commit a596903
Show file tree
Hide file tree
Showing 11 changed files with 326 additions and 128 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Uvicorn Worker

This package implements the `UvicornWorker` and `UvicornH11Worker`.
17 changes: 17 additions & 0 deletions docs/docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Uvicorn Worker

For full documentation visit [mkdocs.org](https://www.mkdocs.org).

## Commands

* `mkdocs new [dir-name]` - Create a new project.
* `mkdocs serve` - Start the live-reloading docs server.
* `mkdocs build` - Build the documentation site.
* `mkdocs -h` - Print help message and exit.

## Project layout

mkdocs.yml # The configuration file.
docs/
index.md # The documentation homepage.
... # Other markdown pages, images and other files.
Empty file added docs/docs/logging.md
Empty file.
Empty file added docs/docs/reloader.md
Empty file.
1 change: 1 addition & 0 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
site_name: Uvicorn Worker
8 changes: 8 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from fastapi import FastAPI

app = FastAPI()


@app.get("/")
def home():
...
194 changes: 188 additions & 6 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
[tool.poetry]
name = "uvicorn-worker"
version = "0.0.1"
description = ""
description = "Implementation of Uvicorn Worker for Gunicorn! 🚀"
authors = ["Marcelo Trylesinski <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.6"
python = "^3.8"
gunicorn = ">=20.1.0"
uvicorn = ">=0.12.0"
asgi-logger = "^0.1.0"

[tool.poetry.dev-dependencies]
pytest = "^5.2"
black = "^22.3.0"
flake8 = "^4.0.1"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down
Empty file added tests/__init__.py
Empty file.
Loading

0 comments on commit a596903

Please sign in to comment.