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

Uploaded Python 3

File details

Details for the file bilkent_traffic-0.7.2.tar.gz.

File metadata

  • Download URL: bilkent_traffic-0.7.2.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.2.tar.gz
Algorithm Hash digest
SHA256 23727c1b2a91440b247567c3e19c8c84df5d338879c37fa8a34c8ea4e45bf0c5
MD5 4ca4b9f3aaf0597b2d8c843d8905234c
BLAKE2b-256 aaf29a4e16a46ca1372d8987123e34c54e05da1d3988ad5337f61908e4735a37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bilkent_traffic-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 47c0f7c7415ef73b64fc5993c95c031f29796ab95db29ce620a8eaa261cafa13
MD5 1679f3b221c5030037b9157b3eff0619
BLAKE2b-256 f47abd5b7470c8b9ed4b1b2a331330a7fd4564d7c006b329bbd1b12d9f2b7508

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