Skip to main content
https://travis-ci.org/kragniz/json-sempai.png?branch=master https://pypip.in/d/json-sempai/badge.png

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)

Source distribution for json-sempai 0.1.0
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

Release history Release notifications | RSS feed

0.4.0

2 release files

0.3.1

1 release file

0.3.0

1 release file

0.2.0

1 release file

This release

0.1.0 This release

1 release file

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