{"id":24452786,"url":"https://github.com/crispengari/python-backend","last_synced_at":"2026-02-17T23:03:01.058Z","repository":{"id":45636924,"uuid":"371344475","full_name":"CrispenGari/python-backend","owner":"CrispenGari","description":"💎 A quick start for web server development using python flask, django and fastapi.","archived":false,"fork":false,"pushed_at":"2025-02-26T17:01:18.000Z","size":5016,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-02T16:39:51.931Z","etag":null,"topics":["css","django","djangorestframework","fastapi","flask","graphql","graphql-api","html","javascript","orm","python","redis","scss","server","sqlalchemy-python","typescript","webdevelopment"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CrispenGari.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,"zenodo":null}},"created_at":"2021-05-27T11:08:58.000Z","updated_at":"2025-02-26T17:01:21.000Z","dependencies_parsed_at":"2025-04-13T01:10:46.718Z","dependency_job_id":null,"html_url":"https://github.com/CrispenGari/python-backend","commit_stats":null,"previous_names":["crispengari/python-backend","crispengari/python-and-flask"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CrispenGari/python-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrispenGari%2Fpython-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrispenGari%2Fpython-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrispenGari%2Fpython-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrispenGari%2Fpython-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CrispenGari","download_url":"https://codeload.github.com/CrispenGari/python-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrispenGari%2Fpython-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29561783,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T21:50:49.831Z","status":"ssl_error","status_checked_at":"2026-02-17T21:46:15.313Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["css","django","djangorestframework","fastapi","flask","graphql","graphql-api","html","javascript","orm","python","redis","scss","server","sqlalchemy-python","typescript","webdevelopment"],"created_at":"2025-01-21T01:17:02.485Z","updated_at":"2026-02-17T23:03:01.043Z","avatar_url":"https://github.com/CrispenGari.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Python Backend\n\nThis repository contains some examples of backend applications using:\n\n1. [Flask](https://flask.palletsprojects.com/en/stable/)\n2. [Django](https://www.djangoproject.com/)\n3. [Fast API](https://fastapi.tiangolo.com/)\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://img.shields.io/static/v1?label=language\u0026message=python\u0026color=green\"/\u003e\n\u003cimg src=\"https://img.shields.io/static/v1?label=language\u0026message=javascript\u0026color=orange\"/\u003e\n\u003cimg src=\"https://img.shields.io/static/v1?label=language\u0026message=typescript\u0026color=blue\"/\u003e\n\u003cimg src=\"https://img.shields.io/static/v1?label=language\u0026message=htm\u0026color=red\"/\u003e\n\u003cimg src=\"https://img.shields.io/static/v1?label=language\u0026message=css\u0026color=black\"/\u003e\n\n\u003cimg src=\"https://img.shields.io/static/v1?label=package\u0026message=flask\u0026color=blue\"/\u003e\n\u003cimg src=\"https://img.shields.io/static/v1?label=package\u0026message=jinja\u0026color=yellow\"/\u003e\n\u003cimg src=\"https://img.shields.io/static/v1?label=package\u0026message=requests\u0026color=green\"/\u003e\n\u003cimg src=\"https://img.shields.io/static/v1?label=package\u0026message=flask-rest\u0026color=purple\"/\u003e\n\u003cimg src=\"https://img.shields.io/static/v1?label=package\u0026message=sql-alchamey\u0026color=black\"/\u003e\n\u003cimg src=\"https://img.shields.io/static/v1?label=package\u0026message=mongodb\u0026color=green\"/\u003e\n\u003cimg src=\"https://img.shields.io/static/v1?label=package\u0026message=fastapi\u0026color=tan\"/\u003e\n\u003cimg src=\"https://img.shields.io/static/v1?label=package\u0026message=django\u0026color=pink\"/\u003e\n\u003c/p\u003e\n\n\n### Creating a virtual environment\n\nThere are two ways of creating a virtual environment in python.\n\n1. creating a virtual environment from a already exists folder.\n\n- to create a virtual environment in the existing folder you first need to navigate to the folder that you wnt to create virtual environment by running the command:\n\n```shell\ncd myv\n```\n\n- then you run the following command to create a virtual environment\n\n```shell\nvirtualenv .\n```\n\n\u003e This just means create a virtual environment in the current directory.\n\n2. creating a virtual environment and naming it.\n\n- to create a virtual environment by name you run the following command:\n\n```shell\nvirtualenv venv\n```\n\n### Activating virtual environment\n\nTo activate virtual environment you have to run the `activate.bat` file that will be generated in virtual environment that you have created for example:\n\n```shell\n.\\venv\\Scripts\\activate\n# or\n.\\venv\\Scripts\\activate.bat\n```\n\n\u003e Activating the first virtual (myv) you will do it as follows:\n\n```shell\n.\\Scripts\\activate\n# or\n.\\Scripts\\activate.bat\n```\n\n### Deactivating virtual environment\n\nTo deactivate virtual environment you have to run the `deactivate.bat` file that will be generated in virtual environment that you have created for example:\n\n```shell\n.\\venv\\Scripts\\deactivate\n# 1.\n.\\venv\\Scripts\\deactivate.bat\n```\n\n\u003e Activating the first virtual (myv) you will do it as follows:\n\n```shell\n.\\Scripts\\deactivate\n# 1.\n.\\Scripts\\deactivate.bat\n```\n\n\u003e I recommend to navigate to the project directory after creating a virtual environment before installing packages:\n\n```shell\n📁 root\n    📁 venv\n```\n\nTo install the packages after activating the virtual environment you just run the following command:\n\n```shell\npip install \u003cpackage_name\u003e\n\n# example\n\npip install numpy\n```\n\n### Getting an error?\n\nIf you are getting a command error that says:\n\n```shell\n'virtualenv' is not recognized as an internal or external command,\noperable program or batch file.\n```\n\nYou could try to install `virtualenv` using pip as follows:\n\n```shell\npip install virtualenv\n```\n\nOr\n\n```shell\npython -m pip install virtualenv\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrispengari%2Fpython-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrispengari%2Fpython-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrispengari%2Fpython-backend/lists"}