jtrakk
jtrakk
Eliot could support nonblocking destinations. ```python async def receive(request): async with eliot.start_action(): async with trio.open_nursery() as nursery: nursery.start_soon(one_handler, request) nursery.start_soon(another_handler, request) async def async_json_to_stderr(obj): await stderr_stream.send_all(json.dumps(obj).encode()) eliot.add_destinations(async_json_to_stderr) ``` If actions...
This could be a separate `@log_async_call` decorator or combined into the same `@log_call`. Here's an example of the combined version. ```python # XXX BROKEN Don't use this. def log_call( wrapped_function:...
Currently I need to explicitly include a traceback whenever I want one, but since tracebacks are so useful, I usually do want one. Does it make sense to make this...
The [Freedesktop standard](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) has an environment variable `XDG_CONFIG_DIRS` which sets the location for config directories. On Linux for example it's usually under `~/.config/`. It's nice to keep all the config...
Bumpversion is not maintained anymore. There's a fork called https://github.com/c4urself/bump2version People seem to like versioneer. https://github.com/warner/python-versioneer Perhaps that could be added?
In setup.py development status is set to "Production/Stable", which is not where I am when I first generate a project from template :-).
Currently, adding a `Period() + Duration()` returns a `Duration()`. That doesn't make sense to me. I think it should return either a `Period` or raise a `TypeError`. ```py In [10]:...
I would like a command-line interface, such as ```bash blanket play city --volume=50 ``` [Click](https://click.palletsprojects.com/en/8.0.x/) is good for making these (simpler than argparse) imo.
I like to use avy. The strategies it uses to tag words are 1. Move the word over and insert a tag to the left of it. This means that...
I've been falling in love with the [Trio](http://trio.readthedocs.io) async library. I find it helps me design async software in a simpler, [more principled](https://vorpus.org/blog/notes-on-structured-concurrency-or-go-statement-considered-harmful/), and robust style. There is one web...