semvec/pypi-packages huggingface dataset:
chameleon-fetcher 0.0.2
Utility to quickly fetch and render a chameleon template
Requires Python: >=3.6

# Chameleon fetcher

A small wrapper for [chameleon page templates](https://github.com/malthe/chameleon) to easily fetch and render templates.

## Installation

```bash
pip install chameleon_fetcher
```

## Usage

E.g. you have in template dir `my_template_dir` a file `simple.pt` with
the following content:

```html

<test>${template_name} ${myvar} ${some_var}</test>
```

You can then do:

```python
from chameleon_fetcher import ChameleonFetcher

cf = ChameleonFetcher('my_template_dir', some_var=42)
output = cf('simple', myvar='test')
assert output == '<test>simple test 42</test>'
```

Please note how `some_var` is set "globally", while for the specific template also a
variable `myvar` is used.

The following parameters are accepted by ChameleonFetcher:

- **template_dir**: the directory where the templates are located

And optionally:

- _extension_: extension of the template files, defaults to '.pt'
- _boolean_attributes_: what boolean attributes should be supported, defaults to all valid html
  boolean attributes. See https://meiert.com/en/blog/boolean-attributes-of-html/
- _auto_reload_: if the templates should be reloaded on change, defaults to True
- **kwargs: other params you want to have available in all templates, e.g. flask=flask

For using the actual templates, check the fantastic [chameleon documentation](https://chameleon.readthedocs.io/en/latest/).
turberfield-dialogue 0.47.0
Scripting dialogue and soundtrack for your Turberfield project.

..  Titling
    ##++::==~~--''``

*Turberfield* is the family name for a bunch of software components which support
game development. This particular package is `turberfield-dialogue`. It helps you
create dramatic dialogue or screenplay.

You can read the full `documentation online`_.

Roadmap
:::::::

Turberfield is a *S* ur *PRISE*.

**Semantic**
    Turberfield can be understood by machines or human beings.

**Persistent**
    Turberfield can be stopped and saved for later.

**Reusable**
    Turberfield can be turned into something else.

**Interactive**
    Turberfield listens to what you say.

**Simulation**
    Turberfield knows what it's talking about.

for **Economics**
    ...or Education, or Entertainment. Turberfield is deadly serious.
    And only a game.

What's missing? *UR*!

* If you've spotted a bug in Turberfield, please let me know so I can fix it.
* If you think Turberfield lacks a feature, you can help drive development by describing
  your Use Case.

In either event, please visit the project's `issue tracker`_.

:Author: tundish
:Copyright: 2017 D Haynes
:Licence: `GNU General Public License`_

.. _GNU General Public License: http://www.gnu.org/licenses/gpl.html
.. _issue tracker: https://github.com/tundish/turberfield-dialogue/issues
.. _documentation online: https://turberfield-dialogue.readthedocs.io
Smelly-Python 1.0.0
A python code smell reporting tool

# Smelly Python

A code smell reporting tool for Python projects, created for the [Release Engineering for Machine Learning applications](https://se.ewi.tudelft.nl/remla/2022/) course at TU Delft.

Smelly Python generates an HTML report for easy viewing of Pylint errors.

# How To
1. Run `pip install smelly-python` 
2. Run `smelly-python -d {src}`. Replace `{src}` with the directory you want to analyse.
3. Open `./report/smelly_python/index.html` to view the generated report. 

# Using Advanced Features of Pylint
Smelly Python will run the following command: `pylint {src} --output-format:json:report.json,text:grade.txt --exit-zero`. Therefore, in order to customize what settings Pylint runs with, use the `.pylintrc` file to configure it. 

# Using Smelly-Python in GitHub Actions
The tool has been designed to be run within a GitHub workflow using the [smell-my-pr](https://github.com/marketplace/actions/smelly-python-smell-my-pr) GitHub action. The action will automatically post the output of the tool to your GitHub pull request as a comment and add a summary and artifact to the job.