Skip to main content

Fetch your (kid's) images from famly.co

Project description

famly-fetch

Static Badge PyPI

Fetch your (kid's) images from famly.co

NOTICE: I no longer have access to Famly, so I am merely the steward of this code base. If you create PRs with improvements or bugfixes, please make sure to test them before submitting them.

Get Started

pip install famly-fetch
famly-fetch

Enter your email and password when prompted, or provide an access token for authentication. Run famly-fetch --help to get full help page.

Downloaded images will be stored in the pictures directory of the the folder where you run this program from.

By default, it will only download images where you have tagged your child. The date that the photo was taken is embedded in its metadata and in its title. For journey, notes and messages, the associated text is also added as an exif comment.

The images have been stripped for any metadata including EXIF information by Famly. You can optionally add GPS coordinates to the EXIF data of all downloaded images by providing latitude and longitude values.

The --stop-on-existing option is helpful if you wish to download images continously and just want to download what is new since last download.

Hent-billeder-fra-Famly.co.pdf contains instructions in Danish on how to make it work on a computer running Windows.

Command Line Help

Usage: famly-fetch [OPTIONS]

  Fetch kids' images from famly.co

Options:
  --email EMAIL                   Your famly.co email address, can be set via
                                  FAMLY_EMAIL env var
  --password PASSWORD             Your famly.co password, can be set via
                                  FAMLY_PASSWORD env var
  --access-token TOKEN            Your famly.co access token, can be set via
                                  FAMLY_ACCESS_TOKEN env var
  --no-tagged                     Don't download tagged images
  -j, --journey                   Download images from child Learning Journey
  -n, --notes                     Download images from child notes
  -m, --messages                  Download images from messages
  -p, --pictures-folder DIRECTORY
                                  Directory to save downloaded pictures, can
                                  be set via FAMLY_PICTURES_FOLDER env var
                                  [default: pictures]
  -e, --stop-on-existing          Stop downloading when an already downloaded
                                  file is encountered
  -u, --user-agent                User Agent used in Famly requests, can be
                                  set via FAMLY_USER_AGENT env var  [default:
                                  famly-fetch/0.2.0]
  --latitude LAT                  Latitude for EXIF GPS data, can be set via
                                  LATITUDE env var
  --longitude LONG                Longitude for EXIF GPS data, can be set via
                                  LONGITUDE env var
  --version                       Show the version and exit.
  --help                          Show this message and exit.

Docker

If you have Docker set up you can easily run as follows:

Build the container:

docker build -t famly-fetch -f dev.Dockerfile .
docker run -it -v $PWD/pictures:/app/pictures famly-fetch

Or use docker compose workflow

docker compose build
docker compose run app

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

famly_fetch-0.2.1.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

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

famly_fetch-0.2.1-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file famly_fetch-0.2.1.tar.gz.

File metadata

  • Download URL: famly_fetch-0.2.1.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for famly_fetch-0.2.1.tar.gz
Algorithm Hash digest
SHA256 15132a9f6fc1435d1c61ae5db68184d3ae621e46b2bd7446fb5d3ddfb494305f
MD5 2927ed5b52db50ca87f961cda295b186
BLAKE2b-256 5e2a18352b6eae5a28939df2bc0e7b3d99afed38742f22950c8845f3ea921463

See more details on using hashes here.

Provenance

The following attestation bundles were made for famly_fetch-0.2.1.tar.gz:

Publisher: pypi-publish.yml on jacobbunk/famly-fetch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file famly_fetch-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: famly_fetch-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for famly_fetch-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 15f1d84297325b8b0a213a5e566b94399aede1b38e9dbecbf5cf2ef563ca509d
MD5 790dc1b8aca823a25db467937c2613d8
BLAKE2b-256 20be78d434e001bfb81ebf8adb997eb7c1ea65a12e9387879c067d9b0e1b3731

See more details on using hashes here.

Provenance

The following attestation bundles were made for famly_fetch-0.2.1-py3-none-any.whl:

Publisher: pypi-publish.yml on jacobbunk/famly-fetch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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