Skip to main content

piwigo API wrapper

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 piwigo2

Or

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

Usage

from piwigo 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

from piwigo 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

piwigo2-2.0.1.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

piwigo2-2.0.1-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file piwigo2-2.0.1.tar.gz.

File metadata

  • Download URL: piwigo2-2.0.1.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for piwigo2-2.0.1.tar.gz
Algorithm Hash digest
SHA256 4a19a0664fa25d8ae25467d4e879f3dcbba0d57473e4f9f4a891ab3cade7d0b4
MD5 f1c3109aa4f342bc7243c21455ef9b4b
BLAKE2b-256 561237740ce869d1e39a1ab5d01ef8e3fa61f00e0ce2299c3a1116dc364d1b10

See more details on using hashes here.

File details

Details for the file piwigo2-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: piwigo2-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for piwigo2-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1e1d6858889c318128c7f2e41cefc57e44bf1bf8420c36039a5e8805f3c7f383
MD5 06e2e21e55d4cf655729381594b48619
BLAKE2b-256 01834f6651130f8b5aa9fe1ac631bd74756aba0859301b8011e3d4346f2be3bc

See more details on using hashes here.

Supported by

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