Metadata-Version: 2.1
Name: fstring-to-format
Version: 0.1.2
Summary: fstring_to_format converts Python f-string expressions to .format() for backwards compatibility.
Home-page: https://github.com/eftalgezer/fstring_to_format
Author: Eftal Gezer
Author-email: eftal.gezer@astrobiyoloji.org
License: UNKNOWN
Project-URL: Bug Reports, https://github.com/eftalgezer/fstring_to_format/issues
Project-URL: Source, https://github.com/eftalgezer/fstring_to_format/
Project-URL: Blog, https://beyondthearistotelian.blogspot.com/search/label/fstring_to_format
Project-URL: Developer, https://www.eftalgezer.com/
Keywords: f-string,fstring,format,f-string to format converter,fstring to format converter
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Topic :: Software Development
Classifier: Topic :: Utilities
Classifier: Typing :: Typed
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.1
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Description-Content-Type: text/markdown
License-File: LICENSE

# fstring_to_format
[![PyPI version](https://badge.fury.io/py/fstring_to_format.svg)](https://badge.fury.io/py/fstring_to_format)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/fstring_to_format.svg)](https://pypi.python.org/pypi/fstring_to_format/)
[![Python package](https://github.com/eftalgezer/fstring_to_format/actions/workflows/python-package.yml/badge.svg)](https://github.com/eftalgezer/fstring_to_format/actions/workflows/python-package.yml)
[![codecov](https://codecov.io/gh/eftalgezer/fstring_to_format/branch/main/graph/badge.svg?token=Q9TJFIN1U1)](https://codecov.io/gh/eftalgezer/fstring_to_format)
[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/3bec71a96f374f24b26b077619350f30)](https://www.codacy.com/gh/eftalgezer/fstring_to_format/dashboard?utm_source=github.com&utm_medium=referral&utm_content=eftalgezer/fstring_to_format&utm_campaign=Badge_Coverage)
[![PyPI download month](https://img.shields.io/pypi/dm/fstring_to_format.svg)](https://pypi.python.org/pypi/fstring_to_format/)
[![PyPI download week](https://img.shields.io/pypi/dw/fstring_to_format.svg)](https://pypi.python.org/pypi/fstring_to_format/)
[![PyPI download day](https://img.shields.io/pypi/dd/fstring_to_format.svg)](https://pypi.python.org/pypi/fstring_to_format/)
![GitHub all releases](https://img.shields.io/github/downloads/eftalgezer/fstring_to_format/total?style=flat)
[![GitHub contributors](https://img.shields.io/github/contributors/eftalgezer/fstring_to_format.svg)](https://github.com/eftalgezer/fstring_to_format/graphs/contributors/)
[![CodeFactor](https://www.codefactor.io/repository/github/eftalgezer/fstring_to_format/badge)](https://www.codefactor.io/repository/github/eftalgezer/fstring_to_format)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/3bec71a96f374f24b26b077619350f30)](https://www.codacy.com/gh/eftalgezer/fstring_to_format/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=eftalgezer/fstring_to_format&amp;utm_campaign=Badge_Grade)
[![PyPI license](https://img.shields.io/pypi/l/fstring_to_format.svg)](https://pypi.python.org/pypi/fstring_to_format/)

fstring_to_format converts Python f-string expressions to .format() for backwards compatibility. 

There are other packages for this too, but this is a regular expression based cleaner solution.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install fstring_to_format.

```bash
$ pip install fstring_to_format

# to make sure you have the latest version
$ pip install -U fstring_to_format

# latest available code base
$ pip install -U git+https://github.com/eftalgezer/fstring_to_format.git
```

## Usage

```bash
$ python -m fstring_to_format filename.py # for a single file
$ python -m fstring_to_format *.py # for all Python files in a directory
```

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License
[GNU General Public License v3.0](https://github.com/eftalgezer/fstring_to_format/blob/master/LICENSE) 
 


