semvec/pypi-packages huggingface dataset:
djnotty 0.0.5
Create popup notifications.
License: MIT

Demo https://djnotty.herokuapp.com/
===================================

Demo admin https://djnotty.herokuapp.com/admin Cred: guest password
===================================================================

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

    Put ``djnotty`` to ``settings.py`` Put
    ``url(r'^djnotty/', include('djnotty.urls', namespace='djnotty')),``
    to ``urls.py``

Override default ``admin/base_site.html`` or copy this code to custom
admin template {% load static %} {% block extrahead %}

.. raw:: html

   <script>
           var djnotty_url = '{% url 'djnotty:messages' %}'
           </script>
           <script src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
           <script src="{% static 'djnotty/js/packaged/jquery.noty.packaged.min.js' %}"></script>
           <script src="{% static 'djnotty/js/notty.js' %}"></script>
           

{{ block.super }} {% endblock %}

If you want use djnotty on non admin pages:

::

    <script>
        var djnotty_url = '{% url 'djnotty:messages' %}';
        var csrf_token = '{{ csrf_token }}'; // for unauthorized users
    </script>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
    <script src="{% static 'djnotty/js/packaged/jquery.noty.packaged.min.js' %}"></script>
    <script src="{% static 'djnotty/js/notty.js' %}"></script>

How to create messages
======================

Create notification for user
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

::

    from djnotty import noty_builder
    from djnotty.models import Message
    from django.contrib.auth.models import Group

    Message.objects.create_for_object(%TARGET_OBJECT%, users=[%USER_OBJECT%], builders=[noty_builder.Text('Specific for user'),noty_builder.Close()])

Create notification for group and user
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

::

    from djnotty import noty_builder
    from djnotty.models import Message

    Message.objects.create_for_object(%TARGET_OBJECT%, groups=[Group.objects.get(name='superadmin')],users=[%USER_OBJECT%], builders=[noty_builder.Text('Specific for user and group'),noty_builder.Close()])

Create globally message:
~~~~~~~~~~~~~~~~~~~~~~~~

::

    from djnotty import noty_builder
    from djnotty.models import Message
    Message.objects.create_globally(builders=[noty_builder.Text('Specific for user and group'),noty_builder.Close()])

Mark as read
============

::

    from djnotty.models import Message
    Message.objects.create_globally(builders=[noty_builder.Text('Specific for user and group'),noty_builder.Close()])
    Message.objects.mark_as_viewed_for_object(%TARGET_OBJECT%,%USER_MODEL%)

noty\_builder
~~~~~~~~~~~~~

Text:
~~~~~

::

    Put text to popup window

Close:
~~~~~~

::

    Notification mark as read for user after click.

    Close(url='redect me after click')

Linked:
~~~~~~~

::

    Redirect to url after click on notification

What is %TARGET\_OBJECT%
~~~~~~~~~~~~~~~~~~~~~~~~

Djnotty using django\_content\_types framework for identify records.
devpi 2.2.0
(deprecated, install devpi-server, devpi-client, devpi-web instead)
License: MIT
Keywords: pypi cache server installer wsgi

devpi: PyPI server and packaging/testing/release tool
===================================================================

``devpi`` is a meta package installing two other packages:

- `devpi-server <http://pypi.python.org/pypi/devpi-server>`_: 
  for serving a pypi.python.org consistent
  caching index as well as local github-style overlay indexes.

- `devpi-web <http://pypi.python.org/pypi/devpi-web>`_: 
  plugin for devpi-server that provides a web and search interface

- `devpi-client <http://pypi.python.org/pypi/devpi-client>`_: 
  command line tool with sub commands for
  creating users, using indexes, uploading to and installing
  from indexes, as well as a "test" command for invoking tox.


For getting started see http://doc.devpi.net/

Holger Krekel, September 2014
moviemon 1.0.11
Everything about your movies within the command line.
License: MIT
Keywords: movies,CLI,movies-within-CLI,python

moviemon
========

**A Python Application that displays all the information about all your movies in the command line.**


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

Using ``pip``
-------------

.. code:: sh

   $ pip install moviemon

You can also use `pipsi <https://github.com/mitsuhiko/pipsi>`__ to install -

.. code:: sh

  $ pipsi install moviemon


Get the latest build from the Source
------------------------------------

- Clone the repo

.. code:: sh

    git clone https://github.com/iCHAIT/moviemon

- Run

.. code:: sh

    $ python setup.py install


Dependencies
============

- `guessit <https://github.com/guessit-io/guessit>`__
- `terminaltables <https://github.com/Robpol86/terminaltables>`__
- `docopt <https://github.com/docopt/docopt>`__
- `tqdm <https://github.com/tqdm/tqdm>`__
- `colorama <https://github.com/tartley/colorama>`__


Usage:
======

.. code:: sh

  moviemon.py PATH
  moviemon [-i | -t | -g | -a | -c | -d | -y | -r | -I | -T ]
  moviemon -h | --help
  moviemon --version


Options:
========

.. code:: sh

  -h, --help            Show this screen.
  --version             Show version.
  PATH                  Path to movies dir. to index/reindex all movies.
  -i, --imdb            Sort acc. to IMDB rating.(dec)
  -t, --tomato          Sort acc. to Tomato Rotten rating.(dec)
  -g, --genre           Show movie name with its genre.
  -a, --awards          Show movie name with awards recieved.
  -c, --cast            Show movie name with its cast.
  -d, --director        Show movie name with its director(s).
  -y, --year            Show movie name with its release date.
  -r, --runtime         Show movie name with its runtime.
  -I, --imdb-rev        Sort acc. to IMDB rating.(inc)
  -T, --tomato-rev      Sort acc. to Tomato Rotten rating.(inc)


Examples -
==========

Display basic info about all your movies.

``$ moviemon -m``

Display all movies sorted according to their IMDB ratings.

``$ moviemon -i``

Display all movies sorted according to their Tomato Rotten ratings.

``$ moviemon -t``

Display all movies with their Genres.

``$ moviemon -g``

Display all movies with the awards they have recieved.

``$ moviemon -a``

Display all movies with their cast.

``$ moviemon -c``

Display all movies with their director(s).

``$ moviemon -d``

Display all movies with their release date.

``$ moviemon -y``

Display all movies sorted according to their IMDB ratings (inc).

``$ moviemon -I``

Display all movies sorted according to their Tomato Rotten ratings (inc).

``$ moviemon -T``


Contribute
==========

Found a bug or want to suggest a new feature? Report it by opening an issue. Feel free to send a pull request for any improvements or feature requests.
ktorrent 0.4.7
Fetches and parses data from Kickass Torrents.
License: MIT

========
kTorrent
========

A Python module to fetch and parse data from Kickass Torrents.

Install
-------

    ``pip install ktorrent``

Usage
-----
# Import Library
 >>> import ktorrent

# Basic Search
 >>> search = ktorrent.search(search='Linux')

# Complex Search
 >>> search = ktorrent.search(search='Linux Shell script', strict=1, category='books', field='age', sorder='desc', page=2)

# Top movies
 >>> top_movies = ktorrent.top(category='movies', page=2)

Know More
=========

kTorrent Docs: https://github.com/codenirvana/kTorrent#readme
lowendspirit 0.10
Library to call endpoints of API's for CloudFlare, SolusVM and Virtualizor
License: MIT
Keywords: virtualizor,solusvm,lowendspirit,cloudflare,API,enduser

lowendspirit is an MIT Licenced library, writen in Python 3.

It has modules for sending requests to CloudFlare, SolusVM and Virtualizor API. It is intended to be used by end users.
All you need to do is get API Keys and API hashes to make it work.

Installation


To install lowendspirit, simply:

pip install lowendspirit

Documentation

Documentation is available at http://pythonhosted.org/lowendspirit

Usage

from lowendspirit import Cloudflare_Enduser_API, Solus_Enduser_API, Virtualizor_Enduser_API

Contribute


#. Check for open issue or open a fresh issue to start a discussion
#. For `repository`_ on Github
#. Send a pull request

.. _`repository`: https://github.com/boxcontrol/lowendspirit
statuspageio 0.0.1
StatusPage.io API V1 library client for Python
License: MIT

python-statuspageio
==============

StatusPage.oi  API V1 library client for Python. Based on the documentaion from https://doers.statuspage.io/api/v1/

Provides most of the funcitonality for the http://statuspage.io api's via handy python code.


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

Statuspageio package can be installed either via pip:

.. code:: bash

    $ pip install --upgrade statuspageio



You can install from the source code as well. First clone the repo and
then execute:

.. code:: bash

    $ python setup.py install

After installing, import ``statuspageio`` package:

.. code:: python

    import statuspageio

Usage
-----

.. code:: python

    import statuspageio

    # Then we instantiate a client (as shown below)

Build a client
~~~~~~~~~~~~~~

**Using this api without authentication gives an error**

.. code:: python

    client = statuspageio.Client(api_key='<YOUR_PERSONAL_API_KEY>', page_id=<YOUR_PERSONAL_PAGE_ID')
or
    client = statuspageio.Client(api_key='<YOUR_PERSONAL_API_KEY>', page_id=<YOUR_PERSONAL_PAGE_ID',organization_id=<YOUR_PERSONAL_ORGANIZATION_ID)


Client Options
~~~~~~~~~~~~~~

The following options are available while instantiating a client:

-  **api\_key**: Personal API Key
-  **page\_id**: Personal page id
-  **organization\_id**: Personal organization id, used for managing users.
-  **base\_url**: Base url for the api
-  **user\_agent**: Default user-agent for all requests
-  **timeout**: Request timeout
-  **verbose**: Verbose/debug mode

Architecture
~~~~~~~~~~~~

The library follows few architectural principles you should understand
before digging deeper. 1. Interactions with resources are done via
service objects. 2. Service objects are exposed as properties on client
instances. 3. Service objects expose resource-oriented actions. 4.
Actions return dictionaries that support attribute-style access, a la
JavaScript (thanks to Bunch and it's form Munch).

For example, to interact with components API you will use
``statuspageio.ComponentsService``, which you can get if you call:

.. code:: python

    client = statuspageio.Client(api_key='<YOUR_PERSONAL_API_KEY>', page_id=<YOUR_PERSONAL_PAGE_ID')
    client.components # statuspageio.ComponentsService

To retrieve list of resources and use filtering you will call ``#list``
method:

.. code:: python

    client = statuspageio.Client(api_key='<YOUR_PERSONAL_API_KEY>', page_id=<YOUR_PERSONAL_PAGE_ID')
    client.components.list() # list(dict|Munch)



Resources and actions
---------------------

Documentation for every action can be found in ``statuspageio/services.py``
file.


Tests
-----

Sorry. These need to be written.


Thanks
------

Thank you to the BaseCRM development team who created the majority of the code for this project.
We forked the code as the aritectural style worked really well for this project.
Please see https://github.com/basecrm/basecrm-python for more details

Thank you so much!

License
-------

MIT

Bug Reports
-----------

Report `here <https://github.com/GameSparks/python-statuspageio/issues>`__.