Skip to main content

nostalgia

PyPI PyPI

Ecosystem for combining personal data

Nostalgia will help with gathering data from a variety of sources and enable you to combine them easily.

It's much like Home Assistant, providing a platform, but then for connecting data instead of IoT devices.

Afterwards, it will help you filter and visualize the data.

The architecture is as follows. You're looking at the core which contains the code for ingesting sources, installing the backend system and allows you to write scripts using Nostalgia Query Language.

If you want to add your own data that is not supported, please for now contact us directly in either discord or slack and we'll help you get started. You can also look at the open issues to see suggestions for new sources.

Available Data Bindings

Full list of current sources.

Getting started

  1. If you're a user: pip install nostalgia or... pip install -e . if you might want to develop on Nostalgia

  2. Follow the instructions for a source of interest to ensure it is loaded

  3. Use the data in an interactive session (run Python) OR run the timeline

  4. To upgrade Nostalgia, as user run pip install -U nostalgia or as developer run git pull.

Nostalgia Query Language - extending pandas

Given that you have payments, heartrate and google places set up, you could start Python and run:

In [15]: from nostalgia.sources.ing_banking.mijn_ing import Payments

payments = Payments.load()

payments.by_card\
        .last_year\
        .in_office_days\
        .during_hours(7, 12)\
        .by_me()\
        .heartrate_above(100)\
        .when_at("amsterdam")\
        .sum()

Out[15]: 7.65 # in euros

This will give the total expenses by card in the last week, but only on work days, at night, when my heart rate is above 80 and I'm in Amsterdam. It combined the generic class functionality, together with data from:

  • A Payments provider
  • A Location provider
  • A Heartrate provider

Contributing

Please contribute the data sources that others could use as well!

Release files for nostalgia 0.1.67

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nostalgia 0.1.67
File Size Uploaded
nostalgia-0.1.67.tar.gz 313.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nostalgia 0.1.67
File Interpreter ABI Platform
nostalgia-0.1.67-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 427.1 kB

Release files / nostalgia-0.1.67.tar.gz

Download URL nostalgia-0.1.67.tar.gz
Size 313.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4d6d55140fa228c820e0fd9f2d0545ae9a8725b276c0919e54b85d8b6669113b
BLAKE2b-256 checksum
How to use checksums
a23ec1060100b73ed8608d47385c0baf1a238d55f8a2ae251d7de6bdba077851
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0a0

Release files / nostalgia-0.1.67-py2.py3-none-any.whl

Download URL nostalgia-0.1.67-py2.py3-none-any.whl
Size 113.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
378222a9fe7ec66d923e3ea7f17231d98c16b1188f9661a95523af1af628785a
BLAKE2b-256 checksum
How to use checksums
d38aad8153aa4aee18d8113b09812ef5572746108f2f7a6c40ca7234e2f1afa9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0a0

Release history Release notifications | RSS feed

This release

0.1.67 This release

2 release files

0.1.52

2 release files

0.1.42

2 release files

0.1.22

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page