csv2ies
Let's import users from a CSV file into an IES instance via it's REST API.
Installation
pip install csv2ies
Usage
- Needed user pools need to be created in user management beforehand.
- Open your folder with your CSV File in the terminal.
- Create an example config via
csv2ies config - Edit the created config.json file accordingly to your needs
- Add Aliases to match user pool names to anchors
- Run the import:
csv2ies run
CSV column names and quirks
Known column titles are (case-insensitve):
- "Nutzername", "Login"
- "Vorname", "Firstname"
- "Nachname", "Name", "Lastname"
- "E-Mail", "Email"
- "Geschlecht", "Anrede", "Gender"
- "Notiz", "Note"
- "Rolle", "roleList"
- "Bereich", "Zones"
- "Passwort", "Password"
Valid roles (Rolle) are:
- "Redakteur", "Nutzer", "User"
- "Admin", "Administrator"
- "Gast", "Extern", "Guest", "External"
If a user belongs to multiple Zones (Bereiche) values need to be separated by semicolons. Zone names are case-sensitive!
Gender values are mapped from first letters (csse-insensitive):
- "h" & "m" map to male
- "f" & "w" map to female
- "d" & "n" map to diverse
- everything else results in unknown gender
Metadata
Release files for csv2ies 1.0.3
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 |
|---|---|---|---|---|
| csv2ies-1.0.3.tar.gz | 6.8 kB | Without provenance | Details for csv2ies-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| csv2ies-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for csv2ies-1.0.3-py3-none-any.whl |
Total release size: 14.1 kB
Release files / csv2ies-1.0.3.tar.gz
| Download URL | csv2ies-1.0.3.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ceaaaa1c314ebd832e4d92b3e36543d2754e85c2b16d3614757516f9d29646c
|
|
BLAKE2b-256 checksum How to use checksums |
b4cdedbcb7b3ffe3bafa0d0ede23c271355da68c368fd9010528e429e71b6ab5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / csv2ies-1.0.3-py3-none-any.whl
| Download URL | csv2ies-1.0.3-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7125f3f956dfa32c6a25a8113df765a0da772e2df47536b9206b5614fd92dd63
|
|
BLAKE2b-256 checksum How to use checksums |
366bcf9aa378fa674ce4d92ec1b84cd2d18db73129e5e810fb0b47c53d12693e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Security for csv2ies 1.0.3
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.