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.1.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

csv2ies-1.0.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: csv2ies-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 a4e61e7ee5cf504e91d3241c171ce762357abd8a78f9f0dd57122d0762acb54c
MD5 82b54589859077bc20e8a22f5406b20f
BLAKE2b-256 234de12d55b0d6e8908c1b78528dfd0508680dce5898c972ebaf0f3c9bfbd944

See more details on using hashes here.

File details

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

File metadata

  • Download URL: csv2ies-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b1eb61d3fcf04fa012d1a1d4e2f6d91461044439f2145ae3dac00e36d1d4d81a
MD5 64c8c863ea956f8d1fc84e658d0e7289
BLAKE2b-256 cc478296500c6a5d52212fba546d0318f7f6d77a4bd4d7812cbcdd71971f30d5

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