semvec/pypi-packages huggingface dataset:
twittpost 0.0.1
A library that search and do posts in Twitter.
Requires Python: >=3.7
Keywords: python,twitter,posts

# twittpost
![license](https://img.shields.io/github/license/vLeeH/twitterpost.svg) ![python](https://img.shields.io/badge/Python-3.7%20%7C%203.8-blue.svg)
A Twitter library for the Twitter API that search and do posts in Twitter.

## Installation
**Windows**
```
py -3.8 -m pip install twittpost
```

**Linux**
```
python3.8 -m pip install twittpost
```

## Getting Started
A **quick** and **easy** post and searching in twitter example:
```python
    from twittpost import Twitter
    import pprint

    api_key = API_KEY
    secret_key = SECRET_KEY
    token_key = TOKEN_KEY
    token_secret = TOKEN_SECRET

    twitter = Twitter(api_key, secret_key, token_key, token_secret)

    resp = twitter.tweet('test')
    pprint.pprint(resp)

    searching = twitter.search('brasil', 'pt')

    for result in searching:
        print(f"{result['user']['screen_name']}:")
        print(result['text'])
        print('\n')
```
flask-oidc-verifier 0.0.8
Run oidc token verification
Requires Python: >=3.8

# Flask OIDC Verifier

[![PyPI version](https://badge.fury.io/py/flask-oidc-verifier.svg)](https://badge.fury.io/py/flask-oidc-verifier)

Implements implicit OIDC verification for Flask, similar to [drf-oidc-auth](https://github.com/ByteInternet/drf-oidc-auth) in Django.

## Quickstart

Assumptions: tokens are passed via headers of the form `Authorization: Bearer $YOUR_TOKEN`. These can be changed in the settings

1. Install with `pip install flask-oidc-verifier`
2. Add the following to your flask config (at a minimum, see the Config section for more options). Replace the values with relevant config values:

```python
   class Config():
   ...
   OIDC_ENDPOINT = "https://my.oidc.endpoint"
   OIDC_AUDIENCES = ("MY_AUDIENCES", )
   ...

```

3. Initialize the authentication provider:

```python
from flask import Flask
from flask_oidc_verifier.decorators import JWTVerification
from typing import Dict, Any


app = Flask(__name__)


# Define a callback for what to do with the verified JWT contents
def on_verified(d: Dict[Any, Any]) -> None:
    # get_or_create_user
    ...

auth = auth.init_app(app, on_verified=on_verified)
```

4. Use as a decorator:

```python
@app.route("/protected/<path:filename>")
@auth.jwt_required
def protected_file(filename: str) -> None:
    return send_from_directory("protected", filename)
```

## Config

TODO
twitterpost 0.0.1
A Twitter library that search and do posts.
Requires Python: >=3.7
Keywords: python,twitter,posts

twitterpost 
=============

.. image:: https://img.shields.io/badge/Python-3.7%20%7C%203.8-blue.svg
    :target: https://www.python.org

.. image:: https://img.shields.io/github/license/vLeeH/twitterpost.svg
    :target: LICENSE

A Twitter library for the Twitter API that search and do posts in Twitter.

Installation 
---------------------------

**Windows**

.. code:: sh

    py -3.8 -m pip install twitterpost

**Linux**

.. code:: sh

    python3.8 -m pip install twitterpost

Getting Started
---------------------------

A quick and **easy** post and searching in twitter example: 

.. code:: py

    from twitterpost import Twitter
    import pprint

    api_key = API_KEY
    secret_key = SECRET_KEY
    token_key = TOKEN_KEY
    token_secret = TOKEN_SECRET

    twitter = Twitter(api_key, secret_key, token_key, token_secret)

    resp = twitter.tweet('test')
    pprint.pprint(resp)

    searching = twitter.search('brasil', 'pt')

    for result in searching:
        print(f"{result['user']['screen_name']}:")
        print(result['text'])
        print('\n')