{"id":34851472,"url":"https://github.com/shiningflash/practice-python","last_synced_at":"2026-05-20T23:10:06.985Z","repository":{"id":111949050,"uuid":"352014007","full_name":"shiningflash/practice-python","owner":"shiningflash","description":"lambda expression, iterators, list comprehension etc....","archived":false,"fork":false,"pushed_at":"2024-11-25T01:30:03.000Z","size":152,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T20:02:02.769Z","etag":null,"topics":[],"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/shiningflash.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":"2021-03-27T07:51:29.000Z","updated_at":"2024-11-25T01:30:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"9fab10ca-f1b2-41e2-bdf9-f9f7d55a4b3d","html_url":"https://github.com/shiningflash/practice-python","commit_stats":null,"previous_names":["shiningflash/practice-python"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shiningflash/practice-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiningflash%2Fpractice-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiningflash%2Fpractice-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiningflash%2Fpractice-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiningflash%2Fpractice-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shiningflash","download_url":"https://codeload.github.com/shiningflash/practice-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiningflash%2Fpractice-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28035466,"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-12-25T02:00:05.988Z","response_time":58,"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":[],"created_at":"2025-12-25T19:20:10.063Z","updated_at":"2025-12-25T19:20:38.291Z","avatar_url":"https://github.com/shiningflash.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Practice Python Repository\n\nWelcome to the **Practice Python** repository! This repository is a collection of Python scripts and examples aimed at helping developers improve their Python programming skills through hands-on practice. The repository covers a range of topics, from basic programming concepts to advanced patterns and techniques.\n\n## Features\n\n### 1. **Design Patterns**\n- **Decorator Pattern**: Illustrates how decorators can add functionality dynamically.\n- **Factory Pattern**: Demonstrates object creation techniques with factories.\n- **Proxy Pattern**: Explains how proxy objects can control access to other objects.\n\n### 2. **Data Manipulation and Algorithms**\nLocated in the `/common/` directory:\n- Prime number factorization (`prime_factors.py`)\n- Working with dequeues (`deque.py`)\n- Lambda expressions and list comprehensions (`lambda_expr.py`, `list_comprehensions.py`)\n- String operations: reverse, sort (`reverse_string.py`, `sort_string.py`)\n- Palindrome checks (`palindrome.py`)\n- Generating random numbers (`random_number.py`)\n- Simple statistical calculations (`stat.py`)\n\n### 3. **JSON Handling**\nLocated in the `/JSON/` directory:\n- Reading and parsing JSON files (`json_to_py.py`)\n- Sample JSON data for testing (`data.json`)\n- Unit testing for JSON-related operations (`test.py`)\n\n### 4. **Matplotlib Visualizations**\nLocated in the `/Matplotlib/` directory:\n- Bar charts, scatter plots, histograms, and pie charts (`Bar.py`, `Scatter.py`, `Histogram.py`, `pie.py`)\n- Subplots and advanced plotting techniques (`Subplot.py`, `Labels.py`)\n- Annotating and customizing plots (`Marker.py`, `Plotting.py`, `Pyplot.py`)\n- Examples include sample images for reference in `/images`.\n\n### 5. **Debugging Tools**\n- Introduces the `icecream` library for better debugging (`debug/` directory).\n\n### 6. **Parallel Programming**\n- Basic introduction to parallel programming concepts (`parallel-programming/` directory).\n\n## How to Use This Repository\n1. Clone the repository:  \n   ```bash\n   git clone https://github.com/shiningflash/practice-python.git\n   ```\n\n## How to Use This Repository\n\nNavigate to specific directories for your area of interest:\n\n- **`/common/`**: Learn algorithms and basic operations.\n- **`/Matplotlib/`**: Explore visualization techniques.\n- **`/JSON/`**: Work with JSON data.\n- **`/decorator/`, `/factory-pattern/`, `/proxy-pattern/`**: Learn design patterns.\n\nRun the Python files with:\n```bash\npython \u003cfilename\u003e.py\n```\n\nModify and experiment with the code to reinforce your understanding.\n\n## What You’ll Learn\n\n- **Core Python Concepts**: Algorithms, data manipulation, and string handling.\n- **Design Patterns**: Practical applications of patterns like Decorator, Factory, and Proxy.\n- **Data Visualization**: Creating and customizing plots using Matplotlib.\n- **JSON Handling**: Reading, parsing, and testing JSON data in Python.\n- **Debugging Techniques**: Leveraging the `icecream` library for enhanced debugging.\n- **Parallel Programming**: Basics of parallel execution for performance optimization.\n\n## Contributing\n\nContributions are welcome! If you want to add new examples, fix bugs, or improve the repository, feel free to submit a pull request or create an issue.\n\n---\n\nHappy coding! 😊\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshiningflash%2Fpractice-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshiningflash%2Fpractice-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshiningflash%2Fpractice-python/lists"}