semvec/pypi-packages huggingface dataset:
django-channels-presence2 0.0.4a0
Simple presence boilerplate for django-channels 2 and channel redis backend.
License: MIT

**django-channels-presence2**

Simple presence boilerplate for django-channels 2 and channel redis backend.

**Installation**

`pip install django-channels-presence2`

**Usage**

Create presence for consumer:

`self.presence = await ChannelPresence.create_from_consumer(self, groups=(PUBLICATIONS_SCHEDULE_GROUP,))`

Example of create:

`class Consumer(AsyncJsonWebsocketConsumer):
    async def connect(self):
        self.presence = await ChannelPresence.create_from_consumer(self, groups=(CONSUMER_GROUP,))`

Groups are needed to send join and leave messages.
Learn more about groups: http://channels.readthedocs.io/en/latest/topics/channel_layers.html?highlight=group_send.     

Join user:

`await self.presence.join()`

Leave user:

`await self.presence.leave()`

Get users:

`await self.presence.get_users(GROUP)`

Return:

`{
    'user': SimpleLazyObject of User,
    'is_active': True or False
    'present_at': Datetime
}`

To set the activity expired time use `EXPIRED_USER_ACTIVITY` in django settings.
erika 0.1.1
A GTK podcast manager
License: MIT

Erika
=====

Erika is a GTK+ podcast manager for Linux.

.. image:: https://raw.githubusercontent.com/Muges/erika/master/screenshots/main_window.png
    :target: https://raw.githubusercontent.com/Muges/erika/master/screenshots/main_window.png
    :alt: Main window of Erika

Features
--------

- Suscribe, download and listen to audio podcasts
- Keep your podcast library organised, and synchronize it with `gpodder.net`_

.. _gpodder.net: https://gpodder.net

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

Install Python 3, PyGObject_, and webkitgtk (not webkit2gtk) and run the command ::

    pip install erika

.. _PyGObject:
    https://pygobject.readthedocs.io/en/latest/getting_started.html

Credits
-------

Erika is released under the MIT License, with the exception of the file
``erika/frontend/widgets/scrolled_window.py`` which is released under the
GNU/GPLv3 License.