semvec/pypi-packages huggingface dataset:
micropython-curses 0.0.0
Dummy curses module for MicroPython
License: MIT

This is a dummy implementation of a module for MicroPython standard library.
It contains zero or very little functionality, and primarily intended to
avoid import errors (using idea that even if an application imports a
module, it may be not using it onevery code path, so may work at least
partially). It is expected that more complete implementation of the module
will be provided later. Please help with the development if you are
interested in this module.
micropython-asyncio 0.0.0
Dummy asyncio module for MicroPython
License: MIT

This is a dummy implementation of a module for MicroPython standard library.
It contains zero or very little functionality, and primarily intended to
avoid import errors (using idea that even if an application imports a
module, it may be not using it onevery code path, so may work at least
partially). It is expected that more complete implementation of the module
will be provided later. Please help with the development if you are
interested in this module.
pushjet 1.0.0
A Python API for Pushjet. Send notifications to your phone from Python scripts!
License: MIT
Keywords: pushjet notifications android phone api rest

pushjet |logo| (Python API)
=============================

.. |logo| image:: http://i.imgur.com/DayiPBl.png
    :align: middle

Welcome to ``pushjet``, Python's `Pushjet <https://pushjet.io/>`__ (`see the server on GitHub <https://github.com/Pushjet/Pushjet-Server-Api>`__) API. Pushjet lets you push notifications directly to your phone (among other things)! This module lets you do that pushing from Python! It's pretty sweet - it lets you do all sorts of cool things, like integrating notifications into your web app or notifying you when something goes on sale.

And yep, the module's just named ``pushjet``. Spiffy name, and surely not at all confusing. Probably. Hopefully. Maybe.

How to install
--------------

The module is `on GitHub <https://github.com/obskyr/pushjet-py>`__, and `it's also on PyPI <https://pypi.python.org/pypi/pushjet>`__! That means you can install it using `pip <https://pip.pypa.io/en/latest/installing/>`__. Simply run the following to install it:

.. code:: bash

    > pip install pushjet

Bam, you're ready to go. It's compatible with both Python 2 and 3, too - nice, huh?

How to use
----------

See the *Getting started* section of the `documentation <http://pushjet.readthedocs.io/>`__. Here's a little taste:

.. code:: python

    import pushjet
    import uuid

    service = pushjet.Service.create(
        "Open courses", # Name
        "http://example.com/university_icon.png" # Icon URL
    )
    device = pushjet.Device(uuid.uuid4())
    device.subscribe(service)
    service.send(
        "A spot is open for you in the competitive eating course!", # Message
        "Course open", # Title
        "http://example.com/courses/eating/competitive" # Link
    )
    for message in device.get_messages():
        print message.title
        print message.message
        print message.link

For information on all the properties of the classes, and on how to use custom API instances, once again see the `documentation <http://pushjet.readthedocs.io/>`__.

Contact
=======

If there's a feature you're missing or a bug you've found in ``pushjet``, `open an issue on GitHub <https://github.com/obskyr/pushjet-py/issues/new>`__. If you've got a question - or there's anything you'd like to talk about at all, really - you can reach me via:

* `Twitter (@obskyr) <https://twitter.com/obskyr>`__
* `E-mail <mailto:powpowd@gmail.com>`__

I usually answer much faster on Twitter. Thaaaat... should be all. I think. Unless I've forgotten something, which I don't think I have. I never *think* I have, though, and then sometimes I still have. Let's hope I haven't this time.

Enjoy!
pysbw 0.1a10
Python API Implementation for Accessing Stopbadware Data Feed
License: MIT
Keywords: stopbadware api download

pysbw
=====

Python 3 implementation of the
`Stopbadware <https://www.stopbadware.org/>`
`Private API <https://stopbadware.atlassian.net/wiki/display/apidocs/StopBadware+API+Documentation+Home>`.
In its current form it only implements downloading of events from a specific timestamps, IP addresses and searching based
on timestamps.

How To Use
----------

::

    import pysbw
    import time

    api = pysbw.API('~/.stopbadware.key')

    # Retrieve event reports for past 24 hours using UNIX style timestamp
    json_response = api.retrieve(int(time.time()) - 24 * 3600)

    # Retrieve event report with report UID
    json_response = api.retrieve("564f2c78e4b0a131f050f844")
                      
    # Retrieve event reports for past 24 hours using search functionality
    end = int(time.time())
    json_response = self.api.search_between(end - 24 * 3600, end)

Installiation
-------------

::

    pip3 install pysbw --pre

Example Key File
----------------

::

    [sbw]
    apikey=<String of private key>
    publickey=<String of public key>

Instantiation
-------------

::

    api = pysbw.API('~/.virustotal.key')  # The default way of using the 
    api = pysbw.API('', private_api_key=<PRIVATE API KEY>, public_api_key=<PUBLIC API KEY>)  # Providing other parameters
    api = pysbw.API( ... , max_retires=<N: Number>)  # If specified the API will only retry <N> times to get the response
    api = pysbw.API( ... , rate_limit={"requests": 40, "seconds": 300})  # The rate limits for the number of queries to the API


API
---

Use the method ***retrieve()*** to get Reports. This method's first
argument can be:

-  a UNIX style timestamp in UTC to retrieve reports since that
   timestamp
-  an IP address in DOT notation such as '8.8.8.8' to retrieve all
   reports relating to IP address
-  an event report UID which is a 24 digit hex number.

retrieve() will attempt to auto-detect what you're giving it. If you
want to be explicit, you can use the thing\_type parameter with the
values:

-  ip
-  timestamp
-  uid

These values are provided as constants that you can use instead in the
'API\_Constans' class which you can import as follows

::

    from pysbw import API_Constansts

Use the method ***search\_between()*** to search for events between two
timestamp values.

References
----------
`SBW API Documentation <https://stopbadware.atlassian.net/wiki/display/apidocs/StopBadware+API+Documentation+Home>`.