D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => ShareCenterŪ Add-on Applications => Topic started by: vtverdohleb on March 17, 2015, 05:10:58 AM

Title: Add-on "Python v.2.7.8" for D-Link NAS
Post by: vtverdohleb on March 17, 2015, 05:10:58 AM
[Add-on] Python v.2.7.8

[Description]
Python is a widely used general-purpose, high-level programming language. Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C++ or Java. The language provides constructs intended to enable clear programs on both a small and large scale.
Required for some add-ons, such as HTPC Manager.

[Version]
Add-on Package v1.03

[Maintainer]
vtverdohleb

[Download link]
DNS-320L python Package v1.03_03172015_UA (http://dlink.vtverdohleb.org.ua/Add-On/list.php#DNS-320L%20python%20Package%20v1.03_03172015_UA)
DNS-325 python Package v1.03_03172015_UA (http://dlink.vtverdohleb.org.ua/Add-On/list.php#DNS-325%20python%20Package%20v1.03_03172015_UA)
DNS-327L python Package v1.03_03172015_UA (http://dlink.vtverdohleb.org.ua/Add-On/list.php#DNS-327L%20python%20Package%20v1.03_03172015_UA)
DNS-340L python Package v1.03_03172015_UA (http://dlink.vtverdohleb.org.ua/Add-On/list.php#DNS-340L%20python%20Package%20v1.03_03172015_UA)
DNS-345 python Package v1.03_03172015_UA (http://dlink.vtverdohleb.org.ua/Add-On/list.php#DNS-345%20python%20Package%20v1.03_03172015_UA)

[Resource]
Python Wiki: http://en.wikipedia.org/wiki/Python_%28programming_language%29 (http://en.wikipedia.org/wiki/Python_%28programming_language%29)
Website: https://www.python.org/ (https://www.python.org/)
Other Add-ons http://dlink.vtverdohleb.org.ua/Add-On/ (http://dlink.vtverdohleb.org.ua/Add-On/)

[Remarks]
Download and install the Python Add-On.
Title: Re: Add-on "Python v.2.7.8" for D-Link NAS
Post by: fjones1988 on March 19, 2015, 05:12:11 AM
Hi,

A few weeks ago I updated my DNS 320L to the newest firmware. The application add ons did surprise me and I like(d) it a lot. But when I saw that it was possible to install Python on my device I wondered if I could install python-based apps like sickbeard etc. After looking for some ways to get to my python 'prompt-screen' I still can't find it anyhow. I've tried to use it using a telnet or ssh connection, but that didn't work out. Couldn't get a connection or it was refused.

First of all I would like to ask how I can use, or where to find the python addon, and second I would like to know if it's even possible to install python-based apps.

Grtz,

Frank

PS: I have already used the fun_plug-method to run sickbeard and all those kind of apps, but I prefer to use(if possible) a more friendly way.
Title: Re: Add-on "Python v.2.7.8" for D-Link NAS
Post by: vtverdohleb on March 19, 2015, 06:23:25 AM
Code: [Select]
[root@dlink-E62F85 mc]# which python
/usr/bin/python
[root@dlink-E62F85 mc]# ls -la /usr/bin/python
lrwxrwxrwx    1 root     root            40 Mar 10 14:31 /usr/bin/python -> /mnt/HD/HD_a2/Nas_Prog/python/bin/python
[root@dlink-E62F85 mc]# ls -la /mnt/HD/HD_a2/Nas_Prog/python/bin/python
lrwxrwxrwx    1 root     root             7 Mar 17 13:27 /mnt/HD/HD_a2/Nas_Prog/python/bin/python -> python2
[root@dlink-E62F85 mc]# ls -la /mnt/HD/HD_a2/Nas_Prog/python/bin/python2
lrwxrwxrwx    1 root     root             9 Mar 17 13:27 /mnt/HD/HD_a2/Nas_Prog/python/bin/python2 -> python2.7
[root@dlink-E62F85 mc]# ls -la /mnt/HD/HD_a2/Nas_Prog/python/bin/python2.7
-rwxr-xr-x    1 root     root          3616 Feb 19 18:31 /mnt/HD/HD_a2/Nas_Prog/python/bin/python2.7
Title: Re: Add-on "Python v.2.7.8" for D-Link NAS
Post by: masterxilef on March 23, 2015, 06:11:30 PM
@vtverdohleb
Could you please make an update to the python addon and add psutil (https://pypi.python.org/pypi/psutil (https://pypi.python.org/pypi/psutil)).
Itīs missing to add the Stats functionality to HTPCManager.
Thanks.
Title: Re: Add-on "Python v.2.7.8" for D-Link NAS
Post by: vtverdohleb on March 26, 2015, 04:37:43 AM
Could you please make an update to the python addon and add psutil (https://pypi.python.org/pypi/psutil (https://pypi.python.org/pypi/psutil)).
Itīs missing to add the Stats functionality to HTPCManager.

Decompress in /mnt/HD/HD_a2/Nas_Prog/python/lib/python2.7/site-packages/
http://dlink.vtverdohleb.org.ua/util/psutil_2.2.1.tgz (http://dlink.vtverdohleb.org.ua/util/psutil_2.2.1.tgz)

Code: [Select]
# ./pip list
bcrypt (1.0.2)
Cheetah (2.4.4)
lxml (3.3.6)
MarkupSafe (0.23)
PIL (1.1.7)
pip (1.5.6)
PocketSphinx (0.8)
psutil (2.2.1)
pyalsa (1.0.26)
PyAudio (0.2.8)
pycrypto (2.6.1)
pycurl (7.19.5)
pyOpenSSL (0.13.1)
setuptools (5.7)
six (1.7.3)
SphinxBase (0.8)
SQLAlchemy (0.9.7)
Twisted (14.0.0)
virtualenv (1.11.6)
wheel (0.24.0)
wsgiref (0.1.2)
yenc (0.4.0)
zope.interface (4.1.1)
# ./pip show psutil
---
Name: psutil
Version: 2.2.1
Location: /mnt/HD/HD_a2/Nas_Prog/python/lib/python2.7/site-packages
Requires:
Title: Re: Add-on "Python v.2.7.8" for D-Link NAS
Post by: gbrel on March 08, 2016, 10:42:04 AM
Could you please make an update to the python addon and add psutil (https://pypi.python.org/pypi/psutil (https://pypi.python.org/pypi/psutil)).
Itīs missing to add the Stats functionality to HTPCManager.

Decompress in /mnt/HD/HD_a2/Nas_Prog/python/lib/python2.7/site-packages/
http://dlink.vtverdohleb.org.ua/util/psutil_2.2.1.tgz (http://dlink.vtverdohleb.org.ua/util/psutil_2.2.1.tgz)

Code: [Select]
# ./pip list
bcrypt (1.0.2)
Cheetah (2.4.4)
lxml (3.3.6)
MarkupSafe (0.23)
PIL (1.1.7)
pip (1.5.6)
PocketSphinx (0.8)
psutil (2.2.1)
pyalsa (1.0.26)
PyAudio (0.2.8)
pycrypto (2.6.1)
pycurl (7.19.5)
pyOpenSSL (0.13.1)
setuptools (5.7)
six (1.7.3)
SphinxBase (0.8)
SQLAlchemy (0.9.7)
Twisted (14.0.0)
virtualenv (1.11.6)
wheel (0.24.0)
wsgiref (0.1.2)
yenc (0.4.0)
zope.interface (4.1.1)
# ./pip show psutil
---
Name: psutil
Version: 2.2.1
Location: /mnt/HD/HD_a2/Nas_Prog/python/lib/python2.7/site-packages
Requires:

Hello vtverdohleb.

Could you re-upload the psutil_2.2.1.tgz file or the last one? Thank you.