semvec/pypi-packages huggingface dataset:
myshowsapi 0.1.5
API wrapper for http://api.myshows.me/
License: MIT
Keywords: myshows.me myshows api

API wrapper for api.myshows.me (v2)
===================================

To get auth data for OAuth 2.0 please contact with email that shown at api.myshows.me (v2).

API methods are described `here <https://api.myshows.me/shared/doc/>`_.

Requirements
------------

python 3.4+

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

pip3 install myshowsapi

Usage
-----

.. code:: python

    >>> import myshowsapi

    # Getting token within Client Credentials Grant
    >>> session = myshowsapi.Session(client_id='<CLIENT_ID>',
                                     client_secret='<CLIENT_SECRET>')

    # Getting token within Authorization Code Grant
    >>> # session = myshowsapi.Session(client_id='<CLIENT_ID>',
    #                                  client_secret='<CLIENT_SECRET>', code='<CODE>',
    #                                  redirect_uri='<REDIRECT_URI>',
    #                                  grant_type='authorization_code')
    # You can receive the <CODE> in response headers after authorization at
    # https://myshows.me/oauth/authorize?response_type=code&client_id=<CLIENT_ID>
    # &scope=basic

    >>> api = myshowsapi.API(session)
    >>> api.profile.Get(login='user')
    {'stats': {'remainingDays': 2.5,
      'remainingEpisodes': 154,
      'remainingHours': 60.5,
      'totalDays': 65,
      'totalEpisodes': 2640,
      'totalHours': 1560.7,
      'watchedDays': 62.5,
      'watchedEpisodes': 2486,
      'watchedHours': 1500.2},
     'user': {'avatar': 'https://api.myshows.me/shared/img/fe/default-user-avatar-normal.png',
      'gender': 'm',
      'isPro': False,
      'login': 'bwn',
      'wastedTime': 1502}}
helga-bugzilla 1.2.1
bugzilla plugin for helga
License: MIT
Keywords: irc bot bugzilla

A Bugzilla plugin for helga chat bot
====================================

.. image:: https://travis-ci.org/ktdreyer/helga-bugzilla.svg?branch=master
       :target: https://travis-ci.org/ktdreyer/helga-bugzilla

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

About
-----

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

This Bugzilla plugin allows Helga to respond to Bugzilla ticket numbers in IRC
and print information about the tickets. For example::

  03:14 < ktdreyer> bz 1217809
  03:14 < helgabot> ktdreyer might be talking about
                    https://bugzilla.redhat.com/1217809
                    [[TRACKER] SELinux support]

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

  pip install helga-bugzilla

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

Optional: URL Configuration
---------------------------

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

  BUGZILLA_XMLRPC_URL = 'https://bugzilla.redhat.com/xmlrpc.cgi'

(If you do not specify this setting, the plugin will use txbugzilla's default
URL, which is Red Hat's bugzilla.)

You can also specify a URL format::

  BUGZILLA_TICKET_URL = "https://bugzilla.redhat.com/%(ticket)s"

The ``%(ticket)s`` format string will be replaced with the bug number.
Since the underlying library (txbugzilla) already constructs these web
URLs for bugs automatically, you probably don't need to add this setting
to helga. It's only necessary if your custom Bugzilla requires some
other URL scheme.

Optional: Authenticated access
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

By default, Helga only reads tickets that are publicly accessible. You may
optionally give Helga privileged access to Bugzilla and allow Helga to read
private bugs by setting up a `python-bugzilla
<https://pypi.python.org/pypi/python-bugzilla>`_ credential::

  $ pip install python-bugzilla
  $ bugzilla login
  (enter your username and password)

(Use the ``--bugzilla=https://bugzilla.example.com/xmlrpc.cgi`` argument here
if the XMLRPC URI is not the default, https://bugzilla.redhat.com/xmlrpc.cgi)

This ``bugzilla login`` command will save your login credential to
``.bugzillatoken``. When this is set, Helga will be able to read private bugs
with using the permissions of the user to whom the API key belongs.

**Note**: This authentication feature can expose private information (ticket
subjects) about your Bugzilla bugs. If you use this feature, be sure that the
networks to which Helga connects are restricted. Everyone in Helga's channels
will see the private information, so the assumption is that they already have
rights to read the private bugs.
i3-config-builder 0.2
Command Line i3 config builder
License: MIT

i3-config-builder
=================

Python based configuration assembler. This project takes several separate configuration files and combines them together into the config to be used by i3.

This is to help with managing different i3 configurations for different computers. This project allows for separate config files for different hostnames.

This project can be found at https://github.com/brileb73/i3-config-builder and is based on the work done by simpss over at https://github.com/simpss/i3_config.


Usage
-----

Command line arguments::

    usage: i3-config-builder [-h] [-r] [-c] [-b BASE_DIR] [-d OUTPUT_DIR]

    Command line i3 config file builder

    optional arguments:
      -h, --help            show this help message and exit
      -r, --restart         Make i3 restart to load config
      -c, --reload          Make i3 to reload config
      -b BASE_DIR, --base-dir BASE_DIR
                            Directory containing input configuration files
      -d OUTPUT_DIR, --output-dir OUTPUT_DIR
                            Directory to output built config

Here is an example call to i3cfgbuild::

    i3cfgbuild -b ~/i3-config-builder/examples -d ~/.i3 -c

This command uses the .i3conf files in ~/i3-config-builder/examples to create the config file ~/.i3/config and reloads i3 after the new config file is in place.


Input file name format
----------------------

All input files must start with a number followed by '-all-' or '-hostname-' to specify any computer or just a specific computer to add the config files. Make sure to make all input files have the .i3conf extension.

Examples:

- 1-all-mod-key.i3conf
- 12-chaos-raptor-workspaces.i3conf
- 12-ghost-workspaces.i3conf
- 2-chaos-raptor-laptop-keys.i3conf
- 3-all-restart-reload-i3.i3conf

In the above examples, the files that would be used for the hostname ghost are:

- 1-all-mod-key.i3conf
- 12-ghost-workspaces.i3conf
- 3-all-restart-reload-i3.i3conf


Output file format
------------------

The output file created is going to be called 'config' and placed in the output directory specified (default is ~/.i3). The contents of each input file is appended to the output file with a comment of what the input file name was.


Examples
--------

There are some example files in the examples directory of the repository which should generate a file that operates in the same way as the default i3 config file for using the super (Mod4) modifier.