semvec/pypi-packages huggingface dataset:
python-telegram-auth 0.0.1
Implementation of Telegram authorization for websites
License: MIT
Keywords: python telegram auth login

|PyPI| |license|

python-telegram-auth
====================

Implementation of Telegram authorization for websites

Usage
~~~~~

.. code:: bash

    $ pip install python-telegram-auth

.. code:: python

    from python_telegram_auth import verify_auth_data
    is_ok = verify_auth_data(dict_of_GET_params, bot_token)

Contribution
~~~~~~~~~~~~

Feel free to contribute. Just do RP.


.. |PyPI| image:: https://img.shields.io/pypi/v/python-telegram-auth.svg
   :target: https://pypi.python.org/pypi/python-telegram-auth
.. |license| image:: https://img.shields.io/apm/l/vim-mode.svg
   :target: https://github.com/alxpy/python-telegram-auth/blob/master/LICENSE
CloeePy-Boto 0.0.0
Boto Plugin for CloeePy Framework
License: MIT
Keywords: mini framework cloee cloeepy boto boto3

# CloeePy-RabbitMQ
Boto Plugin for the CloeePy Framework

Attaches a Boto Session to CloeePy application context.

## Installation

`pip install CloeePy-Boto`

## Configuration

### Configuration Basics
CloeePy-Boto configuration is by environment variables, and text-based
configuration is note supported. All you need to do is ensure
`cloeepy_boto` is listed under `CloeePy.Plugins`

To learn what environment variables to configure, read the
[Boto3 Docs](https://boto3.readthedocs.io/en/latest/guide/configuration.html#guide-configuration)


```
CloeePy
  ...
  Plugins:
    cloeepy_boto: {}
```

### Customize Plugin Namespace

By default, your connection is available on the CloeePy application context as
`app.boto`. Optionally you can specify a different namespace by which you access
the rabbitmq connection via `pluginNamespace`.

```
...
Plugins:
  cloeepy_boto:
    pluginNamespace: customBotoNS
```

Then, you would access your Boto connection on the application context like so:

```
app = CloeePy()
result = app.customBotoNS.ping()
app.log.info(result)
```

## Usage
```
import os
from cloeepy import CloeePy

if __name__ == "__main__":
  # Required: set config path as environment variable
  os.environ["CLOEEPY_CONFIG_PATH"] = "./example-config.yml"

  # instantiate application instance
  app = CloeePy()

  # create s3 resource and print bucket names
  s3 = app.boto.resource('s3')
  for bucket in s3.buckets.all():
    print(bucket.name)
```