Python Forum
cheap and low power python device
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cheap and low power python device
#1
sorry for my bad English or wrong forum,

because my PC power is too high just for a downloader,
I like to buy a device, probably [rasbery pi] for my downloader device,
the package I use:
from bs4 import BeautifulSoup
from selenium import webdriver
import re
import concurrent.futures
from tqdm import tqdm
import shutil
import requests
import glob
import os
import subprocess
and device requirements:
1. can run the above package,
2. can download files with sizes above than 4GB
3. have store 100+ GB of data(probably using an SD card or USB stick)

any clue what device I must use?

thank you for reading, have a nice day
Reply
#2
Why you need Python for downloading stuff?

It is extra layer of complexity actually - and extra requirements on hardware. Of course Python is not as fat as Java, but still...

On the other hand, what is your goal? Why this "downloader" should be physical device at all?
Reply
#3
(Jun-25-2024, 09:22 AM)kucingkembar Wrote: and device requirements:
1. can run the above package,
2. can download files with sizes above than 4GB
3. have store 100+ GB of data(probably using an SD card or USB stick)

any clue what device I must use?

An Intel Pentium I with 100 MHz could do this task with Python 3. If the machine does not have enough memory, you even could use Micropython. To be realistic, 128 MiB RAM should be available.

You could use a RPi0 W or a RPi0 W2 with an attached USB-SSD/HDD to do this task.

The maximum file size is defined by the file system which is used.
Use ext4 or something else. Avoid the use of FAT. The Fat file system single file site limit is 4 GiB.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply
#4
(Jun-25-2024, 08:20 PM)rodiongork Wrote: Why you need Python for downloading stuff?

It is extra layer of complexity actually - and extra requirements on hardware. Of course Python is not as fat as Java, but still...

On the other hand, what is your goal? Why this "downloader" should be physical device at all?

i need to refresh download link, if you use software like IDM
you know some link need to refresh to use

why i need this downloader?
in simple way : more power mean more electrical bills
Reply
#5
(Jun-25-2024, 08:41 PM)DeaD_EyE Wrote:
(Jun-25-2024, 09:22 AM)kucingkembar Wrote: and device requirements:
1. can run the above package,
2. can download files with sizes above than 4GB
3. have store 100+ GB of data(probably using an SD card or USB stick)

any clue what device I must use?

An Intel Pentium I with 100 MHz could do this task with Python 3. If the machine does not have enough memory, you even could use Micropython. To be realistic, 128 MiB RAM should be available.

You could use a RPi0 W or a RPi0 W2 with an attached USB-SSD/HDD to do this task.

The maximum file size is defined by the file system which is used.
Use ext4 or something else. Avoid the use of FAT. The Fat file system single file site limit is 4 GiB.
i don't think this "Micropython" will able to run selenium
can Raspberry Pi run selenium?

not i need selenium, the request.get(url) cant do

thank you for the reply
Reply
#6
A Raspberry Pi can run selenium.

A RPi Pico of course not. It's too big, written in Java and there is no Port for Micropython.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply
#7
(Yesterday, 12:33 PM)DeaD_EyE Wrote: A Raspberry Pi can run selenium.

A RPi Pico of course not. It's too big, written in Java and there is no Port for Micropython.
thank you,
i will give you a reputation point
DeaD_EyE likes this post
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python Coding in Power BI Visual vjrans 0 411 Jan-31-2024, 07:54 AM
Last Post: vjrans
  Power Shells vs Compile and Run programs? RockBlok 2 531 Jan-13-2024, 09:08 PM
Last Post: RockBlok
Question Python and Power BI Desktop dangermaus33 1 1,419 Jan-19-2023, 06:54 AM
Last Post: GetOnData
  Sending string commands from Python to a bluetooth device Rovelin 13 10,225 Aug-31-2021, 06:40 PM
Last Post: deanhystad
  Python BLE Scanner not detecting device alexanderDennisEnviro500 0 2,110 Aug-01-2021, 02:29 AM
Last Post: alexanderDennisEnviro500
  Raising numbers to power ** GJG 3 2,586 Mar-23-2021, 03:43 PM
Last Post: deanhystad
  Real Time Audio Processing with Python Sound-Device not working Slartybartfast 2 4,224 Mar-14-2021, 07:20 PM
Last Post: Slartybartfast
  Detecting power plug Narayan 2 2,850 Aug-01-2020, 04:29 AM
Last Post: bowlofred
  Get list of Video Device in python on Windows machine Michal 1 10,870 Apr-03-2020, 06:57 PM
Last Post: Mateusz
  Reading UDP from external device without device software ikdemartijn 2 3,582 Dec-03-2019, 04:29 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020