Skip to main content

nostalgia enables to self-track and gain insights into your life

Project description

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.

Quick Actions: run the timeline query my data contribute

Available Data Bindings

Full list of current sources.

Getting started

  1. pip install 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

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!

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nostalgia-0.1.36.tar.gz (284.5 kB view details)

Uploaded Source

Built Distribution

nostalgia-0.1.36-py2.py3-none-any.whl (61.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file nostalgia-0.1.36.tar.gz.

File metadata

  • Download URL: nostalgia-0.1.36.tar.gz
  • Upload date:
  • Size: 284.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for nostalgia-0.1.36.tar.gz
Algorithm Hash digest
SHA256 98eecbc403e7b47fd1ecc95164333d9226c67d502a388c5c8534981f4147cfbc
MD5 f0d775536c4377f5f3c9f662d9410250
BLAKE2b-256 67de24b036ffef6bb00401772bb5cde8e9d8d2c11b1b05aa7b9d89beacf85a8a

See more details on using hashes here.

File details

Details for the file nostalgia-0.1.36-py2.py3-none-any.whl.

File metadata

  • Download URL: nostalgia-0.1.36-py2.py3-none-any.whl
  • Upload date:
  • Size: 61.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for nostalgia-0.1.36-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a4c9d4353f05c873aa0a942a1789a518d495004e3fdd396d745dc65b7ce998d7
MD5 2abf2d3c0eaa4fe522a6d0f92fe93035
BLAKE2b-256 5e329aa9cbc429ddd694cfe16cf195b44af515f6941e9fdb185c5896c61f40b1

See more details on using hashes here.

Supported by

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