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 details)

Uploaded Source

File details

Details for the file piwigo-1.0.0.tar.gz.

File metadata

  • Download URL: piwigo-1.0.0.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for piwigo-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cbef9a3fe0cbcf8ede7ac0e5f1bd2b7a26cf9f74149ced2826981fde653476e0
MD5 9d5a54a9d8666707d0f1f583f68e3f09
BLAKE2b-256 3d8d877da41c2e050c074a0c400699494abe8ebde836180437150f725905e215

See more details on using hashes here.

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