🛍 Load Python code and data from git 🛍
Project description
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')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
loady-1.9.0.tar.gz
(7.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
loady-1.9.0-py3-none-any.whl
(11.7 kB
view details)
File details
Details for the file loady-1.9.0.tar.gz.
File metadata
- Download URL: loady-1.9.0.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b847cd9d90a268c7f73beca285faec6a8dbc8aceaba511d01a52ca2c196bfd2a
|
|
| MD5 |
1c724cdbdbbd04378d372b42c24cc196
|
|
| BLAKE2b-256 |
976dd448695de236afeb1a153f42494c38883cf89df71cec635de63b3dd39839
|
File details
Details for the file loady-1.9.0-py3-none-any.whl.
File metadata
- Download URL: loady-1.9.0-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d72dc9b5dce1959eee95777d68af3f081b7e82a9b0d4e4a18a04e95379e50370
|
|
| MD5 |
cadb38fde8732e659adb824d45058cb9
|
|
| BLAKE2b-256 |
cbe44621c8f3a5aaa8f7909367e8416095ffa6cb7099f9b38ec474f81552f79e
|