Skip to content

zaghaghi/direct-json-import

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

Install from git repository

pip install git+https://github.com/zaghaghi/direct-json-import.git

Use

With the following json in a file named info.json.

{
    "name": "hamed",
    "lastname": "zaghaghi",
    "repos": [
        "https://github.com/zaghaghi/direct-json-import"
    ]
}

you can directly import it as follows

import info

print(info.data)

# {'name': 'hamed', 'lastname': 'zaghaghi', 'repos': ['https://github.com/zaghaghi/direct-json-import']}

About

import json files directly in your python scripts

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages