ldifj
This Python script parses LDAP Data Interchange Format (LDIF) files, allows for the extraction of entries and, optionally, metadata.
🛠 Installation
Install the required modules with pip(x):
pip install ldifj
# the cool kids use pipx nowadays:
pipx install ldifj
🚀 Usage
usage: ldif [-h] [--metadata] [FILE]
positional arguments:
FILE LDIF file to parse, set to '-' to read from stdin
optional arguments:
-h, --help show this help message and exit
--metadata, -m
Include metadata
📝 Examples
To parse an LDIF file, run:
ldif example.ldif
ldif also accepts input from a pipe:
cat example.ldif | ldif
If you want to include the metadata in the returned JSON object:
ldif --metadata example.ldif
📜 License
Metadata
Release files for ldifj 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ldifj-0.1.1.tar.gz | 40.8 kB | Without provenance | Details for ldifj-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ldifj-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for ldifj-0.1.1-py3-none-any.whl |
Total release size: 68.5 kB
Release files / ldifj-0.1.1.tar.gz
| Download URL | ldifj-0.1.1.tar.gz |
|---|---|
| Size | 40.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
520311eb13b1035204cb561dad7f1d9f3244d0a3e2b435f14dc97faea8a81df1
|
|
BLAKE2b-256 checksum How to use checksums |
b11b99d299b82513c4cd27d6fc1b3c3b48066bb7fe8bb9bd53d499c8c5d2e908
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Release files / ldifj-0.1.1-py3-none-any.whl
| Download URL | ldifj-0.1.1-py3-none-any.whl |
|---|---|
| Size | 27.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a4a8ef285750a00330bb6f074500820b9a599e8e4954135a39d78d028ee00a3f
|
|
BLAKE2b-256 checksum How to use checksums |
975e6a47e6ccf5b4ef5d0004209838e059a01562c13a336f1780fa69f95cba45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Security for ldifj 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.