Flask-ZODB
Transparent and scalable persistence of Python objects for Flask applications. Use it as your database or as a complement to another database - for example PostgreSQL where you need to perform rich queries and ZODB where you need structured data and mapping to and from Python types is inconvenient.
app = Flask(__name__)
db = ZODB(app)
@app.before_request
def set_db_defaults():
if 'entries' not in db:
db['entries'] = List()
@app.route('/')
def show_entries():
return render_template('show_entries.html', entries=db['entries'])
@app.route('/add', methods=['POST'])
def add_entry():
db['entries'].append(request.form)
flash('New entry was successfully posted')
return redirect(url_for('show_entries'))
Metadata
Release files for Flask-ZODB 0.1
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-ZODB-0.1.tar.gz | 10.2 kB | Without provenance | Details for Flask-ZODB-0.1.tar.gz |
Release files / Flask-ZODB-0.1.tar.gz
| Download URL | Flask-ZODB-0.1.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7646219b757e70fc1073e4e3a014b4194cd63575e7a02a7171e874f59ae68e8f
|
|
BLAKE2b-256 checksum How to use checksums |
ec9324a493cc964128bf78eb2b178ce9db1b712b8a26819859d2f12de1e2a28f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for Flask-ZODB 0.1
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.