Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/olirice/nebulo

Instant GraphQL API for PostgreSQL and SQLAlchemy
https://github.com/olirice/nebulo

database graphql graphql-apis postgres sqlalchemy

Last synced: 5 days ago
JSON representation

Instant GraphQL API for PostgreSQL and SQLAlchemy

Awesome Lists containing this project

README

        

# Nebulo



Test Status


Pre-commit Status



Codestyle Black



Python version
License
PyPI version
Download count

---

**Documentation**: https://olirice.github.io/nebulo

**Source Code**: https://github.com/olirice/nebulo

---

**Instant GraphQL API for PostgreSQL**

[Reflect](https://en.wikipedia.org/wiki/Reflection_(computer_programming)) a highly performant [GraphQL](https://graphql.org/learn/) API from an existing [PostgreSQL](https://www.postgresql.org/) database.

Nebulo is a python library for building GraphQL APIs on top of PostgreSQL. It has a command line interface for reflecting databases with 0 code or can be added to existing [SQLAlchemy](https://www.sqlalchemy.org/) projects.

## TL;DR

First, install nebulo
```shell
$ pip install nebulo
```

Then point the CLI at an existing PostgreSQL database using connection string format `postgresql://:@:/`
```shell
neb run -c postgresql://nebulo_user:password@localhost:4443/nebulo_db
```

Visit your shiny new GraphQL API at [http://localhost:5034/graphiql](http://localhost:5034/graphiql)

![graphiql image](docs/images/graphiql.png)

Next, check out the [docs](https://olirice.github.io/nebulo/quickstart/) guide for a small end-to-end example.

—— ——