{"id":18930447,"url":"https://github.com/techprimers/python-playground","last_synced_at":"2025-08-18T18:04:17.846Z","repository":{"id":53641287,"uuid":"202835678","full_name":"TechPrimers/python-playground","owner":"TechPrimers","description":"Playground repo with different branches which are used for playing with Python code","archived":false,"fork":false,"pushed_at":"2022-04-22T22:09:56.000Z","size":56,"stargazers_count":4,"open_issues_count":2,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-18T18:03:56.577Z","etag":null,"topics":["playground","python","python-playground","python3"],"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/TechPrimers.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}},"created_at":"2019-08-17T04:35:13.000Z","updated_at":"2022-09-23T11:20:40.000Z","dependencies_parsed_at":"2022-08-27T15:30:55.574Z","dependency_job_id":null,"html_url":"https://github.com/TechPrimers/python-playground","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TechPrimers/python-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechPrimers%2Fpython-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechPrimers%2Fpython-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechPrimers%2Fpython-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechPrimers%2Fpython-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TechPrimers","download_url":"https://codeload.github.com/TechPrimers/python-playground/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechPrimers%2Fpython-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271035378,"owners_count":24688396,"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-08-18T02:00:08.743Z","response_time":89,"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":["playground","python","python-playground","python3"],"created_at":"2024-11-08T11:37:39.985Z","updated_at":"2025-08-18T18:04:17.774Z","avatar_url":"https://github.com/TechPrimers.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Playground repo for Python projects\nThis is a learning repo with different projects/proof of concepts for playing with Python technologies/frameworks.\n\n## Table of Contents\n- [Status Updates](#status-updates)\n    - [Day 1](#day-1)\n    - [Day 2](#day-2)\n    - [Day 3](#day-3)\n    - [Day 4](#day-4)\n    - [Day 5](#day-5)\n    - [Day 6](#day-6)\n    - [Day 7](#day-7)\n    - [Day 8](#day-8)\n    - [Day 10](#day-10)\n    - [Day 12](#day-12)\n    - [Day 13](#day-13)\n- [Installation](#installation)\n- [Resources](#resources)\n\n## Status Updates\nAs part of 21 days of lockdown, I started learning python from March 25th, 2020.\n\n### Day 1\n- `cd pipenv`\n- `pipenv install` - Similar to `npm install`. Creates 2 files `Pipfile` and `Pipfile.lock` similar to `package-lock.json` in the javascript world with dependencies based on `requirements.txt`\n- `pipenv shell` - Activates the virtual environment. Much simpler than `virtualenv`\n- Once the shell is activated, run `python3 hello.py` to bring the Flask app UP!!\n- By default the flask app runs on 5000 port - `http://localhost:5000/hello`\n- `pipenv install PyPDF2` - installs the PyPDF2 package and updates `Pipfile` and `Pipfile.lock` files.\n- Once the shell is activated, run `python3 pdf_reader.py` to read the `example.pdf` file\n- `basics.py` - file which includes all basic syntaxes in python\n- `modules.py` \n    - python searches the list of directories from `sys.path`. Use `sys.path.append(directory_path)` to add directory searches during import.\n  ```python\n    python3          \n    Python 3.7.5 (default, Nov  1 2019, 02:16:32) \n    [Clang 11.0.0 (clang-1100.0.33.8)] on darwin\n    Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n    \u003e\u003e\u003e import sys\n    \u003e\u003e\u003e sys.path\n    ['', '/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python37.zip', '/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7', '/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload', '/usr/local/lib/python3.7/site-packages']\n  ```\n    - Alternatively use `PYTHONPATH` to set the package/module import paths.\n    - If a package has `__init__.py`, it becomes a module\n    - `learn` is a module which is used in `modules.py`\n\n### Day 2\n  - cd `functions`\n  - Started using callable functions inside a class\n\n### Day 3\n  - Started using Functions and String manipulation\n\n### Day 4\n  - `cd tuples`\n  - Started using `tuples`\n\n### Day 5\n  - `cd dictionaries`\n  - Started using `dictionaries`\n  - Started using `set`\n\n### Day 6\n - Started with class usage and best practices\n \n### Day 7\n - class methods\n - static methods\n\n### Day 8\n - class equals and repr\n - Data Class usage\n \n### Day 10\n - Files and Directories\n\n### Day 12\n - Lambda\n\n### Day 13\n - Solving LeetCode program - [Problem](https://leetcode.com/problems/two-sum/)\n\n## Installation\nCommand used in Mac for installing supporting tools\n- Python3 - `brew install python3`\n- Pipenv - `brew install pipenv`\n\n## Resources\n- [Introducing Python - Oreilly](https://learning.oreilly.com/library/view/introducing-python-2nd) - Most exhaustive and amazing book..!\n- [Projects to build after learning pythong](https://medium.com/javarevisited/8-projects-you-can-buil-to-learn-python-in-2020-251dd5350d56)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechprimers%2Fpython-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechprimers%2Fpython-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechprimers%2Fpython-playground/lists"}