• September 20, 2019, 02:32:48 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Add-on "Python v.2.7.8" for D-Link NAS  (Read 4176 times)

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Add-on "Python v.2.7.8" for D-Link NAS
« 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
DNS-325 python Package v1.03_03172015_UA
DNS-327L python Package v1.03_03172015_UA
DNS-340L python Package v1.03_03172015_UA
DNS-345 python Package v1.03_03172015_UA

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

[Remarks]
Download and install the Python Add-On.
« Last Edit: September 30, 2015, 07:40:24 AM by vtverdohleb »
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

fjones1988

  • Level 1 Member
  • *
  • Posts: 2
Re: Add-on "Python v.2.7.8" for D-Link NAS
« Reply #1 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.
Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Add-on "Python v.2.7.8" for D-Link NAS
« Reply #2 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
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

masterxilef

  • Level 2 Member
  • **
  • Posts: 51
Re: Add-on "Python v.2.7.8" for D-Link NAS
« Reply #3 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).
It´s missing to add the Stats functionality to HTPCManager.
Thanks.
Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Add-on "Python v.2.7.8" for D-Link NAS
« Reply #4 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).
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

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:
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

gbrel

  • Level 1 Member
  • *
  • Posts: 1
Re: Add-on "Python v.2.7.8" for D-Link NAS
« Reply #5 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).
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

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.
Logged
NAS 320L