Skip to main content

Simple CLI script to reserve spot at University of Milan (UNIMI) Library

Reason this release was yanked:

new library reservation policy

Project description

Unimi-Library-CLI

Simple CLI script to reserve spots at University of Milan (UNIMI) Library

Static Badge

Installation

Install Unimi-Library-CLI with pip

  pip install Unimi-Library-CLI

Install a specific version

  pip install Unimi-Library-CLI==X.X.X

By deafult, pip will install the latest version of dependencies. However, the tested version are listed in requirements.txt and can be installed using

  pip install -r requirements.txt

Example

pip -m UnimiLibrary book -date 2024-09-23 -floor ground -start 13:00 -end 21:00

Configuration

Before using the package, you need to configure the values in the config file by running

pip -m UnimiLibrary config -name NAME -email EMAIL -password PASSWORD -cf CODICEFISCALE -start HH:MM -end HH:MM -floor [{ground, first}]
Argument Value Info/Format Example
-name NAME Last name + First name, first letter must be uppercase, wrapped in double quotes "Rossi Mario"
- email EMAIL Unimi institutional email nome.cognome@studenti.unimi.it
-password PASSWORD Unimi account password ABCDE123
-cf CODICEFISCALE must be uppercase WRBJDC66C65B642X
-start HH:MM reservation's start time, 24-hour format 13:00
-end HH:MM reservation's start time, 24-hour format 21:00
-floor ground/first target floor ground

Please note that all values must be properly configured for the package to function correctly. This entire setup is required only once, and you can modify individual parameters later if needed.

Usage

For more in-depth usage instructions, please refer to the built-in manual by accessing the help message within the package using

pip -m UnimiLibrary [book | list | freespot | quick | config] -h

Roadmap

  • Display active reservations

  • Delete active reservations

Contributing

Contributions are always welcome! For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the terms of the MIT license

Authors

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

unimi_library_cli-1.0.1.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

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

unimi_library_cli-1.0.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unimi_library_cli-1.0.1.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for unimi_library_cli-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ca4277062446f488293a6f3f0f8d730ccf2adf5799b3795a9a219dccb849f784
MD5 ed87eadcb5b0fd9b40db11f15c21014d
BLAKE2b-256 77203579368c3e49910b58a92b7edce8542282bcf9459c1386b3499aedce3497

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unimi_library_cli-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 91b98510185d8f1ecc1e3cfc017239d5b48be3b01d4c9d92b9ea2411aaf8f881
MD5 9b09bebcb414d8f5cdd38b5d9b659629
BLAKE2b-256 ca12530f045e3bde489560620b105b8f8a603d22c369ca7126b8d5a43883dd4c

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