initial (2017) commit

This commit is contained in:
2017-06-22 01:43:08 -07:00
parent 9e2b2c1794
commit 15a59cb867
4 changed files with 85 additions and 0 deletions

12
blenderpack.py Normal file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env python3
# HACK: seems 'requests' module bundled with blender isn't bundled with 'idna' module. So force system python for now
import sys
sys.path.insert(0, '/usr/lib/python3.6/site-packages')
import requests
def fetch(url):
# TODO: do conditional request
re = requests.get(url)
print(re.json())