A Python library and commandline tool for managing Pix-Star digital photo frames.
Installation
You can install from PyPI using pip as follows
pip install pyxstar
Usage
Python library
The pyxstar.api module is the basis for all API interactions with the Pix-Star service. The API class should be used to invoke methods on the service, which accept and return Album and Photo classes.
For example
from pyxstar.api import API
api = API()
api.login('myusername', 'mypassword')
for a in api.albums():
print(f'Album: {a.name}')
for p in api.album_photos(a):
print(f' Photo: {p.name}')
Commandline
This package provides a pyxstar commandline tool which offers a variety of subcommands to interact with your digital photo frame.
The following are some examples of how to use this:
# Show help
$ pyxstar help
[...]
# List album names
$ pyxstar -u myusername -p mypassword ls
My First Album
My Second Album
# List photos in My First Album
$ pyxstar -u myusername -p mypassword ls 'My First Album'
315371094 _dsc1254_59.jpg
315371095 _dsc1254_60.jpg
# Upload a photo to My First Album and check that it exists
$ pyxstar -u myusername -p mypassword upload 'My First Album' /path/to/foo.jpg
$ pyxstar -u myusername -p mypassword ls 'My First Album'
315371094 _dsc1254_59.jpg
315371095 _dsc1254_60.jpg
315371099 foo.jpg
Release files for pyxstar 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyxstar-0.2.4.tar.gz | 6.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyxstar-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.4 kB
Release files / pyxstar-0.2.4.tar.gz
| Download URL | pyxstar-0.2.4.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
679373b14c5bae3f5103679da588acb1ae8fa80186c3fd2bb82ab78278b3964f
|
|
BLAKE2b-256 checksum How to use checksums |
c19a149e69e9558358ddd2d767d547eda5479358b574d10eaf4be2f191f467ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.5 Darwin/24.4.0
|
Release files / pyxstar-0.2.4-py3-none-any.whl
| Download URL | pyxstar-0.2.4-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
190594258fd7abd1b6ca88bcb0c7ce2cebb1e8672f79da347492eff21c2b4db0
|
|
BLAKE2b-256 checksum How to use checksums |
ab5631a23f021f993523f8f978656cae65e5d9ae98b78cbb4608fccf5b3cbe38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.5 Darwin/24.4.0
|