Flask-APIAlchemy
Flask-APIAlchemy is an extension for Flask, modeled after Flask-SQLAlchemy, that adds support for APIAlchemy to your application. It aims to simplify using APIAlchemy with Flask.
Installation
pip install Flask-APIAlchemy
A Simple Example
Output the contents of a file located in a GitHub repository:
from flask import Flask
from flask_apialchemy import APIAlchemy
app = Flask(__name__)
app.config['APIALCHEMY_SERVICE_URI'] = 'github://apikey@github.com'
aa = APIAlchemy(app)
kwargs = {
'org': 'org_name',
'repo': 'repo_name',
'path': 'path/to/file'
}
file_contents = aa.service.get_file_contents(aa.service.client, **kwargs)
print(file_contents)
License
Distributed under the BSD 3-Clause license.
Metadata
Release files for Flask-APIAlchemy 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| Flask-APIAlchemy-1.1.0.tar.gz | 3.9 kB | Without provenance | Details |
Release files / Flask-APIAlchemy-1.1.0.tar.gz
| Download URL | Flask-APIAlchemy-1.1.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6234e996516b13639654c739155cd5cd04a12011657186fa0b5943d06da26647
|
|
BLAKE2b-256 checksum How to use checksums |
05090dd66cb181086c33ec3af29ced79d6221e7a8316ea9bfb5e6d45f7c9dd5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
|
Security for Flask-APIAlchemy 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.