file in out tool
Project description
fies
下の方に日本語の説明があります
Overview
- A tool to easily read and write json files and plain text files.
- It will be extended to other formats. (csv, pickle, binary, etc.)
Usage
import fies
# Save json file
fies["./test.json"] = {"hoge": 23, "dummy_data": "fuga"}
# Read json file
print(fies["./test.json"]) # -> {'hoge': 23, 'dummy_data': 'fuga'}
# Save plain text file
fies["./test.txt"] = "hogehoge"
# Read plain text file
print(fies["./test.txt"]) # -> hogehoge
概要
- jsonファイル, プレーンテキストのファイルを簡単に読み書きできるツールです。
- 他の形式にも拡張予定です。(csv, pickle, バイナリ など)
使い方
import fies
# jsonファイル保存
fies["./test.json"] = {"hoge": 23, "dummy_data": "fuga"}
# jsonファイル読み込み
print(fies["./test.json"]) # -> {'hoge': 23, 'dummy_data': 'fuga'}
# プレーンテキストファイル書き出し
fies["./test.txt"] = "hogehoge"
# プレーンテキストファイル読み込み
print(fies["./test.txt"]) # -> hogehoge
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fies-0.1.0.tar.gz
(2.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
fies-0.1.0-py3-none-any.whl
(3.1 kB
view details)
File details
Details for the file fies-0.1.0.tar.gz.
File metadata
- Download URL: fies-0.1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8393c104c39737ee44d71d33f22b06fa4e45620f3cb5047cacc5c02be18d33cd
|
|
| MD5 |
5a5b236d63e9b0abf1a35bdf6c6a2bb6
|
|
| BLAKE2b-256 |
c6842bb38e07585da874afb8decbe7fcd413ac4bfc798db3b100d3555ff4e8dc
|
File details
Details for the file fies-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fies-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2711cd9d34ca05e05073ec373793d3c95a6c7ec8a531955da23578629fb545f
|
|
| MD5 |
5e4fde9e7af29405d04fcbec35158851
|
|
| BLAKE2b-256 |
7efb613f4afd1a654c4f08f078d5aae44159603094fa362d29e29b6eee5c8f2b
|