Coder Social home page Coder Social logo

hackthacker / data_entry Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 10 KB

Efficiently manage and organize employee data with this Python-based Employee Data Management System. Automatically generate employee IDs, validate mobile numbers, and determine operator names. Save records to CSV and Excel files effortlessly.

Home Page: https://hackthacker.blogspot.com

Python 100.00%
data-entry data-entry-automation data-entry-tasks data-science data-entry-csv

data_entry's Introduction

Data Management System

Certainly! Here's a comprehensive README.md file for your GitHub repository that provides a detailed explanation of how the code works:

Data_entry using python

This Python program is a simple Data Management System that allows you to create, read, and store employee records. It also provides the option to save employee data to CSV and Excel files. The system automatically assigns employee IDs and includes functionality to validate mobile numbers and determine the operator name based on the number's prefix.

Features

  • Create employee records with automatically incremented employee IDs.
  • Read and display employee data.
  • Save employee data to CSV and Excel files.
  • Validate mobile numbers and determine the operator name.

Prerequisites

Before running the program, ensure that you have Python installed on your system. You'll also need to install the following Python libraries if you haven't already:

  • pandas: Used for data manipulation and CSV handling.
  • openpyxl: Used for Excel file handling.

You can install these libraries using pip:

pip install pandas openpyxl

Usage

  1. Clone the repository to your local machine:
git clone https://github.com/hackThacker/Data_entry.git
  1. change the working directory
cd Data_entry
  1. Run the Python script:
python employe_data_entry.py
  1. Follow the on-screen menu to perform various actions:

    • Create Employee: Enter employee details, including first name, last name, location, age, and mobile number. The program will automatically assign an employee ID and determine the operator name based on the mobile number prefix.

    • Read Employee Data: Search for an employee by entering their ID and view their details.

    • Save to CSV: Save all employee data to a CSV file named "employees.csv."

    • Save to Excel: Save all employee data to an Excel file named "employees.xlsx."

    • Exit: Quit the program.

Operator Name Determination

The program determines the operator name (NTC or Ncell) based on the starting digits of the mobile number as follows:

  • NTC: Mobile numbers starting with 984, 985, 986, 976, 974, or 975.
  • Ncell: Mobile numbers starting with 980, 981, 982, or 970.

Data Validation

  • Employee mobile numbers must be 10 digits long.
  • The program validates mobile numbers to ensure they meet the required format.

Sample Data

Sample data for employee records is included in the CSV file "employees.csv" as an example.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Make sure to replace the placeholders like `yourusername` with your actual GitHub username, and customize the repository and license information as needed. This README.md provides a clear and detailed explanation of the project's features, prerequisites, and usage instructions.

data_entry's People

Contributors

hackthacker avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.