Skip to main content

Generate .unitypackage without Unity.

Project description

upackage

pypi travis

About

upackage is a python module for generating *.unitypackage from source assets without unity.

Install

pip install upackage

How to use

Given the following setup:

some/path/to/my/content/
some/path/to/my/content/code.dll
some/path/to/my/content/object.prefab
some/path/to/my/content/code.dll.mbd

The command will generate a package that installs the content of "some/path/to/my/content/" into "Assets/content/". It uses the last folder name in the path as the containing folder for the assets.

UPackage.preprocess_assets("some/path/to/my/content")
UPackage.generate_package("some/path/to/my/content", "output.unitypackage")

Command Line Access

The tool also supports CLI access:

upackage some/path/to/my/content output.unitypackage

MetaFiles

*.meta files will be generated if they do not exist for files & folders.

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

upackage-0.3.4.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

upackage-0.3.4-py2.py3-none-any.whl (5.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file upackage-0.3.4.tar.gz.

File metadata

  • Download URL: upackage-0.3.4.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.6.7

File hashes

Hashes for upackage-0.3.4.tar.gz
Algorithm Hash digest
SHA256 6d03ab786cd4863896f01d92b5c5c374d35e14023f4ec6e36f86ef1cddb357c2
MD5 0e6d4c27fc9f3263678d7ceb1eefc894
BLAKE2b-256 54bd274969eca775534d68f021223608be65027f229583758008448ab05a9e62

See more details on using hashes here.

File details

Details for the file upackage-0.3.4-py2.py3-none-any.whl.

File metadata

  • Download URL: upackage-0.3.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.6.7

File hashes

Hashes for upackage-0.3.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 239ad5ea1f2c177b7f0116cd8e5f38d2ebc68983c39147fa93100bc51e32a01b
MD5 a70c541254d7df8f82c7d607103ccdbc
BLAKE2b-256 0a2e92bb866793bcc863b1fdda819d260119860eaead9ebf3231538840bb37bd

See more details on using hashes here.

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