semvec/pypi-packages huggingface dataset:
loki-api-client 0.1.0
A simple python wrapper for the Loki API
License: MIT
Requires Python: >=3.6

===============
loki-api-client
===============


Add a short description here!


Description
===========

A longer description of your project goes here...


.. _pyscaffold-notes:

Making Changes & Contributing
=============================

This project uses `pre-commit`_, please make sure to install it before making any
changes::

    pip install pre-commit
    cd loki-api-client
    pre-commit install

It is a good idea to update the hooks to the latest version::

    pre-commit autoupdate

Don't forget to tell your contributors to also install and use pre-commit.

.. _pre-commit: http://pre-commit.com/

Note
====

This project has been set up using PyScaffold 4.0.2. For details and usage
information on PyScaffold see https://pyscaffold.org/.
otp-py 0.5
Generate one time passwords
License: MIT
Requires Python: >=3.6
Keywords: otp,otp-codes,otp-generator,authenticator

.. image:: https://badge.fury.io/py/otp-py.svg
    :target: https://badge.fury.io/py/otp-py

=======
otp-gen
=======

A command line interface for generating one time passwords as per `RFC 4226`_ and `RFC 6238`_

------------
Requirements
------------
* Python version 3.6.x and greater

------------
Installation
------------
The way to install otp-gen is to use `pip`_

.. code:: bash

    $ pip3 install otp-gen

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

You need to provision the secret key, issuer and rest of the details with the ``config`` command. Default values are shown if any.

.. image:: img/demo-provisioning.gif
    :align: center

---------------
Usage
---------------

You can request a new OTP with the ``get`` command. A progress bar appears next to the code to indicate expiry period of it. ``get`` continuously provides valid codes until killed.

Current configuration can be embedded in a QR code by using ``qrcode`` command.

.. image:: img/demo.gif
    :align: center

---------------
References
---------------

* https://github.com/google/google-authenticator/wiki/Key-Uri-Format
* https://github.com/freeotp

---------------
License
---------------

otp-gen is under `MIT license`_

.. _pip: http://www.pip-installer.org/en/latest/
.. _`RFC 4226`: http://tools.ietf.org/html/rfc4226
.. _`RFC 6238`: http://tools.ietf.org/html/rfc6238
.. _`MIT license`: https://opensource.org/licenses/MIT
imgflip.py 1.0
Create memes using imgflip easily!
License: MIT
Requires Python: >=3.8

==========
imgflip.py
==========
Create memes with imgflip easily!

Installation
============
To install, do

.. code-block:: python

    # Linux/macOS
    python3 -m pip install -U imgflip.py

    # Windows
    py -3 -m pip install -U imgflip.py

Examples
========

CLI
---

.. code-block:: python

    py -3 -m imgflip -u USERNAME -p PASSWORD -tname "drake hotline bling" -top "interacting with raw imgflip api" -bot "using imgflip.py"
    # use python3 on Linux/macOS

Result:

.. code-block:: text

    meme created!
    You can find it at: https://imgflip.com/i/5gmxqp
    Image link: https://i.imgflip.com/5gmxqp.jpg

Code
----

Sync

.. code-block:: python

    import imgflip
    import requests

    imgflip_client = imgflip.Imgflip(username="username", password="password", session=requests.Session()) # create an Imgflip instance

    templates = imgflip_client.popular_memes(limit=10) # get popular meme templates from imgflip

    meme = imgflip_client.make_meme(
        template = templates["Drake Hotline Bling"],
        top_text = "interacting with raw imgflip api",
        bottom_text = "using imgflip.py"
    ) # create a meme

    print(meme.url) # print the meme image url

Async

.. code-block:: python

    import imgflip
    import aiohttp
    import asyncio

    async def main():
        async with aiohttp.ClientSession() as session:
            imgflip_client = imgflip.Imgflip(username="username", password="password", session=session) # create an Imgflip instance

            templates = await imgflip_client.popular_memes(limit=10) # get popular meme templates from imgflip

            meme = await imgflip_client.make_meme(
                template = templates["Drake Hotline Bling"],
                top_text = "interacting with raw imgflip api",
                bottom_text = "using imgflip.py"
            ) # create a meme

            print(meme.url) # print the meme image url
    
    asyncio.run(main())

Result:

.. code-block:: text

    https://i.imgflip.com/5f7zzm.jpg

.. image:: https://i.imgflip.com/5f7zzm.jpg
    :alt: the meme that was generated

For documentation, go `here <https://imgflip.readthedocs.io/>`_

Changes in v1.0

* Fixed docstrings
* Added documentation
* Added a command line interface