{"id":28152603,"url":"https://github.com/hugodscarvalho/drivtime","last_synced_at":"2025-05-15T05:11:48.869Z","repository":{"id":57424170,"uuid":"433241168","full_name":"hugodscarvalho/drivtime","owner":"hugodscarvalho","description":"Python package summarizing the established European Commission (EC) driving time and rest periods in the road transport sector.","archived":false,"fork":false,"pushed_at":"2021-12-08T23:08:43.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-22T03:26:50.232Z","etag":null,"topics":["driving","european-commission","european-union","legal","package","python","trucks"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hugodscarvalho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-30T00:31:40.000Z","updated_at":"2022-03-21T23:52:16.000Z","dependencies_parsed_at":"2022-09-14T08:41:42.495Z","dependency_job_id":null,"html_url":"https://github.com/hugodscarvalho/drivtime","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugodscarvalho%2Fdrivtime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugodscarvalho%2Fdrivtime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugodscarvalho%2Fdrivtime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugodscarvalho%2Fdrivtime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hugodscarvalho","download_url":"https://codeload.github.com/hugodscarvalho/drivtime/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254276457,"owners_count":22043869,"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","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":["driving","european-commission","european-union","legal","package","python","trucks"],"created_at":"2025-05-15T05:11:48.800Z","updated_at":"2025-05-15T05:11:48.861Z","avatar_url":"https://github.com/hugodscarvalho.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Project description \n\n`drivtime` was created to summarize the following regulations regarding the calculation of **driving time and rest periods in the road transport sector**.\n\nRegulation (EC) No 561/2006, as amended by Regulation (EU) [2020/1054](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=celex:32020R1054), lays down rules on driving times, breaks and rest periods for drivers of lorries, coaches and buses in order to improve working conditions and road safety.\nRegulation (EU) No 165/2014, as amended by Regulation (EU) 2020/1054, sets out requirements concerning the construction, installation, use, testing and control of tachographs that must be fitted in the vehicles that fall within the scope of Regulation (EC) No 561/2006.\n\n**Regulation (EC) No 561/2006:**\n\napplies to the **carriage by road of goods**, by vehicles with a total mass exceeding 3.5 tonnes and to the **transport by road of passengers**, by vehicles that are adapted to carry more than 9 people (including the driver);\nas of 1 July 2026, applies to the carriage by road of goods in international transport or in cabotage operations by vehicles (including any trailer or semi-trailer) with a total mass exceeding 2.5 tonnes;\napplies, irrespective of the country of registration of the vehicle, to carriage by road in the EU and between [EU](https://eur-lex.europa.eu/summary/glossary/eu_union.html) countries, Switzerland and [European Economic Area](https://eur-lex.europa.eu/summary/glossary/eea.html) countries.\n\n**Minimum age**\n\n- **Drivers’ mates and conductors** must be at least 18, except in certain circumstances for trainee drivers’ mates for whom the minimum age is 16 (see Article 5 for more details).\n\n**Rules on driving times, breaks and rest periods**\n\nDetailed rules for these are set out in Articles 6, 7, 8 and 9. They include:\n\n- a maximum amount of daily driving time of 9 hours, that can be extended to 10 hours no more than twice a week;\n- a maximum amount of weekly driving time of 56 hours;\n- a maximum total accumulated driving time of 90 hours during any 2 consecutive weeks;\n- after driving for a period of 4.5 hours, a driver must take an uninterrupted break of not less than 45 minutes, unless he takes a rest period;\n- a minimum daily rest of 11 hours, which can be reduced to 9 hours, but no more than three times between any 2 weekly rest periods;\n- a regular weekly rest period of minimum 45 hours and a reduced weekly rest period of a minimum of 24 hours.\n\n## Requirements\n\n\n## Installation\n\nInstall with pip `pip install drivtime`\n\n## Documentation\n\n\n## License\n\nSee [LICENSE](https://github.com/hugodscarvalho/drivtime/blob/main/LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugodscarvalho%2Fdrivtime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhugodscarvalho%2Fdrivtime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugodscarvalho%2Fdrivtime/lists"}