Skip to main content

PyPI version Build Status codecov

pip install latest_blender_url

Get the latest Blender download URL and use it in a Travis CI scipt

Place the following lines in your travis.yml to download the latest Blender version (Linux 64-bit):

- pip install latest_blender_url
- url="$(python -c 'import latest_blender_url as lbu; lbu.get_latest()')"
- curl -L -o blender.tar.bz2 $url

Customizing the distribution to get

BlenderURLGetter class does all of the work. You can change the Blender download page and the archive to download by changing the class properties.

from latest_blender_url import BlenderURLGetter
getter = BlenderURLGetter()

# Set the download page
getter.download_page_url = "https://www.blender.org/download/" 

# Set the archive pattern (see Blender download page for URL formats)
#getter.archive_pattern = 'linux64.tar.xz'       # Linux 64bit
#getter.archive_pattern = 'macOS.dmg'            # MacOS
#getter.archive_pattern = 'windows64.zip'        # Windows 64bit

# This will scrape the download page and get the matching url
url = getter.get_latest()

When Blender Download Page Changes (and daily build fails)

  • Update the default pattern in latest_blender_url\__init__.py
  • archive_patterns in tests\test_download.py

Feel free to fork or submit a pull request with new features

Release files for latest-blender-url 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for latest-blender-url 0.1.6
File Interpreter ABI Platform
latest_blender_url-0.1.6-py3-none-any.whl Python 3 none any Details
latest_blender_url-0.1.6-py2-none-any.whl Python 2 none any Details

Total release size: 7.6 kB

Release files / latest_blender_url-0.1.6-py3-none-any.whl

Download URL latest_blender_url-0.1.6-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd534df014d057321df5ec0ee361e2fd6c3f10d28eb82a7cbf4cb60c512572e6
BLAKE2b-256 checksum
How to use checksums
3283257aea34fe7dce72c39ee8be6aaa54f528b32776c8a7ff81b5aed581ca0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.5.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.14

Release files / latest_blender_url-0.1.6-py2-none-any.whl

Download URL latest_blender_url-0.1.6-py2-none-any.whl
Size 3.8 kB
Tags Python 2
SHA-256 checksum
How to use checksums
b44af141fb54b87041b2ec3b7f7174d3ff746f4ef5cefbbe8634a7da471a1198
BLAKE2b-256 checksum
How to use checksums
a28758c28d6fef6b32ebfdc71bb1f525f8bf5070d35c595daae18d394edbefc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.5.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.14

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

3 release files

0.1.4

3 release files

0.1.3

3 release files

0.1.2

3 release files

0.1.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page