{"id":20037215,"url":"https://github.com/masumkhan081/python-code-notes","last_synced_at":"2026-04-29T10:33:59.105Z","repository":{"id":259752646,"uuid":"781735980","full_name":"masumkhan081/python-code-notes","owner":"masumkhan081","description":"A personal collection of code notes, use cases, and best practices organized by topics for quick reference.","archived":false,"fork":false,"pushed_at":"2025-03-16T20:11:31.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-30T10:12:53.336Z","etag":null,"topics":["arrays-and-strings","concurrency","data-structures","data-types","deque","dictionaries-in-python","language-learning","lists-python","matpotlib","multithreading","numpy-arrays","pandas","python","read-write","sets-python","tuples-in-python"],"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/masumkhan081.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-04-04T00:00:36.000Z","updated_at":"2025-03-16T20:11:34.000Z","dependencies_parsed_at":"2024-10-27T20:35:48.271Z","dependency_job_id":"ec627d36-2e95-4708-9e74-74499a1fd679","html_url":"https://github.com/masumkhan081/python-code-notes","commit_stats":null,"previous_names":["masumkhan081/python-code-notes"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/masumkhan081/python-code-notes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masumkhan081%2Fpython-code-notes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masumkhan081%2Fpython-code-notes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masumkhan081%2Fpython-code-notes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masumkhan081%2Fpython-code-notes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/masumkhan081","download_url":"https://codeload.github.com/masumkhan081/python-code-notes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masumkhan081%2Fpython-code-notes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32421943,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"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":["arrays-and-strings","concurrency","data-structures","data-types","deque","dictionaries-in-python","language-learning","lists-python","matpotlib","multithreading","numpy-arrays","pandas","python","read-write","sets-python","tuples-in-python"],"created_at":"2024-11-13T10:18:40.653Z","updated_at":"2026-04-29T10:33:59.100Z","avatar_url":"https://github.com/masumkhan081.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Code Notes\n\nA repository for Python code snippets, notes, and best practices. This collection covers essential Python concepts, syntax, and common libraries to help me for quick reference, learning, and keeping notes.\n\n---\n\n## Topics\n\n1. **Core Python Syntax**\n   - Variables, Data Types, and Type Conversion\n   - Operators\n   - Conditionals and Loops\n\n2. **Functions and Lambdas**\n   - Defining Functions\n   - Lambda Expressions\n\n3. **Data Structures**\n   - Lists, Tuples, Sets, Dictionaries\n   - List and Dictionary Comprehensions\n\n4. **Modules and Packages**\n   - Importing Modules\n   - Custom Modules\n\n5. **Object-Oriented Programming (OOP)**\n   - Classes, Inheritance, Encapsulation, Polymorphism\n\n6. **File Handling**\n   - Reading, Writing, JSON and CSV\n\n7. **Error Handling**\n   - Exception Handling and Custom Exceptions\n\n8. **Advanced Python Concepts**\n   - Generators, Context Managers, Regular Expressions\n\n---\n\n## Setup Instructions\n\nClone the repository:\n\n      git clone https://github.com/masumkhan081/python-code-notes.git\n\n\n\n✅ Phase 1: Python Essentials (7–10 days)\n⏱ Spend ~1 hour/day.\n\n🎯 Must Learn:\n✅ Data types: str, list, dict, tuple, set\n\n✅ Control flow: if, for, while, comprehensions\n\n✅ Functions: def, *args, **kwargs, lambdas\n\n✅ Modules: import, from, math, random, os\n\n✅ File I/O: open(), with, read/write basics\n\n✅ Exception handling: try/except, finally\n\n🛑 Skip: OOP internals, decorators/metaclasses unless used in Django/ML context.\n\n✅ Phase 2: Python for Django (5–7 days)\nGoal: Understand the code you'll write daily in Django.\n\n🎯 Must Learn:\n✅ Classes \u0026 Objects (only what Django uses)\n\n__init__, self, inheritance\n\nModels and attributes\n\n✅ Virtual Environments: venv, pip, requirements.txt\n\n✅ Django Project Basics:\n\nstartproject, startapp, views, templates\n\nURLs and routing\n\nDjango ORM: basic Model, QuerySet, filter(), get()\n\n🛑 Skip: Advanced metaclasses, middleware, admin customization (for now)\n\n✅ Phase 3: Python for Machine Learning (10–14 days, flexible)\nDon’t need to master Python, just enough to write ML code clearly.\n\n🎯 Must Learn:\n✅ Numpy \u0026 Pandas: array ops, indexing, filtering, aggregation\n\n✅ Jupyter Notebooks: for experiment \u0026 quick dev\n\n✅ Functions, loops, and list comprehensions for data prep\n\n✅ Matplotlib / Seaborn (just enough for data viz)\n\n🛑 Skip: Async programming, multithreading, Django templating (for now)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasumkhan081%2Fpython-code-notes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmasumkhan081%2Fpython-code-notes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasumkhan081%2Fpython-code-notes/lists"}