※下の方に日本語の説明があります
English description
This package provides a simple output of python objects.
How to use
from sout import sout
large_obj = [{j:"foo" for j in range(i+2)}
for i in range(1000)]
sout(large_obj)
output
[
{0: "foo", 1: "foo"},
{0: "foo", 1: "foo", 2: "foo"},
{0: "foo", 1: "foo", 2: "foo", 3: "foo"},
{
0: "foo",
1: "foo",
2: "foo",
3: "foo",
4: "foo"
},
{
0: "foo",
1: "foo",
2: "foo",
3: "foo",
4: "foo",
... (all_n = 6)
},
... (all_n = 1000)
]
日本語の説明
オブジェクトをわかりやすく表示するためのパッケージです
簡単な使い方
from sout import sout
large_obj = [{j:"foo" for j in range(i+2)}
for i in range(1000)]
sout(large_obj)
出力結果
[
{0: "foo", 1: "foo"},
{0: "foo", 1: "foo", 2: "foo"},
{0: "foo", 1: "foo", 2: "foo", 3: "foo"},
{
0: "foo",
1: "foo",
2: "foo",
3: "foo",
4: "foo"
},
{
0: "foo",
1: "foo",
2: "foo",
3: "foo",
4: "foo",
... (all_n = 6)
},
... (all_n = 1000)
]
備考
- json-stock のDBやTableもわかりやすく表示することが可能です。
from sout import sout
sout(jst_db["test_table"]) # -> <json-stock Table {"test_key": "value"}>
Metadata
Release files for sout 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| sout-1.2.1.tar.gz | 3.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sout-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.1 kB
Release files / sout-1.2.1.tar.gz
| Download URL | sout-1.2.1.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f809b581eb27e0315eacec163b9f28b6e69ee03e133f429c4a9f5aba825cb0e
|
|
BLAKE2b-256 checksum How to use checksums |
b3a54727ee0ddcae4ea573de19712f5c8538bc77f92b05fef298f629ecb889d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
|
Release files / sout-1.2.1-py3-none-any.whl
| Download URL | sout-1.2.1-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f31ce938d7e1727b041fba4e1b2cee376aad1eca98a271cfb540af88423006a7
|
|
BLAKE2b-256 checksum How to use checksums |
038f7e0e85375e3b061c0db9ce873acb57d3311fe86e214e9344757a41a050f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
|
Security for sout 1.2.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.