Archive

Archive for June, 2024

Flowers Photography _3


Black and white shot of a flower bouquet in my living room,  I am using Sony RX100vii camera with b/w picture profile.

ISO 3200, F4, shutter speed 1/200s, and the Focal-Point 24mm.

For more picture profile settings, Click-Here

London 2023, Post 80


At LV, Bond Street, London 2023 was the trip that I use two cameras, Fujifilm X-T30ii and Nikon S9900,  this shot taken by Nikon S9900,  although it is an old 2016 camera and i am using small imagessize, but the details and the focus (if it loucks on the subject 🙂 )are awesome. 

Photos from Qatar _124


radwani photography sony RX100vii RX100M7 blackandwhite qatar street sample

Westbay,  Qatar, under construction property.  Using my Sony RX100vii camera and taking the shot while waiting on traffic lights. Unfortunately, the exposure value ev was +1 (I was testing something and forgot to set it back to 0, the ISO 200, Focal-Point 24mm, F4 and shutter speed 1/667s.

Flowers Photography


Flowers Photography in Classic Chrome picture profile using Sony RX100vii camera.

Python: Simple Ticket System

June 9, 2024 1 comment

Subject: Writing a Simple Ticket System Application
Learning : Python, SQL, Logeic

Introduction:
A Ticket System serves is a tool for managing and tracking customer support interactions or internal task requests efficiently. It offers a centralized platform where users can submit their issues, questions, or requests, known as Tickets, and designated personnel can address them promptly. This article outlines the structure and functionality of a Ticket System, emphasizing the importance of organization, efficiency, and accountability in handling various requests.
In coming weeks I will work to create Python “Simple Ticket System”, using DataBase to store the data,I will try to publish the code and documentation about this project. In this post I will draft-down a brain-storming session with myself of what may we need in this system, tables and functions. So points may not be consistent and organized and ordered in the right way.



Notes:

  • Anything in this articale concidered as draft and may changed later.
  • Functions and Tables in coming lines are not in order
  • creation of the database will not be in one time, so we will use ALTER many times to add or change the tables.
  • All the data will be as test and not real.



Functions:
Main Functions in the system to add and manage the data and interact with the Database and records.

  • 1. Tickets:
  • Add, Edit, Delete and Show Tickets in the system.

  • 2. Priority.
  • Add, Edit, Delete and Show Priorety in the system.

  • 3. Department.
  • Add, Edit, Delete and Show Department in the system.

  • 4. Status.
  • Add, Edit, Delete and Show Status in the system.

  • 5. Category.
  • Add, Edit, Delete and Show Category in the system.



Helping Functions:
Functions that will help to perform some action within the system or other main function.

  • 1. Show List:
  • To list/show the data we have in a lookup table.

  • 2. Export to Excle:
  • Exporting the data to an excel file.[Backup]

  • 3. Check Availability:
  • To check if the user input is exist in the lookup table or not.


Tables:
All the Tables Names and fields are subject of change during the implementation.

1. Staff Table (staff):

  • s_id (Staff ID)
  • name
  • mobile
  • email
  • position (manager, technical, etc.)

2. Ticket Table (ticket):

  • t_id (Ticket ID)
  • dep_id (Department ID)
  • date (Creation Date)
  • asignto (Assigned To: s_id)
  • description
  • priority_id (High, Medium, Low)
  • status_id (Open, In Progress, Resolved, Closed)
  • updated_date
  • category

3. Category Table:

  • c_id (Category ID)
  • cat_name (Category Name)

4. Ticket Notes Table (t_notes):

  • tn_id (Note ID)
  • note
  • 5.Priority Table (priority):

    • pr_id (Priority ID)
    • pri_level (Priority Level: High, Medium, Low)

    6.Status Table (status):

    • stat_id (Status ID)
    • stat (Status: Open, In Progress, Resolved, Closed)

    7.Staff Job Table (staff_job):

    • sj_id (Job ID)
    • job_id
    • received_date
    • finished_date
    • status_id
    • note_id

    8.Departments Table (departments):

  • dep_id (Department ID)
  • dep_name


  • Versions Policy:
    In this system i will create version 1 and will be released with all esintial functions to perform and work, however there will be some ideas to enhance the data entry and reporting also some validations that will be done later in version 2.

    Part 1:
    in Part1 we will do the folloeing:

    • Define the Tables and their fields initially.
    • Write the code to create the database and selected tables.
    • Writing the code to insert initial data in selected tables .
    • Initial naming of functions.
    • Create the Main Menu
    • Create the Menu for the Lookups Table



    :: Ticket System ::

    Intorduction Part 1 Part 2 Part 3



    ..:: Have Fun with Coding ::.. 🙂

    To Download my Python code (.py) files Click-Here



    ali radwani ahradwani.com python projects codeFollow me on Twitter..

    By: Ali Radwani

    London 2023, Post 78


    London Street Photography,  photo from 2023 trip,  wolking around in Bond streets with family. All the photos taken in Oxford and Bond were with Nikon S9900.

    Photos from Qatar _123


    radwani photography sony RX100vii RX100M7 blackandwhite qatar street sample

    Park fence  next to the kid’s school. I was in the car waiting,  and I took this shot. I use the Sony RX100vii camera, where I am trying to have this camera with me most of the time.

    Click Here to see the camera settings to have the picture profile that I create.

    London 2023, Post 79


    London Street Photography using Nikon S9900.

    London 2023, Post 77


    London Street Photography using Nikon S9900 camera set to Black and White.

    Photos from Qatar _122


    A photo taken by Sony RX100vii camera for Al-Corniche area.