Baseframe
Reusable styles and templates for HasGeek projects. Setup instructions:
python setup.py install
You’ll need this boilerplate in your code to use it:
from flask import Flask
from baseframe import baseframe, assets, Version
version = Version('0.1.0') # Insert your app's version number here
app = Flask(__name__, instance_relative_config=True)
# Declare your app's assets (with .js and .css suffixes)
# Filenames are relative to your app's static folder
assets['myapp.js'][version] = 'js/myapp.js'
assets['myapp.css'][version] = 'css/myapp.css'
# Initialize baseframe with required JS/CSS assets
# The 'baseframe' requirement is optional: it gives you the default UI
baseframe.init_app(app, requires=['baseframe', 'myapp'])
Baseframe is BSD-licensed, but is built on top of Twitter Bootstrap 3.0 and bundles various JavaScript libraries which use BSD, MIT and Apache.
Metadata
Release files for baseframe 0.3.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 |
|---|---|---|---|---|
| baseframe-0.3.1.tar.gz | 38.1 MB | Without provenance | Details for baseframe-0.3.1.tar.gz |
Release files / baseframe-0.3.1.tar.gz
| Download URL | baseframe-0.3.1.tar.gz |
|---|---|
| Size | 38.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e418f4ad5dbbca5943b53cdaa747724aae54d3f5142bbdf7302440e61d89aa11
|
|
BLAKE2b-256 checksum How to use checksums |
8f804834489e0463406170357ac19a185714504c0bc89b9fb730bb67e39217d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for baseframe 0.3.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.