semvec/pypi-packages huggingface dataset:
simple-pyms 0.2.0
Microservices Without Headaches


simple-pyms: Python Microservices Without The Headaches
=======================================================

Simple PyMS (SPMS) provides base class abstractions for a very simple 
microservice architecture.  Currently SPMS provides a baseline component that 
sends heartbeats and a monitor component that tracks microservices and their 
statuses based on these heartbeats.

The WAMP protocol is used to handle message brokering and RPC.  So, to use PyMS
you will need a
[WAMP router](https://wamp-proto.org/implementations/index.html#routers) such
as [crossbar.io](https://crossbar.io/).

What Does It Do?
----------------
SPMS makes creating microservices (WAMP Components) and monitoring them easy.
There are two components to deal with - Monitor and Microservice.  Monitor
monitors Service instances.

So, create a single Monitor instance and one or more Microservice instances.
Connect them to the router and you have a poor man's microservice architecture. 

Configuring Your Wamp Router
----------------------------

To configure your wamp router, you will need to setup roles for your components.
Each microservice component will need to have permissions setup properly for
the microservice uri: `py.ms.*`

    permissions:
      # Microservice activities
      - uri: py.ms
        match: prefix
        allow:
          call: true
          register: true
          publish: true
          subscribe: true

Creating A Simple Component
---------------------------

```python

from simplepyms.microservice import mk_component
from autobahn.twisted.component import run
component = mk_component('component-name', 'ws://localhost:8080/ws', 'realm')
run(component)
```

The code above creates a component that has stop, restart and heartbeat 
notification built in.  Add functionality to make your component more 
meaningful.

```python

from simplepyms.microservice import mk_component
from autobahn.twisted.component import run
component = mk_component('component-name', 'ws://localhost:8080/ws', 'realm')

@component.register('py.ms.add')
def add(a, b):
    return a + b

run(component)
```
celery-persistent-revokes 1.0.1
Celery task revokes are stored on memory or on file. This packages makes possible to easely customize how your revokes are stored (Ex.: Database).
Keywords: celery-persistent-revokes

=============================
Celery Persistent Revokes
=============================

.. image:: https://badge.fury.io/py/celery-persistent-revokes.svg
    :target: https://badge.fury.io/py/celery-persistent-revokes

.. image:: https://travis-ci.org/vintasoftware/celery-persistent-revokes.svg?branch=master
    :target: https://travis-ci.org/vintasoftware/celery-persistent-revokes

.. image:: https://codecov.io/gh/vintasoftware/celery-persistent-revokes/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/vintasoftware/celery-persistent-revokes

Celery task revokes are stored on memory or on file. This packages makes possible to easily customize how your revokes are stored (Ex.: Database).

Documentation
-------------

The full documentation is at https://celery-persistent-revokes.readthedocs.io.

Quickstart
----------

Install Celery Persistent Revokes::

    pip install celery-persistent-revokes

Add it to your `INSTALLED_APPS`:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        'celery_persistent_revokes.apps.CeleryPersistentRevokesConfig',
        ...
    )

Add Celery Persistent Revokes's URL patterns:

.. code-block:: python

    from celery_persistent_revokes import urls as celery_persistent_revokes_urls


    urlpatterns = [
        ...
        url(r'^', include(celery_persistent_revokes_urls)),
        ...
    ]

Features
--------

* Built-in tasks revokes using Django default database
* Support for custom backends

Running Tests
-------------

Does the code actually work?

::

    source <YOURVIRTUALENV>/bin/activate
    (myenv) $ pip install tox
    (myenv) $ tox

Credits
-------

Tools used in rendering this package:

*  Cookiecutter_
*  `cookiecutter-djangopackage`_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage




Change Log
----------


1.0.1 (2018-04-03)

* Adds warning in logs when a revoked tasks is run by a worker


1.0.0 (2018-04-03)

* Updates Django revokes model to be timestamped

0.1.0 (2018-04-25)
++++++++++++++++++

* First release on PyPI.
cradox 2.1.2
Python libraries for the Ceph librados library with use cython instead of ctypes

======
cradox
======

.. image:: https://travis-ci.org/sileht/pycradox.png?branch=master
   :target: https://travis-ci.org/sileht/pycradox

.. image:: https://img.shields.io/pypi/v/cradox.svg
   :target: https://pypi.python.org/pypi/cradox/
   :alt: Latest Version

.. image:: https://img.shields.io/pypi/dm/cradox.svg
   :target: https://pypi.python.org/pypi/cradox/
   :alt: Downloads

/!\ DON'T USE IT, but use upstream python-rados, except you really can't /!\

Python libraries for the Ceph librados library with use cython instead of ctypes

This a standalone library initially comes from this Ceph PR https://github.com/ceph/ceph/pull/7621

But can be built against older version of Ceph from 10.2.X (jewel) to latest.

(For older version use cradox< 2.0)

This is designed for application that want to use a recent python-rados API without upgrading
the whole ceph cluster.

Rados C handles provided by this library can't be used with the ceph rbd.py or librbdpy.

The API of this python lib will be keep in sync with the upstream Ceph rados.py API.

* Free software: LGPL 2.1
* Documentation: http://docs.ceph.com/docs/master/rados/api/python/
* Source: http://github.com/sileht/pycradox


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

Pre-requires::

    $ sudo apt-get install cython librados2 librados-dev

Then, at the command line::

    $ pip install cradox

Or, if you have virtualenvwrapper installed::

    $ mkvirtualenv cradox
    $ pip install cradox

Usage
-----

::

  import cradox as rados


Functionnal Tests
-----------------

Ceph packages must be installed, the suite create a temporary Ceph
cluster run the tests and destroy it.

::

    tox
python-validators 0.0.1
A python utility that can validate strings and so much . Still under active development

# Python Validatord [![forthebadge](https://forthebadge.com/images/badges/made-with-python.svg)](https://forthebadge.com)[![forthebadge](https://forthebadge.com/images/badges/makes-people-smile.svg)](https://forthebadge.com)

![PyPI](https://img.shields.io/pypi/v/nine.svg)
![license](https://img.shields.io/github/license/mashape/apistatus.svg)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/Django.svg)



A python validators module that makes validation easy with functions like <code>mail()</code> . Please note that this module is still
under active development and it is dependency free .

## Table of contents

- [Installation](#installation)
- [Usage](#usage)
- [Example](#example)

# Installation

In order to install it you can use pip the defualt Python Package Installer . It's easy , on windows open cmd as adminsistrator and type
```bash
pip install pyvalidator
```

For linux systems
```bash
sudo pip3 install pyvalidator
```

# Usage
Using pyvalidator is easy . Here are some examples with the pyvalidator functions ...
```python
import pyvalidator
print(pyvalidator.email('email@email.com'))
print(pyvalidator.ipv4('255.255.255.0'))
print(pyvalidator.url("https://www.google.com"))
print(pyvalidator.equals('testish', 'testish'))
print(pyvalidator.islower('test'))
print(pyvalidator.number('1'))
print(pyvalidator.md5('8b1a9953c4611296a827abf8c47804d7'))
```

### email(str) -> Checks if given parameter is a string
```python
import pyvalidator
print(pyvalidator.email('adiba@a.com'))
```

### currency(str) -> Checks if given parameter is a currency type
```python
import pyvalidator
print(pyvalidator.currency('$4.4'))
```

### equals(str1, str2) -> Checks if given parameters are same
```python
import pyvalidator
print(pyvalidator.equals('testish', 'testish'))
```

### ipv4(ip) -> Checks if given parameter is a valid ipv4 / IP address
```python
import pyvalidator
print(pyvalidator.ipv4('255.255.255.0'))
```

### url(str) -> Checks if given parameter is an url
```python
import pyvalidator
print(pyvalidator.url("https://www.google.com"))
```

### lower(str) -> Checks if given parameter is a lower cased string
```python
import pyvalidator
print(pyvalidator.islower('test'))
```

### md5(str) -> Checks if given parameter is a md5 hash
```python
import pyvalidator
print(pyvalidator.md5('8b1a9953c4611296a827abf8c47804d7'))
```

### number(str / int) -> Checks if given parameter is a number
```python
import pyvalidator
print(pyvalidator.number('1'))
```
python_qt_binding 0.3.4
This stack provides Python bindings for Qt. There are two providers: pyside and pyqt.  PySide is released under the LGPL.  PyQt is released under the GPL.

    Both the bindings and tools t...
Home-page: http://ros.org/wiki/python_qt_binding
Author: Dave Hershberger, Dorian Scholz, Dirk Thomas
Maintainer: Dirk Thomas
Maintainer-email: dthomas@osrfoundation.org
License: BSD
Description: This stack provides Python bindings for Qt.
            There are two providers: pyside and pyqt.  PySide is released under
            the LGPL.  PyQt is released under the GPL.
        
            Both the bindings and tools to build bindings are included from each
            available provider.  For PySide, it is called &quot;Shiboken&quot;.  For PyQt,
            this is called &quot;SIP&quot;.
        
            Also provided is adapter code to make the user's Python code
            independent of which binding provider was actually used which makes
            it very easy to switch between these.
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: BSD License
Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
Classifier: License :: OSI Approved :: GNU General Public License (GPL)