Skip to main content

piwigo description

Project description

piwigo

Piwigo is a famous open-source online photo gallery.

piwigo is a module python for communicate with API Piwigo.

Installation

pip install piwigo

Or

git clone https://github.com/fraoustin/piwigo.git
cd piwigo
python setup.py install

Usage

import piwigo
mysite = Piwigo('http://mysite.com')
print(mysite.pwg.getVersion())

Piwigo object has attribute name of webservice.

List of webservice at http://mysite.com/tools/ws.htm

Sample of uplad file in category with id=1

import piwigo
mysite = Piwigo('http://mysite.com')
mysite.pwg.session.login(username="test", password="test")
mysite.pwg.images.addSimple(image="myphoto.jpg", "category"=1)
mysite.pwg.session.logout()

V. 1.0.0

  • check version

. 0.0.4

  • manage types.BooleanType for python27
  • add close connection for python3

V. 0.0.2

  • add getParams

V. 0.0.1

  • init

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 piwigo, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size piwigo-1.0.0.tar.gz (12.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page