A lightweight python web framework
Project description
Pybald
Pybald is a light weight, python, MVC style web framework. It is inspired by work done by Ian Bicking, and builds upon the concepts presented in Another do-it-yourself framework. It is also takes design inspiration from Ruby on Rails and Django.
Pybald began life as an ultra-bare-bones framework but has evolved over time adding convenience methods, components and glue:
Routes for dispatching and URL parsing
Mako as the template engine.
SqlAlchemy for data persistence and object mapping
WTForms for automated form generation and validation
A more complex WSGI decorator
Some deploy infrastructure such as Apache and Nginx configuration templates
Session Management, Simple Logging, and template helper functions
Pybald Changelog
Release 0.5.2 (January 2, 2019)
Fix bug with stacktrace template for default Error handler
Improve the context model binding function
Release 0.5.0 (August 19, 2017)
Warning - this release may not be compatible with previous pybald releases if you were making use of the asset pipeline (bundles, bundle filters, JSX compilation), utilizing the celery loader or the newrelic adapter
This removes the webasset pipeline from core pybald. The webasset pipeline was only used in a few projects and added complexity and numerous requirements to pybald.
The webasset pipeline will be re-designed and released as a supporting pybald package instead of included in the core.
The newrelic adapter and celery support code will also be re-designed and released as supporting pybald packages instead of included in the core.
This release also bumps the supporting library versions: Mako, SqlAlchemy, WTForms
Remove requirement for forked routes library, required behaviors have been included in the main routes project
Improve tests and test coverage
Release 0.4.1 (February 26, 2016)
Fix a bug with the default error controller. Now the raw exception can be passed in and the order of the arguments was changed but not updated in the default.
Release 0.4.0 (January 28, 2016)
Warning - this release is not compatible with previous pybald releases.
Major configuration changes, deprecate the use of importing ‘project.py’ directly.
New application context that lives globally is the config passing mechanism.
Replace FormAlchemy with WTForms as the primary mechanism for form processing and validation
Utilize controller and model registry.
Global context is on a threadlocal stacked proxy to allow multiple pybald applications in one interpreter.
Database session is now attached to the app context.
Shared application resources (caches etc..) are now registered with the context
ErrorMiddleware now has a more consistent interface with error controllers, passing the raw exception as a *parg, followed by context-specific **kargs
Release 0.3.2 (March 25, 2015)
Add jsx filters for react components
Release 0.3.1 (February 19, 2015)
Fix webassets dependencies and bugs
Added browser caching headers to the simple static server
Release 0.3.0 (November 2, 2014)
Change the default behavior of all templates to include the html escape filter
New helper: HTMLLiteral. Allows explicit html escape bypassing
Add csrf decorator
New newrelic instrumentation code to improve controller/action visibility
Release 0.2.8 (June 26, 2014)
Update the webasset-based asset bundler to take input and output paths from the project config file. The new arguments are BUNDLE_SOURCE_PATHS and BUNDLE_OUTPUT_PATH. So in the project.py file you might have a config
that looks like:
BUNDLE_SOURCE_PATHS = ['alternate_source_path', 'public'] BUNDLE_OUTPUT_PATH = '/some_path/public_files/'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pybald-0.5.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e4a26200857b43415869725202c1348352a0519b4771cad7f2b3aeb77765191 |
|
MD5 | 65874745db3d6fcb95847e99ad1afce6 |
|
BLAKE2b-256 | f3af4cce7e7ea94e6d6a32b37b9a7758937b4213aff0bd67d00a2a9199635a80 |