{"id":26189797,"url":"https://github.com/evolutionary-algorithms-on-click/evolve_backend_python","last_synced_at":"2025-03-12T00:51:12.116Z","repository":{"id":274608194,"uuid":"875917001","full_name":"Evolutionary-Algorithms-On-Click/evolve_backend_python","owner":"Evolutionary-Algorithms-On-Click","description":"Backend source code for evolve on click tool.","archived":false,"fork":false,"pushed_at":"2025-01-28T06:29:07.000Z","size":63,"stargazers_count":0,"open_issues_count":10,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-28T10:33:53.702Z","etag":null,"topics":["deap","fast-api","genetic-algorithm","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Evolutionary-Algorithms-On-Click.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-21T05:06:08.000Z","updated_at":"2025-01-28T06:31:19.000Z","dependencies_parsed_at":"2025-01-28T10:44:01.870Z","dependency_job_id":null,"html_url":"https://github.com/Evolutionary-Algorithms-On-Click/evolve_backend_python","commit_stats":null,"previous_names":["evolutionary-algorithms-on-click/evolve_backend_python"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Evolutionary-Algorithms-On-Click%2Fevolve_backend_python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Evolutionary-Algorithms-On-Click%2Fevolve_backend_python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Evolutionary-Algorithms-On-Click%2Fevolve_backend_python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Evolutionary-Algorithms-On-Click%2Fevolve_backend_python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Evolutionary-Algorithms-On-Click","download_url":"https://codeload.github.com/Evolutionary-Algorithms-On-Click/evolve_backend_python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243136252,"owners_count":20241989,"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":["deap","fast-api","genetic-algorithm","python"],"created_at":"2025-03-12T00:51:11.432Z","updated_at":"2025-03-12T00:51:12.108Z","avatar_url":"https://github.com/Evolutionary-Algorithms-On-Click.png","language":"Python","readme":"# How to setup locally?\n\n1. Clone the repository\n```git\ngit clone https://github.com/Evolutionary-Algorithms-On-Click/evolve-backend-python\n```\n2. Go to the backend directory\n\n3. Create a virtual environment\n```bash\npython -m venv venv\n```\n\n4. Activate the virtual environment\n\n\u003cbr\u003e\nmacOS / Linux\n\n```bash\nsource venv/bin/activate\n``` \n    \nwindows\n\n\n```bash\n.\\venv\\Scripts\\activate \n```\n\n\u003e [!NOTE]\n\u003e To deactivate the virtual environment run \n\u003e ```bash\n\u003e deactivate\n\u003e ```\n\n5. Install the dependencies\n\nmacOS and Linux\n```bash\npip install -r requirements.txt\n```\n\nWindows\n\u003cbr\u003e\n\u003e [!IMPORTANT]  \n\u003e - `uvloop` library is not needed in Windows, It can be removed from `requirements.txt`.\n\u003e - `pygraphviz` has some problems with windows so, [Refer for instructions](https://pygraphviz.github.io/documentation/stable/install.html).\n\n1. Install Visual C/C++ from [here](https://visualstudio.microsoft.com/visual-cpp-build-tools/).\n2. Download and install [Graphviz for Windows 10 (64-bit)](https://gitlab.com/graphviz/graphviz/-/package_files/6164164/download).\n3. Install PyGraphviz via\n```bash\npython -m pip install --config-settings=\"--global-option=build_ext\" --config-settings=\"--global-option=-IC:\\Program Files\\Graphviz\\include\" --config-settings=\"--global-option=-LC:\\Program Files\\Graphviz\\lib\" pygraphviz\n```\n\nUpdate the requirements\n```\npip freeze \u003e requirements.txt\n```\n\n6. Start the FastAPI app\n\n```bash\nuvicorn main:app --reload\n```\n\n7. To run in production.\n\nIn Windows.\n```bash\nuvicorn main:app --host 0.0.0.0 --port 8000 --workers 4\n```\n\nIn Linux.\n```bash\ngunicorn main:app -k uvicorn.workers.UvicornWorker --bind 0.0.0.0:8000 -w 4\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevolutionary-algorithms-on-click%2Fevolve_backend_python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevolutionary-algorithms-on-click%2Fevolve_backend_python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevolutionary-algorithms-on-click%2Fevolve_backend_python/lists"}