GithubHelp home page GithubHelp logo

jmatzen / unitypackage_extractor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cobertos/unitypackage_extractor

0.0 0.0 0.0 12.59 MB

Extract a .unitypackage, with or without Python

License: MIT License

Python 100.00%

unitypackage_extractor's Introduction

build status pypi python versions twitter twitter Tidelift - For Enterprise

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")

For Enterprise

The maintainers of thousands of packages (including me! :3) are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.

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!

unitypackage_extractor's People

Contributors

cobertos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.