Skip to main content

A library to write dif-files from Untis.

Project description

untis-dif-file-writer

A simple Python package to write dif-files from Untis.

See https://platform.untis.at/HTML/WebHelp/de/untis/index.html -> search for "export dif" -> Export/Import DIF-Dateien.

Installation

pip install untis-dif-file-writer or poetry add untis-dif-file-writer

Usage

from untis_dif_file_writer.writers import write_dif_file, write_xml_file, write_all_dif_files, UntisFileNumber

# Write the students dif-file:
write_dif_file(UntisFileNumber.STUDENTEN, 
               "path/to/Untis.exe",
               "path/to/Untis-file",
               path_output_folder="path/to/output/folder"),
               output_file_name="students.TXT")

# Write the xml-file:
write_xml_file("path/to/Untis.exe", "path/to/Untis-file")
               
# Write all dif-files:
write_all_dif_files("path/to/Untis.exe", "path/to/Untis-file")

Index of columns in dif-files:

from untis_dif_file_writer.dif_files_columns import UntisFileKlassen

print(UntisFileKlassen.MIN_STUNDEN_PRO_TAG.value) 

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

untis_dif_file_writer-0.1.2.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

untis_dif_file_writer-0.1.2-py2.py3-none-any.whl (5.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file untis_dif_file_writer-0.1.2.tar.gz.

File metadata

  • Download URL: untis_dif_file_writer-0.1.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Windows/10

File hashes

Hashes for untis_dif_file_writer-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b006c89b9656ff76ecae5ff9c55b7ad747d2e04b91b11dc303146075586b8357
MD5 773c4bbe837679158445ca4ce5bbb3ef
BLAKE2b-256 852edb2ea7ac9467b1a0f5d9f17d40d3ed0b47a39000e225050c368e465643b8

See more details on using hashes here.

File details

Details for the file untis_dif_file_writer-0.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for untis_dif_file_writer-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 db48931771dac710f140bdacddf12186457c7eac91ba8fa2d6ca6968bfa40d98
MD5 2e3e8f6e91777d4b19714d0039d5e722
BLAKE2b-256 d23942525dbccb2630a34f87c89bf904dfcd07ea11026c9fbb0de3d6a75a5793

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