A Python package for sending traffic violation reports via Bilkent email
Project description
Bilkent Trafficæß
bilkent_traffic is a command-line tool designed to simplify reporting traffic violations at Bilkent University by sending an email through Bilkent's email system. The script allows users to select default or custom templates for reporting.
Features
- Choose between English and Turkish templates.
- Report car model, color, location, and reason for the traffic report.
- Customize email templates for different reports.
- Automatically sends email to
traffic@bilkent.edu.trusing Bilkent email credentials.
Installation
Using pip
- To install the latest version of
bilkent_traffic, usepip:
pip install bilkent_traffic
Requirements
-
Python 3.x
-
pyfiglet and pillow modules are automatically installed.
Usage
- After installing, you can use the bilkent_traffic command directly from your terminal:
bilkent_traffic
Command-line Steps:
- Enter your Bilkent email address.
- Enter your email password.
- Enter the email subject.
- Choose between a default template or a custom one.
- If using the default template, you'll be asked to provide:
- Car model
- Car color
- Location of the incident
- Reason for the report
- Time when the incident occurred
- If using a custom template, provide the path to your custom template file.
Development
- To contribute to the project or run it locally:
- Clone the repository:
git clone https://github.com/yourusername/bilkent_traffic.git
- Navigate to the project directory:
cd bilkent_traffic
- Install the required dependencies:
pip install -r requirements.txt
License
- This project is licensed under the MIT 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 bilkent_traffic-0.7.4.tar.gz.
File metadata
- Download URL: bilkent_traffic-0.7.4.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b782311d0a3afc7d45e54b2be521a10f09d2bbcde32dc17025c051e7133cb67e
|
|
| MD5 |
4f05eebca66561a68eea28ecd004498b
|
|
| BLAKE2b-256 |
6786d478a866c6efe90c439844867fa25fb0bb001d24b3fb083f653e4eca7714
|
File details
Details for the file bilkent_traffic-0.7.4-py3-none-any.whl.
File metadata
- Download URL: bilkent_traffic-0.7.4-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc9a1b8dbdfc4c11cf8150977e21e13fad184f2e696620b988ee93763bcc58a3
|
|
| MD5 |
3006ea385fbcbca70ec68d5ad024c995
|
|
| BLAKE2b-256 |
4e3f42ac3c3f6a45f915dd79a40298b54f5e6fa9e69ac154a69a3bea9c546df0
|