semvec/pypi-packages huggingface dataset:
fastapi-authenticator 0.1.1
fastapi authenticator for google cloud tasks
License: MIT
Requires Python: >=3.6

# fastapi-authenticator

fastapi authenticator for google cloud tasks

## Installation

server:

~~~
pip3 install fastapi-authenticator
~~~

client:

~~~
pip3 install gcp-taskqueue
~~~

## Usage

server:

~~~python
from fastapi import Depends, FastAPI
from fastapi_authenticator import GoogleCloudTask, google_cloud_task, google_cloud_auth

app = FastAPI()

@app.post("/task1")
def task_handler(
    claims: dict = Depends(google_cloud_auth),
    task: GoogleCloudTask: Depends(google_cloud_task)
):
    ...
~~~

client:

~~~python
from gcp_taskqueue import TaskQueue

queue = TaskQueue(queue_id="your-queue-name")

queue.create_http_task("https://url", deadline=300)
~~~

## Deployment

`Service Account User` Role is needed for the client to generate oidc token.
gen-invoice 0.0.3
Template-based invoice generator
License: MIT
Requires Python: >=3.5
Keywords: invoice template html pdf

Template-based invoice generator
================================

This package provides flexible, modular invoice generation functionality based on the [Jinja template engine](http://jinja.pocoo.org/), with PDF generation provided by [electron-pdf](https://www.npmjs.com/package/electron-pdf) when available.

**Check out the [comprehensive documentation](https://docs.adamrehn.com/gen-invoice/) to view installation and usage instructions.**

Resources:

- **Documentation:** <https://docs.adamrehn.com/gen-invoice/>
- **GitHub repository:** <https://github.com/adamrehn/gen-invoice>
- **Package on PyPI:** <https://pypi.org/project/gen-invoice/>

## Legal

Copyright &copy; 2019, Adam Rehn. Licensed under the MIT License, see the file [LICENSE](https://github.com/adamrehn/gen-invoice/blob/master/LICENSE) for details.