Graphene File Upload

screenshot of Graphene File Upload
django

Enhances Graphene Django GraphQL Server for intuitive file uploads via GraphQL mutations.

Overview

The graphene-file-upload package is a powerful tool designed to enhance GraphQL integrations in both Django and Flask applications. By facilitating multi-part file uploads in accordance with the Multipart Request Spec, this package streamlines the process of handling file uploads within your GraphQL API. With support for both Python 2.7 and higher versions, it offers flexibility in various development environments, enabling developers to integrate file uploads effortlessly into their applications.

This package not only simplifies the implementation of file uploads but also offers easy installation and integration instructions for both Django and Flask frameworks. It enhances the GraphQL experience by introducing a dedicated scalar type for uploads, making it a vital resource for developers looking to extend the capabilities of their GraphQL APIs.

Features

  • Multi-part File Upload Support: Adheres to the Multipart Request Spec, allowing seamless integration of file uploads in your GraphQL API.
  • Python Compatibility: Works with Python versions 2.7 and 3.4+, ensuring support across various development environments.
  • Django Integration: Easily replace the previous GraphQL view by importing the modified view and adding it to your URL configurations.
  • Flask Integration: Compatible with Flask by directly importing the modified view and creating a new URL rule, with specific requirements for flask-graphql versions.
  • Testing Support: Offers guidance for testing with Django's test client and using pytest, making it easy to verify your file upload functionality.
  • Contribution Guidelines: Encourages community contributions by providing instructions on running the test suite and using virtual environments.
django
Django

Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. It follows the model-view-controller (MVC) architectural pattern, providing an extensive set of built-in tools and conventions to streamline the creation of robust and scalable web applications.

graphql
Graphql

A website that uses GraphQL as a query language to manage data fetching and state management. This includes features such as a strongly typed schema, client-side caching, and declarative data fetching to streamline data management and optimize website performance.