purarue

Results 108 comments of purarue

Been playing around with [fastapi](https://fastapi.tiangolo.com/) and [pydantic](https://pydantic-docs.helpmanual.io/) a bit; feel like they might integrate nicely here -- especially if the NamedTuple/dataclasses can be converted into pydantic Models by inspecting the...

Have a pretty decent prototype up, Flask correctly serializes all of my data (though I havent tried with dataframes and the like, but [this calls `iter` on the result](https://github.com/seanbreckenridge/HPI_API/blob/6bc5da676f706b3ff1a2c526060a394342f0e970/my_api/routes.py#L67-L74), so...

> in principle would be cool to keep decoupled if possible The only real 'dependencies' it has on HPI are in the [discovery](https://github.com/seanbreckenridge/HPI_API/blob/master/my_api/discovery.py) file, using core_config to check if modules...

CORS slipped my mind, added a flag to enable/disable it, is enabled by default. > Maybe the cli needs --no-cors option? Although I don't know Flask, maybe it's already possible...

I've played around with this a bit, and the docs don't really document everything that well (seems they've been in the process of migrating to rust-based core as well). had...

It could be, but it doesnt have to be for you to use it -- if you have the client/server setup and you have this installed as editable, you can...

> Wondering, how do you approach Python entry points/executable scripts while developing? Recently new thought process, but; If I'm developing something that I'd run *once* and it exports to JSON/some...

total misclick there, sounds good.

Once I've merged changes from [rexport](https://github.com/karlicoss/rexport) and #83 into my fork... Would be possible to merge [some of this](https://github.com/seanbreckenridge/HPI/blob/master/my/reddit.py) (pushishift). Would probably be optional, like: ```python @dataclass class reddit(uconfig) ......

> any issues [all good on my end](https://github.com/seanbreckenridge/HPI/commit/fbae290f7008d9e58fffa9e9a14addf4c5b67a0f), been merging commits as you've been merging them into master; Though, I'm only using `ghexport` and `rexport` currently. > nested classes for...