simpleobject
Simple json serializable object
Can be used as a types.SimpleNamespace, but it is json serializable like a python dictionary.
Install
python -m pip install simpleobject
Usage
from simpleobject import simpleobject
from json import dumps
o = simpleobject()
o.foo = 1
o.bar = 2
print(o) #simpleobject(foo=1, bar=2)
print(dumps(o)) #{"foo": 1, "bar": 2}
You can also set the name
o.name = 'FooBarObject'
print(o) #FooBarObject(foo=1, bar=2)
Metadata
Release files for simpleobject 1.0.5
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 | Actions |
|---|---|---|---|---|
| simpleobject-1.0.5.tar.gz | 2.5 kB | Without provenance | Details for simpleobject-1.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| simpleobject-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for simpleobject-1.0.5-py3-none-any.whl |
Total release size: 5.4 kB
Release files / simpleobject-1.0.5.tar.gz
| Download URL | simpleobject-1.0.5.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
06c47970abf4ad16ff87c67d5a7b06b443c5418535cc16f2dc463b200a8f4ec2
|
|
BLAKE2b-256 checksum How to use checksums |
2ebb5a04a88072b9aec58eeae14087f05f90d4cd72ecb0d24e86b891583dc8e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.8
|
Release files / simpleobject-1.0.5-py3-none-any.whl
| Download URL | simpleobject-1.0.5-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d64def37471d758ab68dfc4c481bd2ac1b0d48025379eeb8ec8b760e3044d305
|
|
BLAKE2b-256 checksum How to use checksums |
77eb6dbdf2291180303a76c1421b502c0c65c1a24eb5060b2e67cdee714f2060
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.8
|
Security for simpleobject 1.0.5
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.