Resource packaging manager for python(written in pure python)
Project description
resource-pack
Resource packaging manager for python(written in pure python)
🛠️ Installation
- install from git(latest)
pip install git@github.com:somehitDev/resource-pack.git
- pypi
pip install py-resource-pack
📄 Usage
## create resource
manager = ResourceManager()
# add file
manager.add_file("{file_path}", "{name}")
# add value
manager.add("{name}", {value})
# add with glob pattern
manager.add_glob("{pattern}", "{root_path}")
## dumps to file
manager.dump("{resource_file}")
## load from file
load("{resource_file}")
# or
ResourceManager.load("{resource_file}")
## export as python file
manager.export("{python_file}")
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
py_resource_pack-0.2.0.tar.gz
(120.5 kB
view hashes)
Built Distribution
Close
Hashes for py_resource_pack-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2448caada8cdca4a6bbdc9b6414de06dfd776f7835913c0fd14326fa5ad7fb6 |
|
MD5 | e60032d5615d2884253d43a7343ab627 |
|
BLAKE2b-256 | a690a3f03dcc0ffcbdabe3dfebeb2af3bfbd3d600f939a58f4f6b82d2b596a88 |