Skip to main content

A pythonic LDAP to Python object mapper

Project description

# LDAPom

LDAPom is a pythonic LDAP to Python object mapper. It should work with Python 2.7 and all versions of Python 3.

## Testing

Because LDAPom uses a real LDAP server for testing, OpenLDAP is required to be installed (i.e. slapd and slapadd have to be in $PATH).

# Install development dependencies pip install -r dev-requirements.txt # Run the tests python tests.py

## A note about Unicode strings in Python 2

LDAPom is source-code compatible with both Python 2 and Python 3. However, LDAPom expects unicode strings to be passed to it whenever a string is required.

For Python 2, this means that you should use the unicode type for str-type arguments and the str/bytes type for bytes-type arguments.

In Python 3, everything is exactly as you would expect. str for strings, bytes for binary data. Simple, really.

## License

LDAPom is licensed under the MIT license. For more information, see the COPYING file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ldapom-0.11.0.tar.gz (19.3 kB view details)

Uploaded Source

File details

Details for the file ldapom-0.11.0.tar.gz.

File metadata

  • Download URL: ldapom-0.11.0.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ldapom-0.11.0.tar.gz
Algorithm Hash digest
SHA256 93e9da46387b7eb35e95ad5def635ac7e4ead1ad32a83aba4913ed7a734ead05
MD5 a2fa3d32130d7843ca817bb52890d9ab
BLAKE2b-256 b9a1c1180e629b88759a7ce53b4656d024da3bb92f514522856a9712d1e7f1c8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page