semvec/pypi-packages huggingface dataset:
aiorecycle 0.0.2
A decorator to recycle tasks in the event loop
Requires Python: >=3.6

==========
aiorecycle
==========

.. image:: https://travis-ci.com/mpyatishev/aiorecycle.svg?branch=master
    :target: https://travis-ci.com/mpyatishev/aiorecycle
.. image:: https://codecov.io/gh/mpyatishev/aiorecycle/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/mpyatishev/aiorecycle
.. image:: https://img.shields.io/pypi/v/aiorecycle.svg
    :target: https://pypi.python.org/pypi/aiorecycle


A decorator to recycle tasks in the event loop


Installation
============

.. code:: bash

   pip install aiorecycle


Usage example
=============

.. code:: python

   import asyncio

   import aiorecycle


   @aiorecycle.cycle()
   async def task():
       if asyncio.get_event_loop().time() % 2 == 0:
           print('make some periodic work')


   async def main():
       await task()
       await asyncio.sleep(3)  # emulate very important work


   if __name__ == "__main__":
      asyncio.run(main())


License
=======

``aiorecycle`` library is offered under Apache 2 license.
gux 0.0.3
git user switcher
Requires Python: >=3.6

# gux
git user switcher

## Installation
`gux` is written in Python3 and uses pip3 for installation.

```bash
pip3 intall gux
```

## Usage

`gux` has the following commands: 'use', 'add', 'list', 'ls', 'rm'.

`gux use [user]` - Changes the main tracked user used by `gux`
`gux rm [user]`  - Deletes a user from the `gux` registry
`gux add`        - Adds a new user to the `gux` registry
`gux list`       - Lists the current git configurations in a repo
`gux ls`         - Show list of current users registered to gux

## Development
Use `pipenv` to isolate your development environment. Run the following from the project root:

```bash
pipenv shell --python=`which python3`
```

In your `pipenv` environment, install `gux` manaully:

Note: Replace the X with the current gux verion.

```bash
python setup.py sdist bdist_wheel && pip install --upgrade --force-reinstall dist/gux-0.0.X-py3-none-any.whl
```

To upload the app to pypi:

```bash
python3 setup.py sdist bdist_wheel && python3 -m twine upload dist/*
```