Skip to main content

A Python package for sending traffic violation reports via Bilkent email

Project description

Bilkent Trafficæß

Bilkent Traffic Gif

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.1.tar.gz (4.1 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.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bilkent_traffic-0.7.1.tar.gz
  • Upload date:
  • Size: 4.1 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.1.tar.gz
Algorithm Hash digest
SHA256 48c9e033282ad64f5f446d3be747fa02d25bec5b11f576ced6f815c6da8e929d
MD5 27974b12f72339f279fe5b248664dec2
BLAKE2b-256 9017a824d4a5abc514832cf71606bea8759890fb30027b90965e5023f98851c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bilkent_traffic-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4266ab15396cc54c5d14b7d941a57a786ba5b7874e8522968562bf1d6bc51096
MD5 8c4bff2f0b678dc80a5733efdb008ae2
BLAKE2b-256 9723e8cbca3ed579d42407d7846e7875a7b1d380b392ec3554d01c2030754221

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