Skip to main content

Extractor for .unitypackage files

Project description

Unity Package Extractor

Extract your .unitypackage

Usage without Python

  • Download the unitypackage_extractor.zip
  • Extract everything into a new directory
  • Run the extractor.exe inside with extractor.exe [path/to/your/package.unitypackage] (optional/output/path)

Usage with Python

  • pip install unitypackage_extractor

  • From the command line python -m unitypackage_extractor.extractor [path/to/your/package.unitypackage] (optional/output/path)

  • OR in your Python file:

from unitypackage_extractor.extractor import extractPackage

extractPackage("path/to/your/package.unitypackage", outputPath="optional/output/path")

Contributing

Building

Install pyinstaller and run build_exe.py. I couldn't get this to work with Python 3.7 so I downloaded and ran it with 3.6 and it worked.

Testing

Install pytest and run pytest -v -s in the root directory.

Releasing

Refer to the python docs on packaging for clarification. Make sure you've updated setup.py, and have installed twine, setuptools, and wheel python3 setup.py sdist bdist_wheel - Create a source distribution and a binary wheel distribution into dist/ twine upload dist/unitypackage_extractor-x.x.x* - Upload all dist/ files to PyPI of a given version Make sure to tag the commit you released

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

unitypackage_extractor-0.3.0.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

unitypackage_extractor-0.3.0-py3-none-any.whl (4.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