This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

A LDAP-backed key-value store backend for Indicium.

Usage

# Instantiate and write some data.
from indicium.ldap import LDAPStore
store = LDAPStore("ldap://localhost")
store.put("/dc=org/dc=test", { "dc": "test", "o": "My organization",
        "objectClass": ["top", "dcObject", "organization"] })

# Read the data back.
org = store.get("/dc=org/dc=test")

# Using the DN directly is also possible.
assert org == store.get("/dc=test,dc=org")

Note that a directory service accessed using LDAP is supposed to have a certain structure, so depending on the schema and structure used by the directory server, and therefore the set of useable keys (and whether they are writeable or not) will vary. In particular:

  • Path components of keys are mapped to the DN components of the LDAP entities, in reversed order.
  • When using .put() is is mandatory to specify an objectClass attribute. Note that when writing to existing objects it is possible to specify a different objectClass value to mutate the object, but this is discouraged and may not work with some directory servers—it may be needed to .delete() the entity first.
  • Using .put() to modify an existing object uses MODIFY_REPLACE change operations, which means that values of attributes will be replaced, or added, but never removed. For now the only way of deleting entity attributes is to .delete() the entity first, and then re-create it.

Installation

All stable releases are uploaded to PyPI, so you can install them and upgrade using pip:

pip install indicium-ldap

Alternatively, you can install the latest development code —at your own risk— directly from the Git repository:

pip install git://github.com/aperezdc/indicium-ldap

Development

If you want to contribute, please use the usual GitHub workflow:

  1. Clone the repository.
  2. Hack on your clone.
  3. Send a pull request for review.

If you do not have programming skills, you can still contribute by reporting issues that you may encounter. Contributions to the documentation are very welcome, too!

Release History

Release History

0.1.0a0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
indicium-ldap-0.1.0a0.tar.gz (5.7 kB) Copy SHA256 Checksum SHA256 Source Mar 29, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting