Jump to content

Recommended Posts

Posted
Username: N/A, Server: N/A, Main Domain: N/A

Hi, I'm interested in the Tommy plan. Before I donate $2, I have a few
questions:

1. Can I run a continuous Python script (while True loop) that polls an
external API every 90 seconds?
2. Do you allow outbound HTTPS requests to external APIs?
3. What Python version is available?
4. Can I pip install Python packages like requests?
5. Is there a process time limit for running scripts?

Thanks.

Posted

1. Yes, but the load of running something continuously often gets users suspended for excessive resource usage on the Johnny and Tommy plans. If you plan to run something continuously, Morty account might be be a better choice because there's no risk of the load getting you suspended, and the server is a LOT faster than Tommy.

2. Yes as long as the remote end is using a standard port number like 80 or 443.

3. Python 3.9 and 3.12 on Tommy. Johnny and Morty have 3.9 and 3.14 instead. 

4. Can't do it yourself, but you can request we install them assuming they're reasonable. We don't support any modules that need a UI/desktop installed.

5. Depends on language used and how its launched. Its possible to start a process that never exits, but if you're planning to do this, I would suggest a Morty plan as above because the load might get you suspended.

You can see more details about Python on our wiki: https://wiki.helionet.org/Python_Tutorial Including links to see installed modules, how to request modules, etc.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...