psql2graphql

A PSQL to GRAPHQL python API using flask

https://github.com/isa-tools/psql2graphql

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (3.2%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

A PSQL to GRAPHQL python API using flask

Basic Info
  • Host: GitHub
  • Owner: ISA-tools
  • License: gpl-3.0
  • Language: Python
  • Default Branch: main
  • Size: 33.2 KB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 1
  • Open Issues: 1
  • Releases: 0
Created almost 4 years ago · Last pushed almost 4 years ago
Metadata Files
Readme License Citation

README.md

PSQL2GRAPHQL

A python graphQL API that reads its data dynamically from a PostgreSQL <= 9.2 database.

USAGE

shell python3 -m venv venv source venv/bin/activate pip install -r requirement.txt mv .env.example .env Then open .env and fill in the values with your credentials and connection. USER=username USER_PWD=password HOST=https://example.com DATABASE_NAME=database_name Finally:

shell flask run

The app is served on port 5000.

Owner

  • Name: ISA tools
  • Login: ISA-tools
  • Kind: organization
  • Email: isatools@googlegroups.com
  • Location: International Collaboration (leads based at: University of Oxford, UK)

Citation (citation.cff)

cff-version: 1.2.0
message: If you use this software, please cite it using the metadata from this file.
title: PSQL2GRAGHQL
abstract: A python API to dynamically generate GraphQL queries from PostgreSQL using flask, psycopg2 and grapghene.
version: 0.1.0
repository-code: https://github.com/ISA-tools/psql2graphql
date-released: 2020-05-01
license: GPL-3.0
license-url: https://github.com/ISA-tools/psql2graphql/blob/main/LICENSE
authors:
  -
    name: "Batista Dominique"
    alias: Terazus
    city: Oxford
    email: dominique.batista@oerc.ox.ac.uk
    orcid: https://orcid.org/0000-0002-2109-489X
contact:
  -
    name: "Batista Dominique"
    alias: Terazus
    city: Oxford
    email: dominique.batista@oerc.ox.ac.uk
    orcid: https://orcid.org/0000-0002-2109-489X
  - name: "Phillipe Rocca-Serra"
    alias: PRS
    city: Oxford
    email: philippe.rocca-serra@oerc.ox.ac.uk
    orcid: https://orcid.org/0000-0001-9853-5668

GitHub Events

Total
Last Year

Dependencies

requirements.txt pypi
  • Flask *
  • Pygments >=2.0.1
  • flask-cors >=3.0.2
  • graphene >=3.0
  • psycopg2 *
  • python-dotenv *
  • sqlparse >=0.3.0