Python script designed to streamline dorm room cleaning assignments
Project description
Pratac Package
Pratac is a Python package designed to help you manage cleaning schedule for different participants in various rooms over multiple weeks. It provides functionality to calculate week offsets, process arguments, and retrieve schedules for specified individuals or all participants. :)
Installation
You can install Pratac via pip:
pip install pratac
Usage
Command Line Interface
Pratac comes with a command-line interface (CLI) to facilitate schedule management. Here's how you can use it:
pratac [-h] person [--week_offset num]
person: The name of the person for whom you want to retrieve the schedule. Use "all" to get schedules for all participants.
Optional arguments:
--week_offset: The offset in weeks from the starting date. Default is 0. Next week is 1, previous week is -1, and so on.
Example
To retrieve the schedule for a specific person:
pratac Mato
To retrieve schedules for all participants for the upcoming week:
pratac all 1
Definitions File
Pratac requires a definitions file where you can specify/customize participants and rooms. Make sure to set these appropriately before using the package.
Development
If you'd like to contribute to Pratac or report issues, you can find the project on GitHub.
License
This project is licensed under the Apache License - see the LICENSE 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pratac-0.3.1.tar.gz.
File metadata
- Download URL: pratac-0.3.1.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.9 Darwin/24.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bfc0b216de6e8045f571de3a3caad22a0e1f7e7d7deefa0ab6528ea8da93a0d
|
|
| MD5 |
07b6fbb5ac998f80edcfd01606ecaee4
|
|
| BLAKE2b-256 |
c2ac0473dc8c8bf1880a6f42d7807d2e3434e61ee2f5a6bcf5361d3c5b1dbc22
|
File details
Details for the file pratac-0.3.1-py3-none-any.whl.
File metadata
- Download URL: pratac-0.3.1-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.9 Darwin/24.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca0244e50dc19e9baea0b7914ad020d877ab559817913fea7e3d437634f5fcfd
|
|
| MD5 |
12327aa9e708db40c263f3ba6ba652bc
|
|
| BLAKE2b-256 |
3891634c412f43344399a831a53488d395799c3caef02a9562af4e2bd2d96f9d
|