Contents

graphene 3.3

0

GraphQL Framework for Python

GraphQL Framework for Python

Stars: 7965, Watchers: 7965, Forks: 816, Open Issues: 132

The graphql-python/graphene repo was created 8 years ago and the last code push was 2 weeks ago.
The project is extremely popular with a mindblowing 7965 github stars!

How to Install graphene

You can install graphene using pip

pip install graphene

or add it to a project with poetry

poetry add graphene

Package Details

Author
Syrus Akbary
License
MIT
Homepage
https://github.com/graphql-python/graphene
PyPi:
https://pypi.org/project/graphene/
GitHub Repo:
https://github.com/graphql-python/graphene

Classifiers

  • Software Development/Libraries
No  graphene  pypi packages just yet.

Errors

A list of common graphene errors.

Code Examples

Here are some graphene code examples and snippets.

GitHub Issues

The graphene package has 132 open issues on GitHub

  • Highlight .get in backticks
  • Python 3.10 support in v3
  • Sets default_value for argument to Undefined instead of None
  • Undefined arguments always passed to resolvers
  • v3 upgrade documentation?
  • Required/NonNull parameters do not work
  • Define abstract Mutation.mutate() method [type-hints]
  • Cannot use Enums in mutations that are inside input types
  • Avoid ambiguity in graphene.Mutation docstring [documentation]
  • 📣 Call for maintainers
  • Don't terminate the super() chain in SubclassWithMeta.__init_subclass__
  • A new way to write ObjectType with python3's annotation

See more issues on GitHub

Related Packages & Articles

ariadne 0.23.0

Ariadne is a Python library for implementing GraphQL servers.

sanic 23.12.1

A web server and web framework that's written to go fast. Build fast. Run fast.

starlette 0.37.2

Starlette is a lightweight ASGI (Asynchronous Server Gateway Interface) framework/toolkit, ideal for building asynchronous web services in Python. It is production-ready and offers a range of features including HTTP web framework, WebSocket support, in-process background tasks, startup and shutdown events, and a test client built on HTTPX. Starlette also supports CORS, GZIP, static files, streaming responses, and session and cookie support. It is compatible with asyncio and trio backends and boasts great overall performance against independent benchmarks. The package can be used as a complete framework or as an ASGI toolkit, allowing for the use of any of its components independently. It requires Python 3.8+ and an ASGI server such as uvicorn, daphne, or hypercorn for operation.

Django 5.0.4

Django is a high-level web development framework that empowers Python developers to build dynamic and robust web applications quickly and efficiently. It follows the Model-View-Controller (MVC) architectural pattern, making it easy to separate the different components of an application. With its extensive built-in features, such as URL routing, templating, forms handling, and database abstraction, Django takes care of the repetitive tasks, allowing developers to focus on writing clean and maintainable code. It relies on the Python Standard Library and includes several optional dependencies, including psycopg2, mysqlclient, and pytz for database connectivity and time zone support. Django's rich ecosystem and active community make it a popular choice for building scalable and secure web applications.

Flask 3.0.3

A simple framework for building complex web applications.

fastapi 0.110.1

FastAPI framework, high performance, easy to learn, fast to code, ready for production