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

Uploaded Python 3

File details

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

File metadata

  • Download URL: bilkent_traffic-0.7.3.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.3.tar.gz
Algorithm Hash digest
SHA256 4d0603e546ca1966e94d908d2eb0b6588c805cac9b5446eacb47209ba46a8025
MD5 0c9dc6b4ca3be38f13887eb0aad73fb7
BLAKE2b-256 c7ab18a96ddd87efe3bfbf48cbb804d08b51f60197b26e52ed243b24788359e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bilkent_traffic-0.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a55df3fa6990b6768116a57bc9986685958761bab5c412cf4064c8705b23887b
MD5 36caafbb20aa56c4322bcfcb83c124f4
BLAKE2b-256 fe9785e00e86c4a3c1a7532f046847f95f92ff32b756cce452a02aa7b5c1d668

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