Package: interkamen-career
Interkamen Programver 1.18.9This is corporative program of mining company to work with statistic and financial reports.Getting StartedTo simple install this program use :pip install interkamen-careerThese 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.PrerequisitesFor working with program source you need to install on your machine:python 3.7+
And python frameworks:pandasmatplotlibopenpyxlPillowSentrybcryptpytcryptodillInstallingCopy 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: adminIf you want to test program fast, launch dev_interkamen.pyBuilt Withpython3.7+- 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.ContributingPlease email toacetonen@gmail.comfor details on our code of conduct, and the process for submitting pull requests to us.VersioningWe useSemVerfor versioning.what's new in 1.18.6:PATCH:Fix plotting 2019 bug.Fix career status bug.what's new in 1.18.2:PATCH:Fix barehole depth in exel.what's new in 1.18.1:PATCH:Fix mech report bug.Show meters in career status.what's new in 1.18.0:MINOR:Add empty path creation in dump to exel module.Add bonus for salary workers.Add version associated with sentry.Add password difficult check.Add workers salary counter module.Add dump to exel workers salary.
PATCH:Refactoring report analyses.Update setup requirements.Refactoring mechanics report.Fix brigadires salary.Fix exel main report fill.what's new in 1.17.0:MINOR:Migrate to dill from pickle.Add CTRL+Z for exit in main menu.Add financial statistic in report analysis.Add one shift cost machine statistic.Add manually career status send.Add salary analysis.Improve menus navigation.
PATCH:Append PYTHONPATH to capability with old program data.Add multiplatform path support.Fix decrypt bug in last backup date check.Fix ITR shift dates.Fix default email properties.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.oAdd confirm_deletion_decorator in basic functions.Add set_plotter_parametrs to standard functions.Migrate all modules toslots.
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 viewAdd 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 Instruction1. Log in programContent 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: admin2. Main menuIn 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 menusThis menus give you access to:read/delete/search in logscreate/delete/edit new usercreate/show company structuremake/edit reminds for different users categorymake backup of all data filesedit email notification and backup settingsadd email to receive career status report4. Workers menuIn this menu u can:Create new workerShow all workers from divisionShow laying off workers (from worker archive)Return worker from archiveEdit workerShow anniversary workersCreate shift calendar of this year5. Financial  menuIn this menu u can:Count workers salaryCreate brigade rating totalEdit list of salaryEdit lists of brigadiers, salary workers, drillers6. Mechanics menuIn this menu u can:Show plots with all mechanics stats (KTI, KTG)Create daily mechanic report, that goes to career status report automaticallyCreate report for machine maintenanceEdit report for machine maintenanceWorking with maintenance calendar5. Mining master menuIn this menu u can:Show all stats about brigade works, results, drill instrumentsCreate main master report that goes to main career reportEdit master reportCreate drill passportEdit drill passportCreate drill instrument reportGive rating to brigadeCreate daily master report that goes to career status reportAuthorsAnton Kovalev-my gitHub-AcetonenLicenseThis project is licensed under the GNU GPL v3.0  - see theGNUAcknowledgmentsThxadw0rdfor great help.