Ptah is a fast, fun, open source high-level Python web development environment.
Project description
Ptah
Ptah is a fast, fun, open source high-level Python web development environment. Ptah is built on top of the Pyramid web framework. Ptah’s goal is to make developing interactive web sites and applications fun. Ptah aims to fill a void in the Pyramid eco-system, a “full stack” environment which is well integrated and provides opinions (forms, management ui, models, etc).
Ptah is loosely affiliated with the Pyramid, Django, Drupal and Zope/Plone communities.
Most documentation requires Ptah 0.3 or greater.
You can read the ptah documentation on-line at http://ptahproject.readthedocs.org.
Requirements
Python 2.6+ or Python 3.2+
virtualenv
Note for Windows Users
On Windows virtualenv/bin will be virtualenv/Scripts besides this difference everything else below is the same.
Grab the release
If you do not want to faff about with source, cloning repos, etc. Just grab the latest released version of ptah.
$ /path/to/virtualenv/bin/pip install ptah
Ptah from source
If you want the latest and greatest you need to grab code from source.
clone ptah from github and then install it:
$ /path/to/virtualenv/bin/python setup.py develop
then run the tests:
$ /path/to/virtualenv/bin/python setup.py test
An empty project
Let’s generate a empty project using the ptah_starter scaffolding. You can start from there:
/path/to/virtualenv $ bin/pcreate -t ptah_starter myapp /path/to/virtualenv $ cd myapp /path/to/virtualenv/myapp $ ../bin/python setup.py develop /path/to/virtaulenv/myapp $ ../bin/pserve settings.ini --reload
Open your browser to http://localhost:6543/ if you want examples that do more such as demonstrating editing models and authentication. Check out the examples.
Examples
There are several example applications ready for you to install and see Ptah in action. You can find them in the examples repository at github.
Support and Documentation
Ptahproject google groups/mailing list, Ptahproject Google Groups
On irc, use the freenode network and find us on channels, #ptahproject and #pyramid.
Documentation can be found in docs directory. You can also see it online at http://ptahproject.readthedocs.org/
Report bugs at Ptahproject @ Github
Known Issues
On some versions of Ubuntu you may get Python 2.7 exiting stating it has “Aborted.” There is a bug in ctypes on that particular Ubuntu platform.
License
Ptah is offered under the BSD3 license.
CHANGES
0.8.0 (2012-11-08)
Pyramid 1.4 compatibility
Removed message subsystem moved to player
Removed ptah.layout functionality, moved to player
Removed ptah.form functionality, moved to separate package
Removed ptah.formatter functionality, moved to separate package
Renamed ptah.type to ptah.tinfo
Removed ptah.adapter decorator
Removed ptah.library functionality, pyramid_amdjs is used instead
Removed ptah.snippet functionality
Use player for templates
Use pyramid_amdjs for static resource management
Bootstrap 2.2.0
0.5.1 (2012-05-04)
Fixed js datetime widget #134
0.5.0 (2012-05-03)
Features
Split ptah.cms to external package
Move TypeInformation to ptah
ptah.Type changed to @ptah.type class decorator
Sphinx and Pygments are optional
alembic 0.3.2
CKEditor 3.6.3
0.4.2 (2012-04-23)
Bug fixes
venusian 1.0a6 compatibility
0.4.1 (2012-04-16)
Bug fixes
venusian 1.0a4 compatibility
0.4.0 (2012-04-06)
Features
Added html5 file api support in FileField
alembic 0.2.x
twitter bootstrap 2.0
CKEditor (instead of tinymce)
0.3.3 (2012-01-31)
Features
Added ptah.enable_modules setting, list of enabled management modules.
Require alembic 0.1.1
Bug fixes
Encode content-type header for blob data rest action
Do not use request for application factories in applications rest action. It brakes security for current root object.
0.3.2 (2012-01-20)
JQuery 1.7.1
Bug fixes
Check migration version information only if sqla has been configured.
Run ptah.shutdown() before exit from process.
0.3.1 (2012-01-19)
Features
Added voc_factory attribute to VocabularyField
Bug fixes
Stop process if current revisions are different from head revisions.
Execute POPULATE_DB_SCHEMA populate step instead of all populate steps during migration.
0.3.0 (2012-01-12)
Features
Added data migration subsystem. It is documented in the “Data migration” chapter.
Added data population subsystem. It is documented in the “Data population” chapter.
Added a ptah-migrate script. It is documented in the “Command-Line utilities” chapter.
Added a ptah-populate script. It is documented in the “Command-Line utilities” chapter.
Added a default_roles setting. It defines list of roles for principal.
Its possible to start ptah without database.
Added json dict column ptah_nodes.annotations.
Removed ptah_content table columns, view, creators, subjects, publisher, contributors.
Bug Fixes
MySQL Compatibility #116
0.2.1 (2011-12-28)
Features
Added python2.6 support.
Added a ptah-manage script. It is documented in the “Command-Line utilities” chapter.
Fixed mail template generation on python3
0.2 (2011-12-21)
require pyramid 1.3
0.1.1 (2011-12-05)
Fix rst renderer
0.1 (2011-11-19)
Initial release
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
File details
Details for the file ptah-0.8.0.tar.gz
.
File metadata
- Download URL: ptah-0.8.0.tar.gz
- Upload date:
- Size: 967.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 631ead6a99223907a415a9f237e12191dadf78623cded719a523439c2dc0af15 |
|
MD5 | 1c246b29e81c435a4ba7765251326f9b |
|
BLAKE2b-256 | 9a935ef0c2d864a3dc8890931f84021e4d638a7dabd53e1626d8ef3f8562d510 |