Skip to main content

edupsyadmin provides tools to help school psychologists with their documentation

Project description

edupsyadmin

edupsyadmin provides tools to help school psychologists with their documentation

Basic Setup

You can install the CLI using pip or uv.

Install with uv:

$ uv tool install edupsyadmin

You may get a warning that the bin directory is not on your environment path. If that is the case, copy the path from the warning and add it directory to your environment path permanently or just for the current session.

Run the application:

$ edupsyadmin --help

Getting started

keyring backend

edupsyadmin uses keyring to store the encryption credentials. keyring has several backends.

  • On Windows the default is the Windows Credential Manager (German: Anmeldeinformationsverwaltung).

  • On macOS, the default is Keychain (German: Schlüsselbund)

Those default keyring backends unlock when you login to your machine. You may want to install a backend that requires separate unlocking: https://keyring.readthedocs.io/en/latest/#third-party-backends

Modify the config file

First, you have to update the config file with your data using the config editor TUI:

edupsyadmin edit_config

The database

The information you enter, is stored in an SQLite database with the fields described in the documentation for edupsyadmin

Examples

Get information about the path to the config file and the path to the database:

$ edupsyadmin info

Add a client interactively:

$ edupsyadmin new_client

Add a client to the database from a Webuntis csv export:

$ edupsyadmin new_client --csv ./path/to/your/file.csv --name "short_name_of_client"

Change values for the database entry with client_id=42 interactively:

$ edupsyadmin set_client 42

Change values for the database entry with client_id=42 from the commandline:

$ edupsyadmin set_client 42 \
  --key_value_pairs \
  "nta_font=1" \
  "nta_zeitv_vieltext=20" \
  "nos_rs=0" \
  "lrst_diagnosis=iLst"

See an overview of all clients in the database:

$ edupsyadmin get_clients

Fill a PDF form for the database entry with client_id=42:

$ edupsyadmin create_documentation 42 --form_paths ./path/to/your/file.pdf

Fill all files that belong to the form_set lrst (as defined in the config.yml) with the data for client_id=42:

$ edupsyadmin create_documentation 42 --form_set lrst

Development

Create the development enviroment:

$ uv v
$ uv pip install -e .

Run the test suite:

$ .venv/bin/python -m pytest -v -n auto --cov=src test/

Build documentation:

$ .venv/bin/python -m sphinx -M html docs docs/_build

License

This project is licensed under the terms of the MIT License. Portions of this project are derived from the python application project cookiecutter template by Michael Klatt, which is also licensed under the MIT license. See the LICENSE.txt file for details.

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

edupsyadmin-7.3.0.tar.gz (337.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

edupsyadmin-7.3.0-py3-none-any.whl (53.9 kB view details)

Uploaded Python 3

File details

Details for the file edupsyadmin-7.3.0.tar.gz.

File metadata

  • Download URL: edupsyadmin-7.3.0.tar.gz
  • Upload date:
  • Size: 337.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.2

File hashes

Hashes for edupsyadmin-7.3.0.tar.gz
Algorithm Hash digest
SHA256 64c817e56af5c4e2dc4765e34849655b4b59e2d7d2f9e5bb2c0022b19c89bc3a
MD5 399247486895a6049ca3dd20d8d93d5a
BLAKE2b-256 a4ea85feea58981b87a363da7bb328dab658f4679488a0b2918b5892d1593df1

See more details on using hashes here.

File details

Details for the file edupsyadmin-7.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for edupsyadmin-7.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e3cdee75ed1877a3885925ed542bb233fd72c6e16248d54d7be5d9b2a9c6934
MD5 482bf5be72777ca82a72df1089ba245a
BLAKE2b-256 a8da319cec4b6f14e3ddec34e3cc94ad6a7eb231bf30fe19b0fc13d2bb43eb9b

See more details on using hashes here.

Supported by

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