Have you ever been kept awake at night, desperately feeling a burning desire to do nothing else but directly import json files in python [1]? Now you can!
Usage
Slap a json file somewhere on your python path. tester.json:
{
"hello": "world",
"this": {
"can": {
"be": "nested"
}
}
}
Now import jsonsempai and your json file!
>>> import jsonsempai
>>> import tester
>>> tester
<module 'tester' from 'tester.json'>
>>> tester.hello
u'world'
>>> tester.this.can.be
u'nested'
>>>
Installing
Install from pip:
$ pip install json-sempai
or clone this repo and install from source:
$ python setup.py install
Metadata
Release files for json-sempai 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| json-sempai-0.1.0.tar.gz | 2.3 kB | Details |
Release files / json-sempai-0.1.0.tar.gz
| Download URL | json-sempai-0.1.0.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e651bd683b14ceec50934ec28431486995cd182898243a573108d9d60e23239
|
|
BLAKE2b-256 checksum How to use checksums |
f53825b590b00abfb3a457636f2b2b960c1b10e4c6b422fd2d44b2a9b3d9f2e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |