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}")
## extract to destination
manager.extract("{dest}")
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.3.0.tar.gz
(122.0 kB
view details)
Built Distribution
File details
Details for the file py_resource_pack-0.3.0.tar.gz
.
File metadata
- Download URL: py_resource_pack-0.3.0.tar.gz
- Upload date:
- Size: 122.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06c8ea62d8afe0983c6f3430a8d3c144422bcd9563ef19c93fcfd767c2daefdd |
|
MD5 | 801cfd312140e7217bdde6f31194f324 |
|
BLAKE2b-256 | 5433abe848aec6b1b347569c64d5f2a216b018358f5647764440e32e62339790 |
File details
Details for the file py_resource_pack-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: py_resource_pack-0.3.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac9e0988ed25f23a1e3dd581e4441c752051b212a0a871856055f88031bb4503 |
|
MD5 | 5c86e9ad75517c3221539cff3c9bfbb1 |
|
BLAKE2b-256 | 9b876eacd0aeed55c4c7af53c204eb1082e26f1d752aab0663808dbcc3e0d63e |