semvec/pypi-packages huggingface dataset:
f-string-lt-36 0.0.3
Python f-strings for before Python3.6
License: MIT

[![tests](https://github.com/mendelsshop/f-string_lt_36/actions/workflows/test.yml/badge.svg?branch=regex)](https://github.com/mendelsshop/f-string_lt_36/actions/workflows/test.yml)
[![flake8](https://github.com/mendelsshop/f-string_lt_36/actions/workflows/flake8.yml/badge.svg)](https://github.com/mendelsshop/f-string_lt_36/actions/workflows/flake8.yml)
[![Upload Python Package](https://github.com/mendelsshop/f-string_lt_36/actions/workflows/python-publish.yml/badge.svg)](https://github.com/mendelsshop/f-string_lt_36/actions/workflows/python-publish.yml)
# f-string_lt_36 Regex Edition
## About: 
Python f-strings for before Python 3.6. using Regex
<br>
This package should try to emulate all f-string features <br>by using a class that inherits from str.
<br>
You can also use it to get newer f-string features in earlier versions of Python.
<br>
such as: `h = 'hello'; f'{h = }'`. the ; is just to denonote the end of a line.
<br>
This package requires the re (regular expressions, regex) module.
<br>
To my knowledge most versions of Python have re, if not you can use the non regex version
<br>
So it should be able to install on any Python version.
<br>
Although it's not been tested if thats true because it's not working yet.
<br>
Once I implement all the features I will test it across multiple python version and platforms.
<br>

## Features currently working:

### basic variable replacement

```python
>>> from f_string_lt_36 import f
>>> h = "Hello,"
>>> f("{h} world")
hello world
```
#### using the equal operator (I don't know a better name for this and I'm to lazy to look at the document)
```python
>>> from f_string_lt_36 import f
>>> h = "Hello,"
>>> # instead of doing print(f("h = {h}"))
>>> # you can do print(f("{h = }"))
>>> print(f("{h = }"))
h = 'Hello,'
```
#### note:
please note to not call `f().f_string_parse()` directly but use the `f()` class.
<br>
if you try to `f_string_parse()` to use directly it will ruin your output and fall back to:

```python
>>> value = 'error: variable ' + string + ' not found'
```

where value is the replacement string to whatever you put in `{}`.

```python
>>> from fstring_lt_36 import f
>>> var = 'foo'
>>> s = f("{var}")
>>> print(s)
foo
>>> t = s.f_string_parse()
>>> print(t)
error: variable value not found
>>> print(s)
error: variable value not found
# besides for messing up t it will also mess up s because it's a reference to the same object.

```
## Version: 
Version Number: 0.0.3
<br>
Version Stage: alpha
molecule-lxd 0.4.0a0
LCD Molecule Plugin :: run molecule tests on LXD
License: MIT
Requires Python: >=3.6
Keywords: ansible,roles,testing,molecule,plugin,lxd

*******************
Molecule LXD Plugin
*******************

.. image:: https://badge.fury.io/py/molecule-lxd.svg
   :target: https://badge.fury.io/py/molecule-lxd
   :alt: PyPI Package

.. image:: https://github.com/ansible-community/molecule-lxd/actions/workflows/tox.yml/badge.svg
   :target: https://github.com/ansible-community/molecule-lxd/actions/workflows/tox.yml

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
   :target: https://github.com/python/black
   :alt: Python Black Code Style

.. image:: https://img.shields.io/badge/Code%20of%20Conduct-silver.svg
   :target: https://docs.ansible.com/ansible/latest/community/code_of_conduct.html
   :alt: Ansible Code of Conduct

.. image:: https://img.shields.io/badge/Mailing%20lists-silver.svg
   :target: https://docs.ansible.com/ansible/latest/community/communication.html#mailing-list-information
   :alt: Ansible mailing lists

.. image:: https://img.shields.io/badge/license-MIT-brightgreen.svg
   :target: LICENSE
   :alt: Repository License

Molecule LXD is designed to allow use of LXD for provisioning test
resources.

.. _get-involved:

Get Involved
============

* Join us in the ``#ansible-molecule`` irc channel on `libera.chat`_.
* Join the discussion in `molecule-users Forum`_.
* Join the community working group by checking the `wiki`_.
* Want to know about releases, subscribe to `ansible-announce list`_.
* For the full list of Ansible email Lists, IRC channels see the
  `communication page`_.

.. _`libera.chat`: https://web.libera.chat/?channel=#ansible-molecule
.. _`molecule-users Forum`: https://groups.google.com/forum/#!forum/molecule-users
.. _`wiki`: https://github.com/ansible/community/wiki/Molecule
.. _`ansible-announce list`: https://groups.google.com/group/ansible-announce
.. _`communication page`: https://docs.ansible.com/ansible/latest/community/communication.html

.. _license:

License
=======

The `MIT`_ License.

.. _`MIT`: https://github.com/ansible/molecule/blob/master/LICENSE

The logo is licensed under the `Creative Commons NoDerivatives 4.0 License`_.

If you have some other use in mind, contact us.

.. _`Creative Commons NoDerivatives 4.0 License`: https://creativecommons.org/licenses/by-nd/4.0/