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.1.0.tar.gz
(128.7 kB
view hashes)
Built Distribution
Close
Hashes for py_resource_pack-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3dbb8bf167567d83d2abac359cc694b0e8641f60cbb4e8e93edc4816d08537c |
|
MD5 | a4e5f23e231a5086fa40a356a23e8d17 |
|
BLAKE2b-256 | 6dbb5ebf0f593776f93859bdf4f9e8cd3952b32bef4f6fec2ba0dd435a78c872 |