Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

py_resource_pack-0.3.0-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page