semvec/pypi-packages huggingface dataset:
bmt-lite-2.0.1 2.2.0
A zero-dependency near-clone of common bmt capabilities
License: MIT
Requires Python: >=3.7

# Biolink model toolkit - lite!

_bmt-lite_ is a zero-dependency near-clone of a subset of [_bmt_](https://github.com/biolink/biolink-model-toolkit).
It is backed by a pre-populated cache of input/output pairs for many of the more commonly used _bmt_ methods.

_bmt_ alone occupies ~127 KB on disk, but with all of its dependencies it takes up ~36.2 MB. On the other hand, _bmt-lite-1.8.2_ is ~295 KB on disk, of which ~254 KB is the cached data. To initialize a Toolkit from _bmt_ takes ~2 seconds, while initializing a Toolkit from _bmt-lite_ takes ~2e-7 seconds. Because all of _bmt-lite_'s behavior is pre-cached, it does not require the internet at run time.

|   | bmt | bmt-lite (-1.8.2) |
|---|---|---|
| size | 127 KB | 295 KB |
| size w/ deps | 36.2 MB | 295 KB |
| init time | 2 sec | 2e-7 sec |

_* all measurements made on a typical laptop on a random Tuesday afternoon_

Note: _bmt-lite_ does not implement all of the functionality of _bmt_. Feature requests (or pull requests?!) are welcome. In addition, the existing functionality may differ slightly; for example, _bmt-lite_'s element-name/id format conversions are known to differ for some special cases.

# Installation

You must install a specific "flavor" of bmt-lite corresponding to the Biolink model version that you want.
Versions 1.7.0 - 2.2.5 are currently available.

For example,
```bash
pip install bmt-lite-1.8.2
```

# Usage

Use bmt-lite almost exactly like you would use bmt itself: https://github.com/biolink/biolink-model-toolkit#usage

# Development

### Building

```bash
pip install -rrequirements-build.txt
./build.sh
```

### Testing

```bash
pip install -rrequirements-test.txt
tox
```

### Publishing

```bash
pip install twine
twine upload dist/*
```
bmt-lite-1.7.0 2.2.0
A zero-dependency near-clone of common bmt capabilities
License: MIT
Requires Python: >=3.7

# Biolink model toolkit - lite!

_bmt-lite_ is a zero-dependency near-clone of a subset of [_bmt_](https://github.com/biolink/biolink-model-toolkit).
It is backed by a pre-populated cache of input/output pairs for many of the more commonly used _bmt_ methods.

_bmt_ alone occupies ~127 KB on disk, but with all of its dependencies it takes up ~36.2 MB. On the other hand, _bmt-lite-1.8.2_ is ~295 KB on disk, of which ~254 KB is the cached data. To initialize a Toolkit from _bmt_ takes ~2 seconds, while initializing a Toolkit from _bmt-lite_ takes ~2e-7 seconds. Because all of _bmt-lite_'s behavior is pre-cached, it does not require the internet at run time.

|   | bmt | bmt-lite (-1.8.2) |
|---|---|---|
| size | 127 KB | 295 KB |
| size w/ deps | 36.2 MB | 295 KB |
| init time | 2 sec | 2e-7 sec |

_* all measurements made on a typical laptop on a random Tuesday afternoon_

Note: _bmt-lite_ does not implement all of the functionality of _bmt_. Feature requests (or pull requests?!) are welcome. In addition, the existing functionality may differ slightly; for example, _bmt-lite_'s element-name/id format conversions are known to differ for some special cases.

# Installation

You must install a specific "flavor" of bmt-lite corresponding to the Biolink model version that you want.
Versions 1.7.0 - 2.2.5 are currently available.

For example,
```bash
pip install bmt-lite-1.8.2
```

# Usage

Use bmt-lite almost exactly like you would use bmt itself: https://github.com/biolink/biolink-model-toolkit#usage

# Development

### Building

```bash
pip install -rrequirements-build.txt
./build.sh
```

### Testing

```bash
pip install -rrequirements-test.txt
tox
```

### Publishing

```bash
pip install twine
twine upload dist/*
```
ruamel.yaml.jinja2 0.2.7
jinja2 pre and post-processor to update with YAML
License: MIT
Requires Python: >=3.6
Keywords: yaml 1.2 parser round-trip jinja2


ruamel.yaml.jinja2
==================

:version:       0.2.7
:updated:       2021-09-23
:repository:    https://sourceforge.net/projects/ruamel-yaml-jinja2/
:pypi:          https://pypi.org/project/ruamel.yaml.jinja2/

jinja2 templates for YAML files can normally not be loaded as YAML before 
rendering the template. This plugin allows pre and post-processing based on the
round-trip processor.

It works by rewriting the jinja2 constructs and keeping track of what needs to be "un-rewritten"
for this to work, you need to use the same `YAML()` instance for loading and dumping.

Its intended use is allowing you to update hardcoded values in the YAML file, and not to update
the jinja2 template part (which might even only be available in a comment).

See, the bottom of, `this StackOverflow answer <https://stackoverflow.com/a/44515747/1307905>`__
or `this one <https://stackoverflow.com/a/69300709/1307905>`__.


.. image:: https://sourceforge.net/p/ruamel-yaml-jinja2/code/ci/default/tree/_doc/_static/license.svg?format=raw
   :target: https://opensource.org/licenses/MIT

.. image:: https://sourceforge.net/p/ruamel-yaml-jinja2/code/ci/default/tree/_doc/_static/pypi.svg?format=raw
   :target: https://pypi.org/project/ruamel.yaml.jinja2/

.. image:: https://sourceforge.net/p/oitnb/code/ci/default/tree/_doc/_static/oitnb.svg?format=raw
   :target: https://pypi.org/project/oitnb/

ChangeLog
=========

.. should insert NEXT: at the beginning of line for next key

0.2.7 (2021-09-23):
  - add link to example answers on SO, add badges to README

0.2.6 (2021-09-23):
  - fix README

0.2.5 (2021-09-23):
  - add support for "{{- " in if-statement
    `user3170450 on stackoverflow <https://stackoverflow.com/q/69299611/1307905>`__

0.2.4:
  - fix spurious .pth file for nested package.

0.2.3:
  - handling jinja2 comments, PR supplied by 
    `Jude N <https://bitbucket.org/%7Bf205c5b0-ee70-49f2-93d9-3c4ab10b935a%7D/>`__

0.2.2 (2017-10-11):
  - fix for Python 3.x

0.2.1 (2017-06-23):
  - add univeral wheel

0.2.0 (2017-06-23):
  - rename to __plug_in__.py

0.1.3 (2017-06-18):
  - remove generation of non-functional jinja2 executable

0.1.2 (2017-06-16):
  - added keyword, dependency on ruamel.yaml

0.1.1 (2017-06-14):
  - initial plug-in version