fstring-to-format-0.1.2
توضیحات
fstring_to_format converts Python f-string expressions to .format() for backwards compatibility.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | fstring-to-format-0.1.2 |
| نام | fstring-to-format |
| نسخه کتابخانه | 0.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Eftal Gezer |
| ایمیل نویسنده | eftal.gezer@astrobiyoloji.org |
| آدرس صفحه اصلی | https://github.com/eftalgezer/fstring_to_format |
| آدرس اینترنتی | https://pypi.org/project/fstring-to-format/ |
| مجوز | - |
# fstring_to_format
[](https://badge.fury.io/py/fstring_to_format)
[](https://pypi.python.org/pypi/fstring_to_format/)
[](https://github.com/eftalgezer/fstring_to_format/actions/workflows/python-package.yml)
[](https://codecov.io/gh/eftalgezer/fstring_to_format)
[](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)
[](https://pypi.python.org/pypi/fstring_to_format/)
[](https://pypi.python.org/pypi/fstring_to_format/)
[](https://pypi.python.org/pypi/fstring_to_format/)

[](https://github.com/eftalgezer/fstring_to_format/graphs/contributors/)
[](https://www.codefactor.io/repository/github/eftalgezer/fstring_to_format)
[](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_Grade)
[](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)
نحوه نصب
نصب پکیج whl fstring-to-format-0.1.2:
pip install fstring-to-format-0.1.2.whl
نصب پکیج tar.gz fstring-to-format-0.1.2:
pip install fstring-to-format-0.1.2.tar.gz