Metadata-Version: 2.1
Name: fjson
Version: 0.1.2
Summary: Python JSON writer with float formatting
Home-page: https://github.com/nschloe/fjson
Author: Nico Schlömer
Author-email: nico.schloemer@gmail.com
License: MIT
Project-URL: Code, https://github.com/nschloe/fjson
Project-URL: Issues, https://github.com/nschloe/fjson/issues
Description: <p align="center">
          <a href="https://github.com/nschloe/fjson"><img alt="fjson" src="https://nschloe.github.io/fjson/logo.svg" width="50%"></a>
          <p align="center">JSON with float formatting.</p>
        </p>
        
        [![gh-actions](https://img.shields.io/github/workflow/status/nschloe/fjson/ci?style=flat-square)](https://github.com/nschloe/fjson/actions?query=workflow%3Aci)
        [![codecov](https://img.shields.io/codecov/c/github/nschloe/fjson.svg?style=flat-square)](https://codecov.io/gh/nschloe/fjson)
        [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square)](https://github.com/psf/black)
        [![PyPI pyversions](https://img.shields.io/pypi/pyversions/fjson.svg?style=flat-square)](https://pypi.org/pypi/fjson/)
        [![PyPi Version](https://img.shields.io/pypi/v/fjson.svg?style=flat-square)](https://pypi.org/project/fjson)
        [![GitHub stars](https://img.shields.io/github/stars/nschloe/fjson.svg?logo=github&label=Stars&logoColor=white&style=flat-square)](https://github.com/nschloe/fjson)
        [![PyPi downloads](https://img.shields.io/pypi/dm/fjson.svg?style=flat-square)](https://pypistats.org/packages/fjson)
        
        The [json](https://docs.python.org/3/library/json.html) module in the Python standard
        library does not allow you to specify the format in which `float`s are written out the
        file. This module adds the `float_format` parameter.
        ```python
        import math
        import fjson
        
        
        data = {"a": 1, "b": math.pi}
        print(fjson.dumps(data, float_format=".6e", indent=2))
        ```
        ```json
        {
          "a": 1,
          "b": 3.141593e+00
        }
        ```
        
        
        ### License
        
        fjson is published under the [MIT license](https://en.wikipedia.org/wiki/MIT_License).
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Utilities
Requires-Python: >=3.6
Description-Content-Type: text/markdown
