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.

Source Distribution

piwigo-1.0.0.tar.gz (12.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page