semvec/pypi-packages huggingface dataset:
python-libldap 0.8.14
A Python binding for libldap
License: MIT

python-libldap
==============

python-libldap is a Python binding for *libldap* (LDAP client library).
*libldap* is provided by OpenLDAP.

This project requires Python version 3.4 or later (not Python 2).
If you want to use libldap wrapper library with Python 3, please try it.

Documentation
=============

https://yykamei.github.io/python-libldap/

Requirements
============

* `Python >= 3.4`
* `libldap`
* `libsasl2`

Build Requirements
==================

* `Python developer package >= 3.4`
* `libldap developer package`
* `libsasl2 developer package`

Install
=======

Install with **pip install python-libldap**

License
=======

Under the MIT license.

Bug tracker
===========

If you have any suggestions or bug reports please report them to the issue tracker at https://github.com/yykamei/python-libldap/issues .

Quick start
===========

Simple search operation
-----------------------

    >>> from libldap import LDAP, LDAP_SCOPE_SUB
    >>> ld = LDAP('ldap://localhost/')
    >>> ld.bind('cn=master,dc=example,dc=com', 'secret')
    >>> ld.search('dc=example,dc=com', LDAP_SCOPE_SUB, '(objectClass=*)')
    [...]

Add operation
-------------

    >>> from libldap import LDAP
    >>> ld = LDAP('ldap://localhost/')
    >>> ld.bind('cn=master,dc=example,dc=com', 'secret')
    >>> ld.add('cn=group1,ou=Groups,dc=example,dc=com', [
    ...     ('objectClass', ['top', 'posixGroup']),
    ...     ('cn', ['group1']),
    ...     ('gidNumber', ['100']),
    ...     ('description', ['Test Group 1']),
    ... ])
    >>>

Modify operation
----------------

    >>> from libldap import LDAP, LDAP_MOD_REPLACE
    >>> ld = LDAP('ldap://localhost/')
    >>> ld.bind('cn=master,dc=example,dc=com', 'secret')
    >>> ld.modify('cn=group1,ou=Groups,dc=example,dc=com', [
    ...     ('gidNumber', ['101'], LDAP_MOD_REPLACE),
    ... ])
    >>>

Delete operation
----------------

    >>> from libldap import LDAP
    >>> ld = LDAP('ldap://localhost/')
    >>> ld.bind('cn=master,dc=example,dc=com', 'secret')
    >>> ld.delete('cn=group1,ou=Groups,dc=example,dc=com')
    >>>

Changes
=======

0.8.14 release
--------------

* Fix: LDAP.rename() description

0.8.13 release
--------------

* Fix: Encoding error and getting size of characters

0.8.12 release
--------------

* Fix: Get LDAP value length by using Pychon/C API in str2berval()
* LDAP constructor receives start_tls parameter
* LDAP_OPT_REFERRALS is False by default

0.8.11 release
--------------

* LDAP constructor receives options parameter

0.8.10 release
--------------

* Fix: We raise LDAPAPIError

0.8.9 release
-------------

* Add LDAP Exceptions which inherit LDAPError

0.8.8 release
-------------

* LDAP class constructor receives list of uri

0.8.7 release
-------------

* LDAP class supports context manager

0.8.6 release
-------------

* Change LDAP entries value type from str to bytes in LDAP.search_result()
* Change LDAP entry object (object has 'dn' attribute) in LDAP.search_result()

0.8.5 release
--------------

* Change deleteoldrdn default value from True to False in LDAP.rename()
linkcheckerjs 0.1
Check links and resources in web page or full website
License: MIT
Keywords: checker,link,website,validation,crawler

Linkcheckerjs is the best tool ever to check your websites. It parses the pages using phantomjs in order to detect all the errors even if they come from css or javascript. Linkcheckerjs is free under MIT License.


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


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

* python >= 2.6

* node & npm: please refer to `node doc <https://nodejs.org/en/download/>`_


Installation via Pip
--------------------

::

    pip install linkcheckerjs


Installation from source
------------------------

::

    cd where_i_want_to_clone_linkcheckerjs

    git clone https://github.com/LeResKP/linkcheckerjs.git

    cd linkcheckerjs

    python setup.py install


Basic usage
===========


To check recursively an URL like 'https://www.python.org' just type the following command in your terminal::

    linkcheckerjs https://www.python.org


.. note::

    The external links (not on the same domain) will not be checked strongly. It's only check the page itself, nor the resources nor the links.



Advanced usage
==============


We will not see the powerful of creating a json and displaying the output separately here since it's in development.
But for now it's just useful when you lost the output of linkcheckerjs command.


You can create a json output when running linkcheckerjs::

    linkcheckerjs https://www.python.org -o /tmp/linkcheckerjs-output.json


To read the generated json, type in your terminal::

    linkreaderjs https://www.python.org -o /tmp/linkcheckerjs-output.json
confluo 0.0.1
Scalable distributed microservice framework using AMQP/RabbitMQ
License: MIT
Keywords: confluo,service,amqp,rabbitmq,scalable,destributed,microservice,framework,library,package,module

confluo
=======

    From **con-** ‎(“with; together”) + **fluō** ‎(“flow”). **cōnfluō**
    ‎(present infinitive cōnfluere, perfect active cōnfluxī); third
    conjugation, no passive     1. (intransitive) I flow or run
    together, meet.     2. (intransitive, figuratively) I flock or crowd
    together, throng, assemble.

⇢ **confluo** is a scalable distributed microservice framework using
AMQP/RabbitMQ as a broker.

.. code:: python

    import asyncio
    from confluo.core import Service

    a = Service("Service-A")
    b = Service("Service-B")

    @b.subscribe("/foo/bar")
    async def foo_bar_event(path, headers, body):
        print("Got /foo/bar event with body: '{0}'".format(body))
        response = await b.call("Service-A", "/bar", {"data": "Some body data"})
        print("Got response: '{0}'".format(response))
            
    @a.route("/bar")
    async def bar_command(path, headers, body):
        print("Got /bar command with body: '{0}'".format(body))
        return {"value": 1}

    if __name__ == "__main__":
        # connect services
        loop.run_until_complete(asyncio.wait([a.connect(), b.connect()]))
        
        # Publish event
        loop.run_until_complete(a.publish("/foo/bar", "wtf"))

        loop = asyncio.get_event_loop()
        try:
            loop.run_forever()
        except KeyboardInterrupt:
            loop.run_until_complete(asyncio.wait([a.shutdown(), b.shutdown()]))
            loop.stop()
            loop.close()

Usage
-----

Make sure rabbitmq is installed and running. e.g:

::

    sudo docker run -d --hostname my-rabbit --name some-rabbit rabbitmq:3-management
django-bootstrap-form 3.2.1
django-bootstrap-form
License: MIT
Keywords: bootstrap,django

=====================
Django bootstrap form
=====================

.. image:: https://badge.fury.io/py/django-bootstrap-form.png
   :alt: PyPI version
   :target: https://pypi.python.org/pypi/django-bootstrap-form

.. image:: https://travis-ci.org/tzangms/django-bootstrap-form.png?branch=master   
    :target: https://travis-ci.org/tzangms/django-bootstrap-form

.. image:: https://coveralls.io/repos/tzangms/django-bootstrap-form/badge.png?branch=master  
   :target: https://coveralls.io/r/tzangms/django-bootstrap-form?branch=master
   

Twitter Bootstrap for Django Form.

A simple Django template tag to work with `Bootstrap <http://getbootstrap.com/>`_


Usage
======

Add "bootstrapform" to your INSTALLED_APPS.

At the top of your template load in our template tags::

	{% load bootstrap %}

Then to render your form::

	<form role="form">
	    <legend>Form Title</legend>
	    {% csrf_token %}
	    {{ form|bootstrap }}
	    <div class="form-group">
	      <button type="submit" class="btn btn-primary">Submit</button>
	    </div>
	</form>

You can also set class="form-vertical" on the form element.

To use class="form-inline" on the form element, also change the "|boostrap" template tag to "|bootstrap_inline".

It is also possible to create a horizontal form. The form class and template tag are both changed, and you will also need slightly different CSS around the submit button::

	<form class="form-horizontal">
	    <legend>Form Title</legend>
	    {% csrf_token %}
	    {{ form|bootstrap_horizontal }}
	    <div class="form-group">
	      <div class="col-sm-10 col-sm-offset-2">
	      	<button type="submit" class="btn btn-primary">Submit</button>
	      </div>
	    </div>
	</form>


Demo
=====

Checkout this `Demo site <http://django-bootstrap-form.herokuapp.com/>`_ to see it in action.