Image gallery built with the Pylons web framework
Project description
PyGall
About PyGall
PyGall is a simple web photo gallery written in Python and built on the Pylons web framework.
PyGall is written by Bruno Binet and is licensed under a BSD permissive license.
Code is hosted on github: https://github.com/inneos/PyGall.
Be warned that this image gallery is beta software, and not full featured. It has been developped to fit my own needs, and may not suit your wishes.
But that being said, feel free to create a new issue to report bugs or ask for new features at https://github.com/inneos/PyGall/issues. Even better, since the code is hosted on github, feel free to fork and send pull requests.
Features
PyGall currently provides the following basic features:
Upload photos through the browser. The photos are automatically scaled and rotated if needed. If using F-Spot as your personal photo management desktop application, PyGall provides a script to automatically import photos from F-Spot.
Browse and view photos through a nice interface borrowed from Galleria.
Install
You should have a working setuptools (or distribute) environment. I advise you to use virtualenv to create an isolated Python environment.
Prior to actually install PyGall and its dependencies, you should install the libjpeg and python development files, which are needed to compile the Python Imaging Library dependency. On Debian Linux you can do:
$ sudo aptitude install build-essential libjpeg-dev python-dev
Then you can install PyGall with the following command:
$ easy_install PyGall
PyGall is now installed. Let’s generate a configuration file for your PyGall photo gallery:
$ paster make-config PyGall pygall.ini
The newly created pygall.ini file will be used by Paster to initialize the application, create the database, and serve your application.
So you need to create the database:
$ paster setup-app pygall.ini#pygall
And finally, you can serve your PyGall application:
$ paster serve pygall.ini
That’s all, you can point your browser to http://127.0.0.1:5000 and start using PyGall. You’re ready to import your first photos!
Changes
0.7
add support for other image formats than jpeg (these formats should be supported by PIL though)
add missing PIL dependency and remove pyexiv2 system dependency so that pygall now works in an isolated virtual environment built with “virtualenv –no-site-packages”
improve installation instructions
add support for i18n (with translations for “en” and “fr” languages)
prompt for admin password when setting up PyGall
0.6
refactoring and cleanups
0.5
Add support for authentication and authorization with repoze.who/what
Refactor model definition to use declarative syntax (default in Pylons 1.0)
Keep only one checkbox that will be used by both delete and import buttons
Upgrade to Pylons 1.0 and SQLAlchemy 0.6
Various small other fixes
Get rid off import phase: photos are now directly published
Reorganisation of templates directory
0.4.1
Add long_description to setup.py
Add docs and license information
0.4
fspot_to_pygall.py: speed up query by deactivating lazy loading
fspot_to_pygall.py: calculate md5sum for photos imported from f-spot
fspot_to_pygall.py: export the modified version to pygall instead of the original
Reorganize templates struture on filesystem
Move model declaration to its own file
0.3
First usable release with upload and import support.
Refactoring of mako templates using inheritance.
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 PyGall-0.7.tar.gz
.
File metadata
- Download URL: PyGall-0.7.tar.gz
- Upload date:
- Size: 43.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 077cdeb26038334346a6de5ea19f2f17cd05cf22058b38d3b0576aa54a0b1d8f |
|
MD5 | f1ee5b3633f0e28e23494c9aaf6c780a |
|
BLAKE2b-256 | 223cf32e74465e197ba0d5ef103461392b91d0caf00a4d4983ed307c4c5a8e84 |