Skip to main content
#format_converter

该项目的用途相当的简单,是用来转换数据格式的。 比如把json转换成yaml,json转换成csv. 现在支持的格式有json、txt、csv、yaml.

##安装:
```
pip install format_converter
```

##使用说明:
```python
from format_converter import converter

data = converter < 'data.json'
```

读取配置
```
data = converter < 'file.json'
data = converter < 'file.txt'
data = converter.json < 'file.json'
data = converter.yml < 'file.yml'
data = converter.csv < 'file.csv'
```

写入配置
```
converter(data) > 'file.json'
converter(data) > 'file.txt'
converter.json(data) > 'file.json'
converter.yml(data) > 'file.yml'

```

Metadata

Release files for format_converter 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for format_converter 1.1
File Size Uploaded Provenance
format_converter-1.1.tar.gz 2.4 kB Without provenance Details

Release files / format_converter-1.1.tar.gz

Download URL format_converter-1.1.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
bba778d28b85a9be27b8fd6dfb0986bf93faa618942626ecaedbf2d466302d54
BLAKE2b-256 checksum
How to use checksums
42c1edb0b268e44a626bbfbc76cf46e82a78d45c7f56a865efb0533c0261838c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for format_converter 1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page