semvec/pypi-packages huggingface dataset:
theia-open 0.3.0
A command line to open file from within theia
Requires Python: >=3.6.*
Keywords: theia editor

Command line utility to open file from theia, part of `theia-open` extension.

Needs the following environment variables set:

- `THEIA_URL` the base URL of the theia instance.
- `THEIA_OPEN_EDITOR_TOKEN` the token to authenticated with theia. Theia server also needs this same token, so the easiest is to set this environment variable when starting theia and it will be inherited in the terminal processes.

This is intended to be set as `EDITOR` environment variable, using the `--wait` flag so that programs wait for the editor to be closed.
format-blocks 0.1.2
A library for building code formatters
Requires Python: >=3.6,<4.0

# Format Blocks

Format Blocks is a Python library for building code formatters.

## Usage

Format Blocks provides a number of 'block' objects which know how to arrange text in various ways,
such as `LineBlock` which arranges elements on one line, and `StackBlock` which stacks them across
lines, and `WrapBlock` which wraps inserts line breaks at the margin.

However, the most import block is `ChoiceBlock`. ChoiceBlock accepts multiple formatting options,
and allows for the solver to pick the choices which _minimize the overall formatting cost_.

See the tests for some examples!

## Origins

Format Blocks is a fork of the guts of Google's R Formatter, [rfmt](https://github.com/google/rfmt).
Rfmt was structured as a formatting library with an R implementation, _almost_ entirely decoupled. To
create Format Blocks, I just did some final decoupling, then polished up the code and wrote some
extra features and tests.