semvec/pypi-packages huggingface dataset:
helga-users 0.0.2
Users plugin for Helga
License: MIT
Keywords: irc bot users

A user plugin for helga chat bot
================================

About
-----

Helga is a Python chat bot. Full documentation can be found at
http://helga.readthedocs.org.

This user plugin allows Helga to respond to user-related commands in IRC
and print information about users from LDAP.

::

  03:14 < ktdreyer> helgabot: user adeza
  03:14 < helgabot> adeza is in Remote US GA
  03:14 < helgabot> ktdreyer, it's 5:14pm for adeza (2:00 ahead of your
                    America/Denver timezone)


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

This users plugin is `available from PyPI
<https://pypi.python.org/pypi/helga-users>`_, so you can simply install
it with ``pip``::

  pip install helga-users

If you want to hack on the helga-users source code, in your virtualenv
where you are running Helga, clone a copy of this repository from GitHub and
run
``python setup.py develop``.

Configuration
-------------

In your ``settings.py`` file (or whatever you pass to ``helga --settings``),
you must specify a ``LDAP`` dict. For example:

.. code-block:: python

    LDAP = {
        'host': 'ldap.corp.example.com',
        'basedn': 'dc=example,dc=com',
    }


helga-users assumes that this LDAP server host is listening on TCP 389 and
supports STARTTLS.

TODO
----

Some ideas...

We should be able to support more user information sources besides LDAP (for
example, GitHub).

Some type of stronger authentication for users. Integration with NickServ or
IRC ops?

Self-service storage of user credentials for other plugins, using a protected
web form?
python-transcoded 0.4.2
Daemon for transcoding audio/video with an http API written in python
License: MIT
Requires Python: >=3

# Video transcoding daemon

This project implements a daemon that wraps ffmpeg for video transcoding and listens for jobs over http.
Intended to be used as backend for web applications that deal with video encoding in any way so they don't
have to mess with the long running background processes, queueing and ffmpeg command line parameters.

To use this you create a config file that defines which applications can use which directory for media and
the encoding profiles the applications can use.

An example configuration:

```conf
[general]
port=12380
listen=127.0.0.1

[user-mediacenter]
password=verysecret
paths=/mnt/storage/videos
callback=http://127.0.0.1/transcode-callback

[profile-h264]
container=mkv
vcodec=h264
vpolicy=always
acodec=aac
apolicy=always
vbitrate=2M
vbitratemax=3M
abitrate=192k
abitratemax=1M
```

This defines the user `mediacenter` with the password `verysecret` which can start transcoding jobs in any path starting
with `/mnt/storage/videos`. It also defines a callback url for reporting job progress to the requesting application.

It also defines the profile called `h264` which always encodes to h264+aac in a mkv container.

The default policy for transcoded is to transcode as little as possible unless explicitly configured to transcode anything.
The default config doesn't transcode the stream if the source codec matches the destination codec(s). It does always
recreate the container for the streams.

It is possible to define multiple output codecs seperated by a comma, in that case it won't transcode if the source codec
matches any of the listed codecs. If the source doesn't match any codec then it will transcode it to the first specified
codec.
mojang-api-3 3.0.4
A full Python wrapper of Mojang's API and Authentication API.
License: MIT
Requires Python: >=3.5.*
Keywords: mojang minecraft mc api authentication auth

mojang-api
==========

|python-versions| |implementation| |license|

A full Python wrapper of Mojang's `API`_ and `Authentication API`_.

.. |python-versions| image:: https://img.shields.io/pypi/pyversions/mojang-api.svg
    :alt: Python Versions
    :scale: 100%
    :target: https://pypi.python.org/project/mojang-api-3/

.. |implementation| image:: https://img.shields.io/pypi/implementation/mojang-api.svg
    :alt: Implementation
    :scale: 100%
    :target: https://pypi.python.org/project/mojang-api-3/

.. |license| image:: https://img.shields.io/github/license/SynchronousX/mojang-api.svg
    :alt: License
    :scale: 100%
    :target: LICENSE

.. _API: http://wiki.vg/Mojang_API
.. _Authentication API: http://wiki.vg/Authentication



version:3.0.4

Installation
------------
``$ pip install mojang-api-3``

Usage
------------
Using this API will often return dicts:
    1. If response is empty, dict will contain response object.
        Response['response'] contains Response object (Get status code via Response['response'].status_code)
    2. If response contains data, dict will contain response object and data
        Response['response'] contains Response object (Get status code via Response['response'].status_code)
        Response['data'] contains response data


**Checking status of Mojang servers:**

``$ from mojang_api import get_status``

``$ response = get_status() ``

Response will be dict containing a Requests Response object and Response Data.

Response['response'] contains Response object (Get status code via Response['response'].status_code)

Response['data'] contains List of dicts with key of the servername and value of it's status

**Getting UUID from player name:**

``$ from mojang_api import Player``

``$ player = Player(username=myUsername)``

``$ player.username``

**Authenticating player:**

``$ from mojang_api import Player``

``$ player = Player(username=myUsername)``

``$ player.authenticate(email_address_or_legacy_username, password)``


Player authenticate will populate it's Access and Client Tokens, Username and UUID of the player.


**Check if player is authenticated with:**

``$ player.is_authenticated``


**Creating Player with access and client tokens:**

``$ from mojang_api import Player``

``$ player=Player(username=Last_saved_username)``

``$ player.tokens = (access_token, client_token)``

Once player.tokens is set, it will validate and refresh tokens and save the current Username, UUID, and refreshed Access and Client Tokens


**Signing out Player:**

``$ from mojang_api import Player``

``$ player = Player(username=myUsername)``

``$ player.authenticate(email_address_or_legacy_username, password)``

``$ player.signout()``

player.signout() will invalidate the tokens that are saved, which has the same effect as logging out.