Manage mining company.
Project description
Interkamen Program
ver 1.16.0
This is corporative program of mining company to work with statistic and financial reports.
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Prerequisites
For working with program source you need to install on your machine:
- python 3.7+ And python frameworks:
- pandas
- matplotlib
- openpyxl
- Pillow
- Sentry
- bcrypt
Installing
- Copy repository or download files on your computer.
- Unzip data.zip (test datafile) in root folder of program.
- If you want to test login system launch interkamen.py login: admin password: admin
- If you want to test program fast, launch dev_interkamen.py
Built With
- python3.6 - Programming Language.
- pandas - Python Data Analysis Library.
- matplotlib - Python 2D plotting library.
- openpyxl - A Python library to read/write Excel 2010 xlsx/xlsm files.
- Pillow - PIL is the Python Imaging Library.
- Sentry - Open-source error tracking.
- bcrypt - Good password hashing for your software and your servers.
Contributing
Please email to acetonen@gmail.com for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning.
what's new in 1.16.0:
MINOR:
- Add sentry token input.
- Add optional logger error configure.
- Add argparser.
what's new in 1.15.0:
MINOR:
- Creation default admin account.
- Add strong cryptography. PATCH:
- Fix logger bug with encoding log file.
- Fix deleting workers.
- Fix program version view.
- Fix shift calendar.
what's new in 1.14.0:
MINOR:
- Merge backup module with email.
- Add thread into status sender.
- New non-brigade worker profession choosing from list.
- Migrate users base for sample data.o
- Add confirm_deletion_decorator in basic functions.
- Add set_plotter_parametrs to standard functions.
- Migrate all modules to slots. PATCH:
- Immediately working with main report after complete.
- Add check_correcct_email into standard functions.
- Add change user email.
what's new in 1.13.1:
PATCH:
- Fix 'loWWer' bug.
- Fix problem with program path.
what's new in 1.13.0:
MINOR:
- Add threads to source file.
- Add Autosum in drill passports.
- Add event to show threads results.
- Add thread to main report backup. PATCH:
- Tomorrow ITR list.
- Fix corrupted log file.
- Self destruction password check fix.
- English literals in variant options.
- Fix temp_drill_instrument_report bug.
what's new in 1.12.0:
MINOR:
- Add 'bcrypt' password hashing. PATCH:
- Fix showing brigade rating.
- Add 'boss' to info type.
- Add 0 option for float input.
- Fix tomorrow color in career status html.
- Add new drill passport name check.
- Turn off logging system while using sentry.
- Add expl works to career status automatically.
what's new in 1.11.0:
MINOR:
- Dump real brigade salary to exel.
- Integrate sentry0.6.4 log system. PATCH:
- Fix bug with empty career status.
what's new in 1.10.1:
MINOR:
- Beautifully calendar of available days in mechanics report.
- Count bits in rock in drill instrument report. PATCH:
- Fix dump to Exel path bug.
- Fix unsave tamp drill instruments report.
what's new in 1.10.0:
MINOR:
- Add logging system.
- Migrate from os.path to -> pathlib. PATCH:
- Change main script flow.
- Fix career status if none works planed.
- Add LOGGER to module scope in Users and Career Status.
- Fix bug in mechanics report and reminder.
- Add logger to all modules.
- Add working with logs.
- Add dump to exel for salary.
- Automate count meters for drillers.
- Round DSH in drill passports.
- Add message to career status email.
- Add exception to exit in main menu.
- Add ready to input in career report.
- Edit flow in All modules.
- Delete ENTER for main menu.
what's new in 1.9.0:
- Add salary module.
- Move career status to basic.
- Add 'break' to news view
- Add daily mechanic report in self menu.
- Add recreation for daily report.
- Add reminder to update career map.
- Add edit workers profession in workers module.
- Add different persents for brigadires.
- Clean log file when enter program.
- Add dump to exel for negabarites.
what's new in 1.8.1:
- Add Round to 0,5 in explosive.
- Add totall in drill passports.
- Add calendar in HTML career status.
- Add non gabarites type of drill passport.
- Normalise 5+ meters bareholes to 5 meters in exel drill passports.
- Change volume count in exel drill passport.
- Add except ConnectionResetError in email module.
what's new in 1.8.0:
- Create HTML dayli report to email send.
- Change exl files destination.
- Add dump ktu to exl in main report.
- Fix adding temp drill report if rock mass not exist.
- Add send html in email.
- Add coordinates to working plans in daily report.
what's new in 1.7.3:
- Add total destruction for program data.
- Add massive_type to drill pass parametrs.
what's new in 1.7.2:
- Create new package to work with exl files.
- Remake AbsPath module.
- Fix daily report bug.
what's new in 1.7.1:
- Fix news/ path bug.
- Add exel dump for drill passport.
what's new in 1.7.0:
- Add news module.
- Custom reminder.
- Add stupid timer in master daily report.
what's new in 1.6.1:
- Make career status fill more user-friendly.
what's new in 1.6.0:
- Add career status module.
- Add comma protect in all reports.
- Add user with 'info' access.
what's new in 1.5.1:
- Add Working calendar module.
- Add notifications for create mechanics and drill report.
what's new in 1.5.0:
- Add Drill passport.
- Fix check date format.
what's new in 1.4.1:
- Fix date view in mechanics report.
- Fix error when you try show rating and haven't brigades results yet.
what's new in 1.4.0:
- Add Brigade rating system.
- Fix plots in report analysis module.
- Move check_date_in_dataframe from mechanic_report to standart_functions.
- Fix mechanic log.
- Make standard date input.
- Make submenus in admin meny by directions.
what's new in 1.3.0:
- Add maintenance calendar for mechanic.
- Add reminder module.
- Add reminder for maintenance.
- Add 'stand reason' visualization to mechanics reports.
- Fix bug in mechanics report when try to show stat and brigade 2 are empty.
- Make backup after complete main report.
- Merge stat_by_year and stat_by_month methods into stat_by_period.
what's new in 1.2.0:
- Add "edit report" in mechanics reports.
- Remove 'exit by ENTER' from mechanics report.
- Add correct check input hours in mechanics report.
- Add more intuitive navigation in mechanic menu.
- Add manual backup in administrator menu.
- Replace txt backup log to pickle.
what's new in 1.1.2:
- Add availability to create drill report if main report not exist yet.
- Fix backup bug.
what's new in 1.1.1:
- OOP style in pyplots.
- Add "already exist" view for mechanics report.
- Add brigadiers to salary list.
what's new in 1.1.0:
- Restructuring program files.
- Add emailed module.
- Add Email settings into administrator menu.
- Add Mechanics report.
- New administrator menus.
- Make menu navigation simpler.
- Add Email notifications for main report.
- Add view reports by year in finance.
- Add Employing date and penalties to workers.
what's new in 1.0.1:
- Remove 1,5 coefficient from buh. salary.
- Add 'rock mass by month' plot in 'report_analysis'.
- Colorful salary workers and drillers.
Content and Instruction
1. Log in program
Content of program depend on user access. By default you have admin user access. Admin user include in test data file. To log in program: Username: admin Password: admin
2. Main menu
In header of main menu you may see different remainder that depend on user 'access'.
From this menu you have access to different sub-menus (depend on user access) and basic functions such are:
[7] - 'workers telephone numbers', [8] - 'shifts calendar' [9] - 'change password', [10] - 'showing news' [11] - 'career status' [12] - 'exit program'.
Red menus are 'admin-only'
3. Admin menus
This menus give you access to:
- read/delete/search in logs
- create/delete/edit new user
- create/show company structure
- make/edit reminds for different users category
- make backup of all data files
- edit email notification and backup settings
- add email to receive career status report
4. Workers menu
In this menu u can:
- Create new worker
- Show all workers from division
- Show laying off workers (from worker archive)
- Return worker from archive
- Edit worker
- Show anniversary workers
- Create shift calendar of this year
5. Financial menu
In this menu u can:
- Count workers salary
- Create brigade rating total
- Edit list of salary
- Edit lists of brigadiers, salary workers, drillers
6. Mechanics menu
In this menu u can:
- Show plots with all mechanics stats (KTI, KTG)
- Create daily mechanic report, that goes to career status report automatically
- Create report for machine maintenance
- Edit report for machine maintenance
- Working with maintenance calendar
5. Mining master menu
In this menu u can:
- Show all stats about brigade works, results, drill instruments
- Create main master report that goes to main career report
- Edit master report
- Create drill passport
- Edit drill passport
- Create drill instrument report
- Give rating to brigade
- Create daily master report that goes to career status report
Authors
- Anton Kovalev - my gitHub - Acetonen
License
This project is licensed under the GNU GPL v3.0 - see the GNU
Acknowledgments
- Thx adw0rd for great help.
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
Built Distribution
Hashes for interkamen_career-1.16.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 004ff0cf9a5b8d66a57f7587aaab2e4c9420969a2c1ee035935be8482838bc60 |
|
MD5 | beee86bdc48dfa2a393f226601ff99f3 |
|
BLAKE2b-256 | 1416607e874a8153ce0909accc58c5fa6dc1b77ea325a06e89242e838e06d3c1 |