Skip to main content

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

csv2ies-1.0.2.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

csv2ies-1.0.2-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file csv2ies-1.0.2.tar.gz.

File metadata

  • Download URL: csv2ies-1.0.2.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for csv2ies-1.0.2.tar.gz
Algorithm Hash digest
SHA256 fdbb6524ba6932822efaf06816f109c03adfac6e28d17238eb29352ebb9506d7
MD5 f83a520ab07f2018df51d69699264c57
BLAKE2b-256 95b2779e5a0a3f941dc0e8815114706fef411317ff7ddb595723bbc140d7d4b7

See more details on using hashes here.

File details

Details for the file csv2ies-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: csv2ies-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for csv2ies-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b872df0202d4df3aee0c24b055310151257bbd9e19e293f0fc75214a95f1ccd8
MD5 d67156ea8ffdeab6c59361719bee53eb
BLAKE2b-256 8eb6591411eb188865b3b6f280f343a8cc82568721b8719f75a547c9a81be878

See more details on using hashes here.

Supported by

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