Skip to main content

A Python package for sending traffic violation reports via Bilkent email

Project description

Bilkent Trafficæß

Bilkent Traffic Gif YouTube

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.tr using Bilkent email credentials.

Installation

Using pip

  • To install the latest version of bilkent_traffic, use pip:
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:

  1. Enter your Bilkent email address.
  2. Enter your email password.
  3. Enter the email subject.
  4. Choose between a default template or a custom one.
  5. 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
  6. If using a custom template, provide the path to your custom template file.

Development

  • To contribute to the project or run it locally:
  1. Clone the repository:
git clone https://github.com/yourusername/bilkent_traffic.git
  1. Navigate to the project directory:
cd bilkent_traffic
  1. 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

bilkent_traffic-0.7.4.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

bilkent_traffic-0.7.4-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

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

Hashes for bilkent_traffic-0.7.4.tar.gz
Algorithm Hash digest
SHA256 b782311d0a3afc7d45e54b2be521a10f09d2bbcde32dc17025c051e7133cb67e
MD5 4f05eebca66561a68eea28ecd004498b
BLAKE2b-256 6786d478a866c6efe90c439844867fa25fb0bb001d24b3fb083f653e4eca7714

See more details on using hashes here.

File details

Details for the file bilkent_traffic-0.7.4-py3-none-any.whl.

File metadata

File hashes

Hashes for bilkent_traffic-0.7.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bc9a1b8dbdfc4c11cf8150977e21e13fad184f2e696620b988ee93763bcc58a3
MD5 3006ea385fbcbca70ec68d5ad024c995
BLAKE2b-256 4e3f42ac3c3f6a45f915dd79a40298b54f5e6fa9e69ac154a69a3bea9c546df0

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