{"id":17047406,"url":"https://github.com/bhaveshan/carport","last_synced_at":"2026-04-27T12:35:09.002Z","repository":{"id":130310934,"uuid":"201305360","full_name":"bhaveshAn/carport","owner":"bhaveshAn","description":null,"archived":false,"fork":false,"pushed_at":"2019-08-08T17:26:54.000Z","size":5329,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T10:23:46.336Z","etag":null,"topics":["linux","pyinstaller","python3","tdd-workflow"],"latest_commit_sha":null,"homepage":null,"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/bhaveshAn.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":"2019-08-08T17:24:03.000Z","updated_at":"2023-03-08T01:42:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"b696b8ad-9384-4fa2-8fa4-2f1de7937a61","html_url":"https://github.com/bhaveshAn/carport","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/bhaveshAn%2Fcarport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhaveshAn%2Fcarport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhaveshAn%2Fcarport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhaveshAn%2Fcarport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bhaveshAn","download_url":"https://codeload.github.com/bhaveshAn/carport/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245052651,"owners_count":20553163,"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":["linux","pyinstaller","python3","tdd-workflow"],"created_at":"2024-10-14T09:49:24.596Z","updated_at":"2026-04-27T12:35:03.964Z","avatar_url":"https://github.com/bhaveshAn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Parking Lot Problem\n\n## Set up the project (Build on Python 3.5.2 and Linux Ubuntu 16.04 LTS)\n\nFollowing command **installs dependencies**, **builds the binary** and **runs unittests**\n\n* **PyInstaller** has been used for build purpose.\n\n```\nbin/setup\n```\n\nAfter running above command a executable binary file is created which can be found as `dist/main`\n\n```\ndist/main\n```\n\nBuilding your own binary\n\n```\npyinstaller src/main.py --onefile\n```\n\n## Running automated tests\n\n```\nbin/run_functional_tests\n```\n\n\n## Running the application\n\nFollowing commands runs the application in 2 modes\n\n1. File Mode\n\n```\nbin/parking_lot file_input.txt\n```\n\n2. Interactive Mode\n\n```\nbin/parking_lot\n```\n\n## Running the application as python scripts (Python 3.5.2)\n\nFollowing commands runs the application in 2 modes\n\n1. File Mode\n\n```\npython3 src/main.py file_input.txt\n```\n\n2. Interactive Mode\n\n```\npython3 src/main.py\n```\n\n## Running unittests as python scripts (Python 3.5.2)\n\n```\npython3 tests_parking_lot.py\n```\n\n\n**Submitted By : [Bhavesh Anand](https://bhaveshan.github.io)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhaveshan%2Fcarport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbhaveshan%2Fcarport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhaveshan%2Fcarport/lists"}