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
Metadata
Release files for piwigo 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| piwigo-1.0.0.tar.gz | 12.7 kB | Details |
Release files / piwigo-1.0.0.tar.gz
| Download URL | piwigo-1.0.0.tar.gz |
|---|---|
| Size | 12.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cbef9a3fe0cbcf8ede7ac0e5f1bd2b7a26cf9f74149ced2826981fde653476e0
|
|
BLAKE2b-256 checksum How to use checksums |
3d8d877da41c2e050c074a0c400699494abe8ebde836180437150f725905e215
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |