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
---------
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.
Source Distribution
Close
Hashes for jinja2_alchemy_starter-0.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99aaa82e8692d2065ea548646389cbd8337d2799629908da3f4e3c7b39c5a5bb |
|
MD5 | f01eccdeab695e03aae54679f448ea88 |
|
BLAKE2b-256 | 72c38dd9cd1fb9795f7cd95a29dfd5b8e33cfde605d648bb89774ad10b4b4bb4 |