Skip to main content

Pyramid Scaffold for getting started with SQLAlchemy ORM and Jinja2 Templating Engine

Project description

OVERVIEW
---------
jinja2_alchemy_starter is a scaffold for getting started with a pyramid project using Jinja2 Templating Engine and SQLAlchemy ORM

INSTALLATION
-------------
Install it in your existing python installation (`virtualenv` is recommended)

If you have source file available locally::

$ /opt/py_env/bin/easy_install jinja2_alchemy_starter-X.tar.gz

Or to download and install from PyPI::

$ /opt/py_env/bin/easy_install jinja2_alchemy_starter

After successful installation, `pcreate` will also list `jinja2_alchemy_starter` as available scaffold::

$ /opt/py_env/bin/pcreate -l
Available scaffolds:
alchemy: Pyramid SQLAlchemy project using url dispatch
jinja2_alchemy_starter: Pyramid project with Jinja2 and SQLAlchemy
pyramid_jinja2_starter: pyramid jinja2 starter project
starter: Pyramid starter project
zodb: Pyramid ZODB project using traversal


USAGE
------
To create a new pyramid project using `jinja2_alchemy_starter` just pass that as `-s` argument::

$ /opt/py_env/bin/pcreate -s jinja2_alchemy_starter MyProject

This will create MyProject directory in your working directory.

PUT IT TO WORK
---------------
- Edit development.ini to reflect your DB settings.
- Edit rest of the files





CHANGES
=======

0.3.1
-----
- Added missing setup.cfg file that has locale specific commands
- Added message-extraction.ini file to scaffold

0.3
----
- Added pyramid_includes in development.ini. (pyramid_tm is invaluable for transaction handling)
- Changed view code - session object instantiation occurs in individual views

0.2.2
-----
- Added zope.sqlalchemy in the requirement list in the scaffold setup.py

0.2.1
------
- Added an example code (commented) about using session in views

0.2
---
- Added locale information to the scaffold

0.1
---
- Initial Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for jinja2-alchemy-starter, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size jinja2_alchemy_starter-0.3.1.tar.gz (16.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page