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.3.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.3-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: untis_dif_file_writer-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 491be2164fc05d08ed7d21d8f17e585c4efedb85326627d7d020a50b89bc4ed5
MD5 44ef93bf3b2fadc6c78971568743c8f8
BLAKE2b-256 82d737a41a82bea2abd8707fcb5464d6b10b24acb45fcf97d207adf1e70899da

See more details on using hashes here.

File details

Details for the file untis_dif_file_writer-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for untis_dif_file_writer-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cdf8dcf9151bf222797770bbb3d667dd3664f8987e406e7f77922dcb8b5707da
MD5 10595543209c7b68873e66e05460608e
BLAKE2b-256 79130220d6450109664ce0a8bf167314540edf91a9b43c76525fa84c59ffeb36

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