{"id":15497794,"url":"https://github.com/techouse/django-docs-parser","last_synced_at":"2026-04-19T05:37:20.082Z","repository":{"id":96401770,"uuid":"155993764","full_name":"techouse/django-docs-parser","owner":"techouse","description":"Parse the Django HTML documentation into a JSON format to be used with Algolia","archived":false,"fork":false,"pushed_at":"2023-12-26T08:05:33.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-19T14:23:10.718Z","etag":null,"topics":["django","documentation","parser","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techouse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-11-03T15:00:47.000Z","updated_at":"2021-12-19T17:01:27.000Z","dependencies_parsed_at":"2023-12-26T09:53:07.198Z","dependency_job_id":null,"html_url":"https://github.com/techouse/django-docs-parser","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"5a8f168b5f2849f06fa2978e352b76a76a2f6caa"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/techouse/django-docs-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techouse%2Fdjango-docs-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techouse%2Fdjango-docs-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techouse%2Fdjango-docs-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techouse%2Fdjango-docs-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techouse","download_url":"https://codeload.github.com/techouse/django-docs-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techouse%2Fdjango-docs-parser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268448362,"owners_count":24252019,"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-02T02:00:12.353Z","response_time":74,"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":["django","documentation","parser","python3"],"created_at":"2024-10-02T08:40:45.275Z","updated_at":"2026-04-19T05:37:20.044Z","avatar_url":"https://github.com/techouse.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django docs parser\n\n## Requirements:\n\n- Python 3.4+\n\n## Installation and usage\n```bash\npython3 -m venv env\nsource env/bin/activate\npip install -r requirements.txt\npython parser.py\n```\n\nThe above commands will make a virtual environment in a folder called `env` and install all the requirements listed in `requirements.txt` into that virtual environment.\nOnce that is done running `python parser.py` will go to the Django documentation for versions __4.0__, __3.2__, __3.1__, __3.0__, __2.2__, __2.1__, __2.0__, __1.11__, __1.10__ and __1.8__, grab their zipped HTML versions and parse them respectively.\nIt will output a file called `data.json` which you can later use to your avail.\n\nThe output JSON file looks like this:\n```json\n[\n  {\n    \"version\": 2.2,\n    \"id\": \"django.contrib.postgres.fields.ArrayField\",\n    \"title\": \"ArrayField\",\n    \"permalink\": \"https://docs.djangoproject.com/en/2.2/ref/contrib/postgres/fields/#django.contrib.postgres.fields.ArrayField\",\n    \"categories\": [\n        \"class \",\n        \"contrib\",\n        \"postgres\",\n        \"fields\"\n    ],\n    \"content\": \"A field for storing lists of data. Most field types can be used, you simply pass another field instance as the base_field. You may also specify a size. ArrayField can be nested to store multi-dimensional arrays.\"\n  }\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechouse%2Fdjango-docs-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechouse%2Fdjango-docs-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechouse%2Fdjango-docs-parser/lists"}