{"id":24360417,"url":"https://github.com/dms-codes/gaji","last_synced_at":"2025-07-21T12:33:05.668Z","repository":{"id":169618380,"uuid":"547920730","full_name":"dms-codes/gaji","owner":"dms-codes","description":"Calculate Salary This Python script calculates an employee's salary based on their basic salary (Gaji Pokok), total working hours (Total Jam Kerja), and tax deductions.","archived":false,"fork":false,"pushed_at":"2023-10-01T10:25:36.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-10T18:26:28.319Z","etag":null,"topics":["calculator","python","salary"],"latest_commit_sha":null,"homepage":"https://github.com/dms-codes/gaji","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dms-codes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-08T15:10:24.000Z","updated_at":"2023-10-01T10:25:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"9003f9b2-4824-4c6e-9183-f97b6145549a","html_url":"https://github.com/dms-codes/gaji","commit_stats":null,"previous_names":["dms-codes/gaji"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dms-codes/gaji","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dms-codes%2Fgaji","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dms-codes%2Fgaji/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dms-codes%2Fgaji/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dms-codes%2Fgaji/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dms-codes","download_url":"https://codeload.github.com/dms-codes/gaji/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dms-codes%2Fgaji/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266302557,"owners_count":23908176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["calculator","python","salary"],"created_at":"2025-01-18T21:19:44.524Z","updated_at":"2025-07-21T12:33:05.638Z","avatar_url":"https://github.com/dms-codes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Calculate Salary\n\nThis Python script calculates an employee's salary based on their basic salary (Gaji Pokok), total working hours (Total Jam Kerja), and tax deductions.\n\n## Usage\n\n1. Run the script:\n\n   ```bash\n   python script.py\n   ```\n\n2. The script will prompt you to enter the following information:\n   - `Gaji Pokok`: Enter the basic salary.\n   - `Total Jam Kerja`: Enter the total working hours.\n\n3. The script will calculate the following components:\n   - `Tunjangan`: 20% of the basic salary.\n   - `Uang Lembur`: Overtime pay (Rp 20,000 per hour for hours worked beyond 200 hours).\n   - `Potongan Pajak`: 10% tax deduction on the total income (basic salary + tunjangan + uang lembur).\n   - `Gaji`: Net salary after tax deductions.\n\n4. The script will display the calculated components and the final net salary.\n\n5. Repeat the process for different employees or salary scenarios.\n\n## Example\n\n```bash\n**********************************************************************\nGaji Pokok: 8000000\nTotal Jam Kerja: 220\n**********************************************************************\nGaji Pokok:                        8,000,000.0\nTunjangan [20% x Gaji Pokok]:       1,600,000.0\nUang Lembur [Jam Kerja\u003e200 jam x Rp 20,000/jam]:  4,000,000.0\nPotongan Pajak [10%]:               (640,000.0)\n**********************************************************************\nGaji [Gaji Pokok + Tunjangan + Uang Lembur - Pajak]:  11,960,000.0\n**********************************************************************\n```\n\n## Customization\n\nYou can customize the tax rate, overtime pay rate, or any other parameters in the script as needed.\n\n## License\n\nThis script is provided under the [MIT License](LICENSE).\n```\n\nFeel free to modify the script and README.md file to match your specific requirements or use case.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdms-codes%2Fgaji","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdms-codes%2Fgaji","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdms-codes%2Fgaji/lists"}