Skip to main content

Extractor for .unitypackage files

Project description

build status pypi python versions twitter twitter

Unity Package Extractor

Extract your .unitypackage

Usage without Python

  • Download the unitypackage_extractor.zip from the Releases tab.
  • Extract everything into a new directory
  • Drag and drop your .unitypackage onto extractor.exe OR
  • Run from the command line with extractor.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 (requires pyenv)

  • pyenv global 3.6.8-amd64
  • Originally wasn't able to get this to run on Python 3.7 when it was new, but 3.6 is guarenteed to build the .exe
  • pyenv exec python -m venv venv64
  • venv64\scripts\activate.bat or venv64/scripts/activate for Linux
  • pip install -r requirements-dev.txt (Installs pyinstaller and pytest)
  • python build_exe.py
  • venv64\scripts\deactivate.bat (or you'll use the wrong python when you make another venv)
  • Do the same with pyenv and 3.6.8 and make a folder called venv32 instead

Testing

  • python -m venv venv
  • venv\scripts\activate.bat or venv/scripts/activate for Linux
  • pip install -r requirements-dev.txt (Installs pyinstaller and pytest)
  • 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 Make sure to update the README link tag too!

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.5.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unitypackage_extractor-0.5.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file unitypackage_extractor-0.5.1.tar.gz.

File metadata

  • Download URL: unitypackage_extractor-0.5.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

File hashes

Hashes for unitypackage_extractor-0.5.1.tar.gz
Algorithm Hash digest
SHA256 ccb9b1edccb07c9220a03774a0eb06cac309c872c61070e7eb34b07e9bc70ad9
MD5 fef9666057ec67d6300d6309c1801178
BLAKE2b-256 a7a1cdecb36d23f850b505ec1e5d71e6d83fc12f8ff4dd4be4589ba8d46b9915

See more details on using hashes here.

File details

Details for the file unitypackage_extractor-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: unitypackage_extractor-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

File hashes

Hashes for unitypackage_extractor-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 53c847c96a224a363327abe1ea99aafdf60dee1caef7e5c23bc3beabe0c377d1
MD5 1643a695753757acc56221953ee6739f
BLAKE2b-256 025585a0ead2b974ee65fc1668517061c63e9e845769a72b1e6f9138f5b72496

See more details on using hashes here.

Supported by

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