loady
Dynamically load Python libraries, JSON and raw text from git repositories and the web.
Basic usage
import loady
# Permanently extend sys path with this github repo.
loady.sys_path.extend('//git/github.com/timedata-org/simple'):
# Temporarily extend sys path with this github repo.
with loady.sys_path.extender('//git/github.com/timedata-org/simple'):
# Do stuff.
# Get raw data from URLs.
result = loady.data.load(
'https://github.com/timedata-org/simple/blob/master/simple.json')
# Actually gets the raw data from this URL:
# https://raw.githubusercontent.com/timedata-org/simple/master/simple.json
# and reads it as JSON.
# Loads and compiles Python code from that URL.
result = loady.code.load(
'https://github.com/timedata-org/simple/blob/master/test.py')
Release files for loady 1.9.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 | |
|---|---|---|---|
| loady-1.9.0.tar.gz | 7.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| loady-1.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.6 kB
Release files / loady-1.9.0.tar.gz
| Download URL | loady-1.9.0.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b847cd9d90a268c7f73beca285faec6a8dbc8aceaba511d01a52ca2c196bfd2a
|
|
BLAKE2b-256 checksum How to use checksums |
976dd448695de236afeb1a153f42494c38883cf89df71cec635de63b3dd39839
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / loady-1.9.0-py3-none-any.whl
| Download URL | loady-1.9.0-py3-none-any.whl |
|---|---|
| Size | 11.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d72dc9b5dce1959eee95777d68af3f081b7e82a9b0d4e4a18a04e95379e50370
|
|
BLAKE2b-256 checksum How to use checksums |
cbe44621c8f3a5aaa8f7909367e8416095ffa6cb7099f9b38ec474f81552f79e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|