{"id":16550279,"url":"https://github.com/sylhare/python","last_synced_at":"2025-10-05T02:23:14.820Z","repository":{"id":28814507,"uuid":"80444045","full_name":"sylhare/Python","owner":"sylhare","description":":snake: Projects in Python","archived":false,"fork":false,"pushed_at":"2025-03-06T22:41:29.000Z","size":29895,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T22:11:20.431Z","etag":null,"topics":["anaconda","cucumber","data-processing","python","scripts","test","tutorial"],"latest_commit_sha":null,"homepage":"","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/sylhare.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":"2017-01-30T17:19:06.000Z","updated_at":"2024-12-02T15:04:47.000Z","dependencies_parsed_at":"2024-11-30T18:18:54.779Z","dependency_job_id":"8651a114-7424-4bfe-b0b5-0d0b51412c96","html_url":"https://github.com/sylhare/Python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sylhare/Python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sylhare%2FPython","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sylhare%2FPython/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sylhare%2FPython/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sylhare%2FPython/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sylhare","download_url":"https://codeload.github.com/sylhare/Python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sylhare%2FPython/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278399691,"owners_count":25980334,"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-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["anaconda","cucumber","data-processing","python","scripts","test","tutorial"],"created_at":"2024-10-11T19:33:43.357Z","updated_at":"2025-10-05T02:23:14.806Z","avatar_url":"https://github.com/sylhare.png","language":"Python","readme":"# Python projects \n\n[![Build Status](https://travis-ci.org/Sylhare/Python.svg?branch=master)](https://travis-ci.org/Sylhare/Python)\n\n## Introduction \n\nSome miscellaneous Python projects that I created or worked on. Mainly tests on some functionality or example \nthat I can reuse for other works as tutorials.\n\n### Installing Python\n\nThere are currently two versions of python currently in use, \nI would suggest going with the latest Python 3 (3.x.x) \nbecause it is the future but there's no wrong choice here \nand you can switch from one to the other easily.\n\nThe [Anaconda](https://www.anaconda.com/) distribution is the easiest way to get you started with python, \nit comes with built in package, IDE and a lot of great stuffs.\n\n - Download [Anaconda](https://www.anaconda.com/download/)\n\nYou can also do it the classic way, \nby downloading python directly from there website [here](https://www.python.org/downloads/) and then start coding on a text editor.\n\nPython should have already been installed if you're using a linux distribution. \nYou can always check which version is installed:\n\n```bash\npython --version\n```\n\n### Python on Windows\n\nAssuming that you've installed python via Anaconda, or manually (setting the environment path as well).\n\nStart a python prompt on the command prompt:\n\n```bash\npython\n```\n\nInstall dependencies via pip on a command prompt:\n\n```bash\npython -m pip install \u003cpackage\u003e\n```\n   \nUninstall with pip through:\n\n```bash\npython -m pip uninstall \u003cpackage\u003e\n```\n\nInstall dependencies through a proxy\n\n```bash\npython -m pip install --proxy http://user:password@proxyserver:port \u003cpackage\u003e\n```\n\n- Replace Package by the *package* you want to install\n- the `-m` means module\n- user and password are the ones you use to connect to your session (most probably)\n-  The proxy server and port are in \n\t-  Control Panel \u003e Internet Options \u003e Connections \u003e Lan Settings button\n\nRun a python script on a command prompt (windows):\n\n```bash\npython.exe script.py arg1\n```\n\n### Creating Python packages\n\nA Python package is simply an organized collection of python modules. A python module is simply a single python file.\n\nTo create a python package, create a directory and then add a `__init__.py` file. \nCreating a package with `__init__.py` is all about making it easier to develop large Python projects. \nIt provides an easy way for you to group large folders of many separate python scripts into a single importable module.\n\n[PyPI](https://pypi.org/) is the Python Package Index a repository of software for the Python programming language. \nYou can find a seed template at [sylhare/python-seed](https://github.com/sylhare/pyhon-seed)\n\nRead more about [Publish a pyhton package](https://sylhare.github.io/2018/01/12/Publish-a-python-package.html)\n\n### Create a webserver in Python\n\nYou can simply create a webserver at [localhost:8000](http://localhost:8000) in python thanks to this module:\n\n- Python 2\n\n```bash\npython –m SimpleHTTPServer 9000 # You can change the port\n```\n\n- Python 3\n\n```bash\npython -m http.server 8000 \n```\n\n### Sources\n\n- [For special methods in class](http://www.diveintopython3.net/special-method-names.html)\n- [Built in attributes](https://www.tutorialspoint.com/python/python_classes_objects.htm)\n- [Going Full Stack Python](https://www.fullstackpython.com/introduction.html)\n- [How to create a python package](http://timothybramlett.com/How_to_create_a_Python_Package_with___init__py.html)\n- [How to structure your python project](http://docs.python-guide.org/en/latest/writing/structure/)\n- [Python package - Minimal Structure](http://python-packaging.readthedocs.io/en/latest/minimal.html)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsylhare%2Fpython","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsylhare%2Fpython","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsylhare%2Fpython/lists"}