{"id":13547321,"url":"https://github.com/iashraful/pnp-graphql","last_synced_at":"2026-04-15T15:33:00.175Z","repository":{"id":93210418,"uuid":"193242205","full_name":"iashraful/pnp-graphql","owner":"iashraful","description":"A plug and play type graphql API making library","archived":false,"fork":false,"pushed_at":"2020-07-28T05:09:40.000Z","size":58,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-11T02:43:12.680Z","etag":null,"topics":["api","django","graphql","plug-and-play","python","query-language"],"latest_commit_sha":null,"homepage":"https://ashraful.dev/docs/plug-n-play-graphql/","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/iashraful.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2019-06-22T14:20:28.000Z","updated_at":"2020-08-13T10:37:39.000Z","dependencies_parsed_at":"2023-04-01T09:20:35.838Z","dependency_job_id":null,"html_url":"https://github.com/iashraful/pnp-graphql","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/iashraful/pnp-graphql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iashraful%2Fpnp-graphql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iashraful%2Fpnp-graphql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iashraful%2Fpnp-graphql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iashraful%2Fpnp-graphql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iashraful","download_url":"https://codeload.github.com/iashraful/pnp-graphql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iashraful%2Fpnp-graphql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31847747,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: 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":["api","django","graphql","plug-and-play","python","query-language"],"created_at":"2024-08-01T12:00:53.926Z","updated_at":"2026-04-15T15:33:00.140Z","avatar_url":"https://github.com/iashraful.png","language":"Python","funding_links":[],"categories":["Libraries"],"sub_categories":["Python Libraries"],"readme":"## Plug \u0026 Play GraphQL (pnp-graphql)-- [Change Log](https://github.com/iashraful/pnp-graphql/blob/master/CHANGELOG.md)\n\u003e A library for making GraphQL API with Python/Django. This is like a flash drive, \njust how you plug into computer and transfer files.\n\n\u003e **Read Full Documentation here: https://docs.ashraful.dev/pnp-graphql** \n\n### Quick Start\n\u003e Documentation is coming soon...\n\n* Install from pip `pip install pnp-graphql`\n* Add `graphene_django` on top of installed apps on settings.py\n* Add `pnp_graphql` into installed apps on settings.py\n* Add PnP GraphQL config on settings.\n```python\nGRAPHENE = {\n    'SCHEMA': 'pnp_graphql.schema.schema'\n}\n\nPNP_GRAPHQL = {\n    'ENABLED_APPS': ['example_app'],\n    # If you want to use Token Authentication. Otherwise it's optional\n    'AUTHENTICATION_CLASS': 'pnp_graphql.authentication.TokenAuthentication'\n}\n```\n* Add the following code on `urls.py`\n```python\nfrom pnp_graphql.urls import urlpatterns as up\n\nurlpatterns = [\n    # ... ... ... \n]\nurlpatterns += up\n```\n* Set `DEBUG = False` for production use.\n\n**That's it :)**  \n**Now visit:** `http://your-ip:port/api/graphql-explorer/` for explore GraphQL built-in UI explorer for query.  \n**Production ready API :** `http://your-ip:port/api/graphql/`\n\n\n#### What's working?\n* GraphQL query\n* Mutation (Create, Update, Delete)\n* Pagination\n* API filtering for Number, String, Date, DateTime\n* Authentication\n\n#### What are the plans?\n* Proper error handling\n* Field validation\n* Caching\n* many more ... ... ...\n\n### Waiting for your contribution :smile:","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiashraful%2Fpnp-graphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiashraful%2Fpnp-graphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiashraful%2Fpnp-graphql/lists"}