Import users from a CSV file into IES
Project description
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file csv2ies-1.0.3.tar.gz.
File metadata
- Download URL: csv2ies-1.0.3.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ceaaaa1c314ebd832e4d92b3e36543d2754e85c2b16d3614757516f9d29646c
|
|
| MD5 |
6570948297fae9d2296e4a626f7637f3
|
|
| BLAKE2b-256 |
b4cdedbcb7b3ffe3bafa0d0ede23c271355da68c368fd9010528e429e71b6ab5
|
File details
Details for the file csv2ies-1.0.3-py3-none-any.whl.
File metadata
- Download URL: csv2ies-1.0.3-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7125f3f956dfa32c6a25a8113df765a0da772e2df47536b9206b5614fd92dd63
|
|
| MD5 |
7289598910113741a36fdaa46b40994a
|
|
| BLAKE2b-256 |
366bcf9aa378fa674ce4d92ec1b84cd2d18db73129e5e810fb0b47c53d12693e
|