semvec/pypi-packages huggingface dataset:
storer 1.0.8
Minimalist storage class for any purpose.
License: MIT
Requires Python: >=3.7
Keywords: store,pickle

# 1. Storer - Minimalist storage class for any purpose.

- [1. Storer](#1-storer)
  - [1.1. Quick start](#11-quick-start)
  - [1.2. Few examples](#12-few-examples)
  - [1.3. Contribution](#13-contribution)
  - [License](#-license)

The main idea of the Storer is to provided only few methods for powerful manupulating and keeping the data in the files.
Particularly methods `put` and `get` are enough for quick start.

## 1.1. Quick start

## Installation:
`
pip3 install Storer
`

1. Create an Storer instance: `s = Storer()`
2. Put something: `s.put(what=<what_ever_you_like>, name=<name_of_object>)`
3. Get something: `s.get(name=<name_of_object>)`
4. Look at internal data of the instance: `s.show()` or `output = s.show(get_string=True)`


## 1.2. Few examples

```python
>>> from storer import Storer
>>> s = Storer()
>>> s.put(what="string", name="my_string")
>>> s.get(name="my_string")
'string'
>>> 
```

```python
>>> from storer import Storer
>>> s = Storer(dump_path="~/my_folder_for_dumps", dump_name="dumps", verbose=True)
[Storer v.1.0.6 [55]] is initialized!
Dump folder: [~/my_folder_for_dumps]
[Storer] No data is available for loading...
>>> s.put(what=[i for i in range(10)], name="my_range")
>>> s.put(what={v:v*2 for v in range(5)}, name="my_dict")
>>> s.dump()
[Storer] ~/my_folder_for_dumps dumps dumping...  # at this point you have you data stored (force)
>>> 
```

However you can use just `put` methods and the Store will dump your data automatically:

```python
>>> from storer import Storer
>>> s = Storer(dump_path="~/my_folder_for_dumps", dump_name="dumps", verbose=True)
[Storer v.1.0.6 [55]] is initialized!
Dump folder: [~/my_folder_for_dumps]
[Storer] No data is available for loading...
>>> s.put(what=[i for i in range(10)], name="my_range")
>>> s.put(what={v:v*2 for v in range(5)}, name="my_dict")
>>> exit()
[Storer] ~/my_folder_for_dumps dumps dumping...
```


## 1.3. Contribution

Feel free to contribute to the project, but please create initially an issue with detailed problem and way to resolve it. 

## License
----

MIT
mould 0.0.7
A minimalistic python templating library
License: MIT

# <i><b>mould</i></b> - A minimalistic templating engine for Python

This Python library helps to render HTML pages and plain text with variable substitutions, if conditions and for loops.


## Templating syntax :

## To delcare variables enclose the variable name with '{{ ' and ' }}'

    Hello {{ text }} -- 'text' is the variable here

You can use the same syntax to write variable expressions.

    This is line number {{ n+10 }}


## <b>if</b> conditional
<br>
Use '{% ' and ' %}' to enclose the lines where an if block starts and use the same with 'endif' keyword for closing the if blocks

    
    {% if 5 < 6  %}
    Hello world!
    {% endif %}
    
Variables can also be used to write if conditions. Inside the conditional statement, the variables can be written as such. The enclosing syntax mentioned above is not required.

    {% if x > y %}
    Hello Python!
    {% endif %}
    
<b>if</b> block supports 'else' and 'elif' as well.

    {% if x > y %}
    Hello X!
    {% elif z > x %}
    Hello Z!
    {% else %}
    Hello ABC!
    {% endif %}

## <b>for</b> loop

Use '{% ' and ' %}' to enclose the lines where a 'for' block starts and use the same with 'endfor' keyword for closing the 'for' blocks
    
    {% for n in numbers %}
    This is line {{ n }} printed using for loop
    {% endfor %}

In the above code, 'n' and 'numbers' are variables where 'n' is the looping variable and 'numbers' is the list on whose items, the loop is run.

<b>for</b> supports looping over lists, strings and dictionaries

# How to install:

You can get this from <i>PyPI</i>  using pip

    pip install mould

Alternatively, you can get it from <i>git</i> also using pip.

    pip install https://github.com/ramk95/mould-it/archive/refs/heads/master.zip

# How to use:
Import the library to your python program
    
    import mould

Call the mould.it() function with your input file / input text along with a dictionary of variables that you have used in your text / input file

    mould.it(input_text, variables_dictionary)

This will return the rendered output. You can either print it direclty or save it.

    print(mould.it(input_text, variables_dictionary))
or

    rendered_data = mould.it(input_text, variables_dictionary)

# Dependencies:

<i>mould</i> uses python standard libraries <b>io</b> and <b>os</b>. No other dependent packages are required.

# Example:

        import mould

        input = "Hello {{ var }}"
        variables = {"var" : "world !"}

        print(mould.it(input,variables))



        Output:
        Hello world !
puzzle-core 1.0.0
A simple tool capable of managing customized automations
License: MIT
Requires Python: >=3.6
Keywords: puzzle

<div align="center">
  <img src="./assets/images/icon.svg" align="center" width="150">
  <br><br>
  <h1 align="center">Puzzle</h1>
  <p align="center">
    A simple tool capable of managing customized automations through schedules, telegram, etc.  
  </p>
  <p align="center">
    All custom automations are simple plugins. 
  </p>
</div>