Maybe something in the spirit of Home Assistant? But for general service-interaction, not only home automation.
That would be so useful, as also kinda dangerous. It would be also a damn amount of work, just for managing it. Maybe building some general framework and API and let people build it decentral?
I've been working on something quite similar to this project (in Rust), and I had the same need. I started tinkering with a library + DSL that describes data fetching and transformation, where all data is transformed into schema.org types. The DSL can then be either interpreted or client code generated for various languages. This would potentially make such a API collection library much more feasible. Sadly such a DSL turns out to be more of a full programming language if all requirements are covered.
I list my most common usecases here [0], but if I had to name just one thing, it would probably be promnesia [1].
It's an extension that I'm working on, with the purpose to actually use all this information and integrate it in my browser, like a remembrance agent.
Intake [0] is another package that might help here. It organizes a set of data sources into (1) plugins that actually connect to the data source and map the data to standard Python data structures like Data Frames (2) catalogs that reference the plugins you want to use alongside project specific metadata like usernames/passwords/source URIs (3) convenience functions that persistence, concatenation, etc (4) a GUI for browsing data sources Looks like OP has already written a lot of data access logic... I might fork them into Intake plugins for my personal use. [0] https://github.com/intake/intake/blob/master/README.md
Comments (93) 29 threads
Earlier commentsThat would be so useful, as also kinda dangerous. It would be also a damn amount of work, just for managing it. Maybe building some general framework and API and let people build it decentral?
I've been working on something quite similar to this project (in Rust), and I had the same need.
I started tinkering with a library + DSL that describes data fetching and transformation, where all data is transformed into schema.org types.
The DSL can then be either interpreted or client code generated for various languages.
This would potentially make such a API collection library much more feasible.
Sadly such a DSL turns out to be more of a full programming language if all requirements are covered.
[0] https://beepb00p.xyz/hpi.html#usecases
[1] https://github.com/karlicoss/promnesia#demos
Intake [0] is another package that might help here. It organizes a set of data sources into
(1) plugins that actually connect to the data source and map the data to standard Python data structures like Data Frames
(2) catalogs that reference the plugins you want to use alongside project specific metadata like usernames/passwords/source URIs
(3) convenience functions that persistence, concatenation, etc
(4) a GUI for browsing data sources
Looks like OP has already written a lot of data access logic... I might fork them into Intake plugins for my personal use.
[0] https://github.com/intake/intake/blob/master/README.md
Really cool interface there: https://hyfen.net/memex/
All comments shown.
Couldn't load more comments. Check your connection and try again.