{"id":22381033,"url":"https://github.com/codecaine-zz/python_std_examples","last_synced_at":"2025-10-15T11:30:34.690Z","repository":{"id":266378263,"uuid":"898116745","full_name":"codecaine-zz/python_std_examples","owner":"codecaine-zz","description":"Python Standard Library by Example using AI","archived":false,"fork":false,"pushed_at":"2024-12-31T13:10:39.000Z","size":3554,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T15:26:12.388Z","etag":null,"topics":["documentation","library","llama3","ollama","python3","standard","standard-library","stl"],"latest_commit_sha":null,"homepage":"https://codefreelance.net/apps/python_std_bible/","language":"HTML","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/codecaine-zz.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":"2024-12-03T20:21:28.000Z","updated_at":"2024-12-31T13:10:42.000Z","dependencies_parsed_at":"2024-12-31T14:34:59.930Z","dependency_job_id":null,"html_url":"https://github.com/codecaine-zz/python_std_examples","commit_stats":null,"previous_names":["codecaine-zz/python_std_examples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecaine-zz%2Fpython_std_examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecaine-zz%2Fpython_std_examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecaine-zz%2Fpython_std_examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecaine-zz%2Fpython_std_examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codecaine-zz","download_url":"https://codeload.github.com/codecaine-zz/python_std_examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236607241,"owners_count":19176300,"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","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":["documentation","library","llama3","ollama","python3","standard","standard-library","stl"],"created_at":"2024-12-05T00:07:04.299Z","updated_at":"2025-10-15T11:30:34.685Z","avatar_url":"https://github.com/codecaine-zz.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"Python standard library code examples using AI\n\nThis application generates code examples for Python's standard library modules using AI. The code examples are generated using the qwen2.5-coder:3b model.\n\n## How to Use\n\n1. Install the necessary dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n2. Ensure the `ollama` service is running.\n3. Run the main script to generate individual module examples:\n   ```bash\n   python main.py [--force]\n   ```\n   Use `--force` to overwrite existing example files.\n4. The markdown files for each standard library module will be created under the `standard_library_documents` directory.\n5. Optionally, generate a single merged markdown document:\n   ```bash\n   python create_markdown_version.py\n   ```\n   The combined file `markdown_version/python_std_bible.md` will be created.\n6. Optionally, generate a JSON version:\n   ```bash\n   python create_json_version.py\n   ```\n   The file `json_version/python_std_bible.json` will be created.\n7. Optionally, add table of contents to all markdown files:\n\n   ```bash\n   python add_table_of_contents.py\n   ```\n\n   This will automatically add a Table of Contents section to each markdown file in the `standard_library_documents` directory, making navigation easier within each document.\n\n8. Optionally, generate an HTML version:\n\n   ```bash\n   python create_html_version.py\n   ```\n\n   The file `html_version/index.html` will be created with interactive navigation and copy buttons.\n9. You can add or remove modules in `main.py` under the `standard_library` dictionary to customize the examples.\n\n## Application Demo\n\nCheck out the demo of this application [here](https://codefreelance.net/apps/python_std_bible/).\n\n### Development Notes\n\nYou can use Copilot edits to refactor the `standard_library_documents` to improve examples if needed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecaine-zz%2Fpython_std_examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodecaine-zz%2Fpython_std_examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecaine-zz%2Fpython_std_examples/lists"}