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

If you use uv, add the bin directory to your environment path permanently or just for the current session. To get the bin directory, run

$ echo $UV_TOOL_BIN_DIR

To add the bin directory to the path for your current session, run

$ uv tool update-shell

Run the application:

$ edupsyadmin --help

Getting started

Modify the config file

First, you have to update the config file with your data. To find the config file, run:

edupsyadmin info

In the output, you will see your config_path. Open the file using an editor that does not add formatting (for example Notepad on Windows). Change all values to the data that you want to appear in your documentation:

  1. First replace YOUR.USER.NAME with your user name (no spaces and no special characters):

    app_username: YOUR.USER.NAME

  2. Then change your data under schoolpsy

  schoolpsy_name: "Write out your name here"
  schoolpsy_street: "Your street and house number"
  schoolpsy_town: "Postecode and town"
  1. Under school, change the short name for your school to something more memorable than FirstSchool. Do not use spaces or special characters:

    MyMemorableSchoolName:

  2. Add the data for your school. The end variable will be used to estimate the date for the destruction of records (3 years after the estimated graduation date).

  school_head_w_school: "Title of your head of school"
  school_name: "Name of your school written out"
  school_street: "Street and house number of your school"
  end: 11
  1. Reapeat step 3 and 4 for each school you work at.

  2. Change the paths under filesets to point to the (sets of) files you want to use.

fileset:
  name_of_my_fileset:
    - "path/to/my/first_file.pdf"
    - "path/to/my/second_file.pdf"

Storing credentials

edupsyadmin uses keyring for 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)

For the keychain backend you want to use, add an entry using the username from your config.yaml.

  • Internet or network address: liebermann-schulpsychologie.github.io
  • User name: the_user_name_from_your_config_file
  • Password: a_secure_password

The database

The information you enter, is stored in an SQLite database with the fields described in client_model_documentation.md

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

Change values for the database entry with client_id=42:

edupsyadmin set_client 42 \
  "nachteilsausgleich=1" \
  "notenschutz=0" \
  "lrst_diagnosis_encr=iLst"

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

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

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 doc doc/_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-1.0.0b1.tar.gz (246.1 kB view details)

Uploaded Source

Built Distribution

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

edupsyadmin-1.0.0b1-py3-none-any.whl (113.5 kB view details)

Uploaded Python 3

File details

Details for the file edupsyadmin-1.0.0b1.tar.gz.

File metadata

  • Download URL: edupsyadmin-1.0.0b1.tar.gz
  • Upload date:
  • Size: 246.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.10

File hashes

Hashes for edupsyadmin-1.0.0b1.tar.gz
Algorithm Hash digest
SHA256 c290ea46c5a30a5ab8701186d4184c8ae58901c6e2e01f6e51d04ecf55bbdbef
MD5 5ae29431abddf2c929e438218eb09e76
BLAKE2b-256 76933311037eaba99229a6a581c817985050b9a35d5d1c704b92d1284494ad09

See more details on using hashes here.

File details

Details for the file edupsyadmin-1.0.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for edupsyadmin-1.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 437be05213a0d0a4728d2299ea1a004d7ad99a8646bdab03ba5ad5c9f9e747e7
MD5 68a653d09d36e76858aae64435e61691
BLAKE2b-256 b7008add40c1f2e33cda77498aec3ae6ff7225e6e9fd550e008152c7c0e3f0cd

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