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 withextractor.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
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
Built Distribution
Hashes for unitypackage_extractor-0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | badb7fc3258ec299ab6bb0bb6069d5dc325d3df2f97ff29948f90a6eaef53fff |
|
MD5 | 8991b8784b707c6f5b133ad32a4d98aa |
|
BLAKE2b-256 | 2638985257e98895acdad616209a5e19ce7cc5df7583b10750b601422af75986 |
Hashes for unitypackage_extractor-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4b79185c45b291afdeca29a40f51b0981e50424d98d0e3fbfe67b689519555c |
|
MD5 | c3f548adefb06486045462144614a816 |
|
BLAKE2b-256 | 8daf3cd252651e3bbacf740112f52fef5853ce95332c70497d3d5c75a1ec649e |