semvec/pypi-packages huggingface dataset:
sqlalchemy-graphql-schemagen 1.0.6
Generate a full (query+mutation) GraphQL schema from your SQLAlchemy Declarative Model Base.
License: MIT
Requires Python: >=3.7

# sqlalchemy-graphql-schemagen

Generate a full (query/mutation) GraphQL Schema from your defined classes in a declarative_meta() Model.


## Example

```py
#!/usr/bin/env python
from flask import Flask
from flask_graphql import GraphQLView
from sqlalchemy import create_engine
from medgraphqlapi import generate_custom_column_docstrings
from sqlalchemy_graphql_schemagen import SQLAlchemyGraphQLSchemaGenerator

from medgraphqlapi.database_schema import Base as sa_base_declarative

################################
# SQLAlchemy Stuff
################################
sa_connection_string = "mssql+pyodbc://XXXXXXXXXXXX"

# Create the Engine
sa_engine = create_engine(sa_connection_string)

# Generate more useful columns' docstrings (ex.: type length, collation, ...)
generate_custom_column_docstrings(sa_base_declarative)

################################
# Build a GraphQL Schema from the SQLAlchemy Schema, using sqlalchemy_graphql_schemagen!
################################
graphql_schema = SQLAlchemyGraphQLSchemaGenerator(
    "ApiName",
    sa_base_declarative,
    sa_connection_string=sa_connection_string,
).get_graphene_schema()

################################
# Instantiate Flask App
################################
app = Flask(__name__)

# Plug GraphQLView
app.add_url_rule("/graphql",
                 view_func=GraphQLView.as_view("graphql",
                                               schema=graphql_schema,
                                               graphiql=True))

# That's it!
if __name__ == "__main__":
    app.run(host="0.0.0.0")
```
numpy-html 1.0.0
A simple table renderer for numpy arrays. Provides a rich display hook for use with Jupyter Lab / Notebook.
License: MIT
Requires Python: >=3.6

# numpy-html
[![pypi-badge][]][pypi] 

[pypi-badge]: https://img.shields.io/pypi/v/numpy-html
[pypi]: https://pypi.org/project/numpy-html

A simple table renderer for numpy arrays. Provides a rich display hook for use with Jupyter Lab / Notebook. Inspired by [xtensor](https://github.com/QuantStack/xtensor).

## Installation
`pip install numpy-html`

## Example inside Jupyter
```python
%load_ext numpy_html
import numpy as np

np.set_printoptions(threshold=5, edgeitems=2)
np.arange(49).reshape(7, 7)
```
|  0 	|  1 	| ⋯ 	|  5 	|  6 	|
|:--:	|:--:	|:-:	|:--:	|:--:	|
|  7 	|  8 	| ⋯ 	| 12 	| 13 	|
|  ⋮ 	|  ⋮ 	| ⋱ 	|  ⋮ 	|  ⋮ 	|
| 35 	| 36 	| ⋯ 	| 40 	| 41 	|
| 42 	| 43 	| ⋯ 	| 47 	| 48 	|