small-small-hr
small-small-hr is a really really small and light-weight Django application that helps you (yes you!) to manage certain aspects of HR (human resource) in your small or large business/organization/whatever.
Installation
pip install small-small-hr
Features
At this time, small-small-hr supports the following:
Employee records
You can keep track of all your employee's details. This is achieved through a custom StaffProfile model attached to your User model via a one-to-one relationship. Some of the available fields on this model are:
- first name
- last name
- gender
- birth day
- photo
- number of allowed leave days per year
- whether or not overtime is allowed for the employee
- data - a JSON field that allows you to store any extra information
Employee Documents
You can keep track of an unlimited number of employee documents (think employment contracts, performance reviews, scans of identification documents, etc). This is achieved by an StaffDocument model that has a one-to-many relationship with the StaffProfile model (above).
The fields on this model are
- staffprofile_id
- name of document
- description of document
- dcoument file
Leave management
All employees can log in and make a request for leave. To achieve this, there exists a LeaveRequest model with these fields:
- staffprofile_id
- request date
- start date
- end date
- reason for leave
- status (pending approval/approved/rejected)
- comments (made by the admin, e.g. reasons for refusal)
Once a LeaveRequest object is created, an administrator should review it and approve/reject it.
Overtime hours tracking
Employees who are allowed overtime can log in and record overtime hours. This is done by an OvertimeHour model with these fields:
- staffprofile_id
- date
- start time
- end time
- reason for overtime
- status (pending approval/approved/rejected)
- comments (made by the admin, e.g. reasons for refusal)
Admins can download overtime hours reports for a particular period.
Contribution
All contributions are welcome.
To set up the project:
- Clone this repo
pip install -r requirements/dev.txtpre-commit install
Testing
pip install -U tox
tox
Metadata
Release files for small-small-hr 0.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| small-small-hr-0.4.2.tar.gz | 21.4 kB | Without provenance | Details for small-small-hr-0.4.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| small_small_hr-0.4.2-py3-none-any.whl | Python 3 | none | any | Details for small_small_hr-0.4.2-py3-none-any.whl |
Total release size: 54.2 kB
Release files / small-small-hr-0.4.2.tar.gz
| Download URL | small-small-hr-0.4.2.tar.gz |
|---|---|
| Size | 21.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c35a05c73fe4f9b6c7f8b61b427d2f558ad2a1241c79ae9512acbb0b8bc19d4b
|
|
BLAKE2b-256 checksum How to use checksums |
b331ac490afdc48afb51e4bc7981e96713b76169ff94c05bc57caedc9f15d0f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|
Release files / small_small_hr-0.4.2-py3-none-any.whl
| Download URL | small_small_hr-0.4.2-py3-none-any.whl |
|---|---|
| Size | 32.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee47efe60ff48d2e83279e73cca2ee6ccf624e24d657b5d9153137d5c3591f79
|
|
BLAKE2b-256 checksum How to use checksums |
7cb1039b98245ef81d0b425c0a425a0d9694dd7dc093c4836f935448fb70f88f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|
Security for small-small-hr 0.4.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.