
Security News
Node.js Moves Toward Stable TypeScript Support with Amaro 1.0
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
A simple model based GraphQL API configurator written in Python and based of Django
A library for making GraphQL API with Python/Django. This is like a flash drive, just how you plug into computer and transfer files.
Read Full Documentation here: https://docs.ashraful.dev/pnp-graphql
Documentation is coming soon...
pip install pnp-graphql
graphene_django
on top of installed apps on settings.pypnp_graphql
into installed apps on settings.pyGRAPHENE = {
'SCHEMA': 'pnp_graphql.schema.schema'
}
PNP_GRAPHQL = {
'ENABLED_APPS': ['example_app'],
# If you want to use Token Authentication. Otherwise it's optional
'AUTHENTICATION_CLASS': 'pnp_graphql.authentication.TokenAuthentication'
}
urls.py
from pnp_graphql.urls import urlpatterns as up
urlpatterns = [
# ... ... ...
]
urlpatterns += up
DEBUG = False
for production use.That's it :)
Now visit: http://your-ip:port/api/graphql-explorer/
for explore GraphQL built-in UI explorer for query.
Production ready API : http://your-ip:port/api/graphql/
FAQs
A simple model based GraphQL API configurator written in Python and based of Django
We found that pnp-graphql demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.