Extractor for .unitypackage files
Project description
Unity Package Extractor
Extract your .unitypackage
Usage without Python
- Download the unitypackage_extractor.zip from the Releases tab.
- Extract everything into a new directory
- Run the
extractor.exe
inside withextractor.exe [path/to/your/package.unitypackage] (optional/output/path)
Usage with Python 3.6+
-
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.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7aea1762dd05cbf199d3d76a9d8e3b84ca4ca79ec5636ee845f62205de7cdcd3 |
|
MD5 | 9a4018a871e4bd2820e10d366c2ca55e |
|
BLAKE2b-256 | 14e5adf908bc9a69e92628c8fdf9266de33433125f204409f9c6d35fac22c1f0 |
Hashes for unitypackage_extractor-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3ab938bbfa79f1f392173bf3015f108d6e69a125f2e88704901b72953cc65ba |
|
MD5 | 4d49073aeaa24b181ea4c419aaf39f53 |
|
BLAKE2b-256 | 0a32d9f87a6f0308f77542ba7adbeac575ebc06f269ec8fdc25a2ee06fa46902 |