Flask JSON Resource
Quickly create REST api’s using json-schema.
Minimal Example
from flask import Flask
from flask.ext.pymongo import PyMongo
from json_resource import Schema
from flask.ext.json_resource import API
app = Flask('test')
app.debug = True
db = PyMongo(app)
api = API(app, db)
@api.register()
class TestResource(api.Resource):
schema = Schema({'id': 'test'})
class TestResourceCollection(api.CollectionResource):
schema = Schema({'id': 'test-collection'})
objects = TestResource.objects
Metadata
Release files for flask_json_resource 0.2.18
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 | Actions |
|---|---|---|---|---|
| flask_json_resource-0.2.18.tar.gz | 18.5 kB | Without provenance | Details for flask_json_resource-0.2.18.tar.gz |
Release files / flask_json_resource-0.2.18.tar.gz
| Download URL | flask_json_resource-0.2.18.tar.gz |
|---|---|
| Size | 18.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a4aa4ad07524044d8e902926fc69754c29ba2eaf04a47f915888d1c421bf7e6
|
|
BLAKE2b-256 checksum How to use checksums |
4f0177d868c07f196a36f6e785feaad3db52651e3b3b1597b1c015cc0c4d2d91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for flask_json_resource 0.2.18
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.