**Condurrò con il tl;dr sull'hosting Python gratuito. Abbiamo trovato un'azienda che offre piani di hosting Python gratuiti senza problemi Se hai bisogno di web hosting gratuito per app Python (gratuito come nella birra) e non hai bisogno di: - Un dominio personalizzato / Strumenti di marketing / Blog - Supporto tecnico - Molta larghezza di banda o tempo della CPU Se hai solo bisogno di un server gratuito per un progetto secondario Python, sono la tua migliore opzione. Iscriviti qui: **PythonAnywhere** (link di affiliazione all'offerta gratuita, li abbiamo inviati a circa 700 personeâÃÂæ) **Se stai utilizzando il tuo sito per costruire un'attività controlla Opalstack. Sono un host a pagamento compatibile con Python; per soli $ 10 al mese ottieni un supporto tecnico migliore e molti aggiornamenti (indirizzi e-mail, certificati SSL gratuiti, programmi di installazione di blog WordPress, database Postgres, supporto Ruby / Node.js / PHP). Questi possono aiutarti a creare un **sito web più professionale** e aiutarti a **trasformarlo in un business efficace **Hosting Python gratuito âÃÂàCose che avrei voluto sapere prima** Da qualche parte là fuori, sono sicuro che ci sia una società di hosting che spieghi in modo proattivo i loro limiti **prima** di dare loro la tua carta di credito. Ci sono un sacco di persone là fuori che possono âÃÂÃÂhostâÃÂàapplicazioni Python âÃÂàse tu gestire il lavoro di impostazione di un VPS non configurato. Probabilmente non è molto difficile se sai come âÃÂàma io non lo so e, onestamente, non lo so Non mi interessa imparare. Quando si tratta di hosting Python, sto cercando un'opzione che funzioni e basta. . A proposito, se vuoi solo testare la prototipazione della tua applicazione, la maggior parte dei framework web Python ti consente di eseguire un server di sviluppo sul tuo laptop. Non hai bisogno di un vero host finché non sei pronto per schierarti nel mondo esterno. Questo dovrebbe essere sufficiente per sviluppare un buon prototipo funzionante della tua applicazione. Ma il processo per trovare un buon host Python (idealmente gratuito) per pubblicare il tuo primo progetto sul web ha alcune stranezze che questo articolo ti aiuterà a superare. Se hai un paio di siti di base (PHP, WordPress, ecc.), probabilmente avrai una relazione esistente con un gruppo di hosting LAMP. Queste persone sono letteralmente una monetina una dozzina. Tuttavia, quello che scoprirai rapidamente è che l'hosting di server Python non è adatto a queste aziende. Devi capire questo divario in modo da poterlo individuare in anticipo e passare alla prossima azienda. Puoi separare gli utenti PHP sullo stesso server limitando il loro accesso tramite una console di gestione altamente strutturata. Le applicazioni Python richiedono un accesso più profondo al sistema sottostante rispetto a uno script PHP. Ciò richiede un grande investimento nell'hosting e nella gestione del server. Questo è diventato un ostacolo: mentre Python è un linguaggio molto più potente di PHP, PHP/LAMP ha offerto un percorso di implementazione più economico e semplice per un principiante. Ciò ti porta rapidamente all'acquisto di un VPS di fascia bassa, che può costare $ 50 al mese con un buon servizio clienti. Preferisco anche trattare con una società di hosting esplicitamente impegnata nella comunità Python. Ciò significa progettare il loro ambiente per supportarci e dotare i loro team di help desk di persone che hanno un'esposizione alla lingua. Rende molto più semplice la risoluzione dei problemi con un'applicazione Python. Tutti profilati in questo articolo sono un'azienda solida, un partecipante attivo della comunità Python e hanno creato processi di distribuzione delle applicazioni compatibili con Python. ** Cosa ottieni e cosa non fai (l'inevitabile aumento di prezzo a pagamento Se lo stai utilizzando per ospitare un progetto secondario o un sito di classe, passa all'argomento successivo. Se lo stai utilizzando per motivi di lavoro o di carriera, dovresti probabilmente riflettere su un paio di fattori che alla fine ti faranno passare a un piano a pagamento. Dal momento che l'offerta di aggiornamento viene solitamente offerta nel momento del bisogno (dopo che ti sei già trasferito sulla loro piattaforma e non hai il tempo / energia per trasferirsi altrove), il prezzo è raramente molto competitivo. Quindi vale la pena valutare se si desidera acquistare un piano a pagamento dall'inizio (e ottenere una buona tariffa su questo). Avendo vissuto in entrambi i mondi, ecco i punti chiave di differenza tra piani gratuiti e a pagamento: Il tuo nome di dominio âÃÂàcosta $10 âÃÂà20 all'anno, sembra sostanzialmente più professionale e âÃÂÃÂconsolidatoâÃÂàrispetto a mysite.freehost.com, ti consente di creare un pubblico e il traffico di ricerca di Google e portare questo pubblico con te se lo desideri Assistenza tecnica âÃÂÃÂFaccio 2 âÃÂà3 chiamate all'anno e riceve una risposta rapida. Gli host gratuiti rispondono raramente a meno che tu non sia ÃÂÃÂre influenza gli altri (nel qual caso, ti avviano) usa HTTPS. Una delle mie funzionalità preferite su Webfaction è il provisioning automatizzato gratuito del certificato SSL da Lets Encrypt. Questo mi fa risparmiare circa venti dollari all'anno per sito Web rispetto alla maggior parte degli host commerciali. facile integrazione del database, possibilità di inserire un blog WordPress in una parte del tuo sito Web, ecc. Ciò può farti risparmiare tempo e frustrazione ione sulle attività non core. Indirizzi e-mail illimitati âÃÂà(guardarsi alle spalle nervosamente) Non dire che l'abbiamo mai fatto (per aiutare un ente di beneficenza a raccogliere fondi, ovviamente) ma hai la possibilità di creare indirizzi e-mail illimitati se possiedi il tuo dominioâÃÂæ. Annunci& Privacy: dipende dal programma (Python Anywhere è fantastico), ma hai alcune persone di hosting gratuito là fuori con pratiche sgradevoli in questo dipartimento. Inoltre, ovviamente, l'host gratuito di solito ti guarda come un enorme elenco di e-mail per up-sellsâÃÂæ Larghezza di banda limitataâÃÂàNon è davvero un problema a meno che qualcosa che crei diventa virale su Hacker News o Reddit, a quel punto il tuo sito web diventerà rapidamente scuroâÃÂæ Non posso incolpare gli host gratuiti per questo. L'hosting Web, la larghezza di banda e l'assistenza clienti costano denaro e devono rimediare da qualche parte. Il modello di business dell'hosting gratuito ruota sostanzialmente attorno al gaslighting degli utenti gratuiti con piccoli fastidi per convincere le persone a passare a un piano a pagamento (a prezzi superiori alla media, dal momento che sono già sulla tua piattaforma). Non è un problema per un progetto divertente, ma assicurati di non farlo davvero **bisogno** di qualsiasi cosa da loroâÃÂæ Se stai costruendo un progetto serio con ambizioni commerciali, il tempo e l'affidabilità degli sviluppatori sono più preziosi del denaro. Se devo dedicare più di 10 minuti al mese alla manutenzione di âÃÂÃÂthe boxâÃÂào (peggio) a gestire un'interruzione, il web python gratuito il piano di hosting non ne vale la pena. **Opzioni di hosting Python gratuite** [Aggiornato gennaio 2019] Purtroppo, questo elenco si è ridotto dalla nostra ultima revisione. Esamineremo tre opzioni qui, una delle quali rimane un'ottima scelta, le altre due hanno allegato stringhe significative alle loro offerte. Il nostro quarto piano non è più gratuito... Se qualcuno ha buone conoscenze a Washington DC e vuole stimolare l'economia, per favore proponi di finanziare un piano di salvataggio GARP ( **G**overnment **A**assistenza per **R**unning **P**ython); server Python gratuiti per tutti! Ok, torniamo alle vere opzioniâÃÂæ Per prima cosa, PythonAnywhere. Hanno un piano di account per principianti che è gratuito (come nella birra) e ti offre le basi necessarie per rendere visibile e online la tua prima applicazione web. Il piano include l'uso di un sottodominio (.pythonanywhere.com) for hosting your project (another $20 saved). The configuration and setup process is managed through a nice simple console; the free plan includes easy setup for several major web frameworks (Django, web2py, flask, bottle) and supports both Python 2 (2.7) and 3 (3.3, 3.4). You’re allowed to host one low-bandwidth web application for free, additional applications require an upgrade to a paid plan. The free plan comes with access to a MySQL database; PostGres is available but requires upgrading to a paid plan. After looking at the providers, PythonAnywhere (click here for details & signup) emerged as my recommendation as the best free python hosting option for hobby projects and first time users. The console makes it easy to get started, there is a high level of support and guidance, and you get “all the stuff” required to get going on a real project without any really annoying strings. Paid plans are reasonable – the first one starts at $5/month and expands the capabilities of your first application; the second costs $12/month (better value) and lets you to host multiple projects using that account. But best of all, free python hosting does actually indeed mean free: you can run a single app on the free plan as a fully functional (but small), continuously operating Python website for an indefinite time. Unlike the next couple of options… **Update – Educators PythonAnywhere has a special program for educators which simplifies managing environments for a large class of students. Details provided here.] One potential alternative is Heroku’s free tier, which announced a pricing change. They simplified things: you can get a free dyno (virtual instance that runs a web application) with the capability of handling some worker processing as well. This is enough to demo a small project and is good preparation for people who intend to use Heroko professionally. One very nice plus: Heroku is closely integrated with Git – allowing you to deploy an application directly from your Git repository. You can scale the application by adding additional processors, which will cost you a modest amount of money. However, they’ve gotten a bit aggressive in their strategy for upgrading people to their $7 “hobbyist” tier. Their free plans are only able to operate online for 18 out of every 24 hours. In practical terms, since the web has a global audience, your project will be offline for at least part of the day. This also very impractical if you’re hoping to get your project listed in Google’s search results; they often index content on sub-domains, but are unlikely to rank a project that’s offline for 6 hours per day very highly in their results. So while Heroku is an decent option if you want to do a quick demo or show a potential employer you can use Heroku, consider using other Python hosting plans for long term personal projects. OpenShift is another possible option; they are maintained by the original red hat board and offer a cloud service platform. They provide the ability to run three small applications on their platform within the scope of the free plan. However, their pricing scheme seems to have learned from Heroku’s example and includes an “application idling” provision within the free plan which will pause your site if there’s a significant gap in traffic (suggestion solution being to upgrade to a paid plan). It’s potentially worth checking out if you want to use their platform for larger projects. Google App Engine * on our list (and ranked highly) but their free python hosting offering seems to have disappeared into a “give us your credit card and we’ll give you $300 of free services for 60 days” deal. Unfortunately too rich for my hobbyist blood. A pity, since their prior deal let you to host up to 10 small websites on their platform and was great place to get started. Google has historically been Python-friendly and they use it for many projects internally. was* **Who We Picked** (Updated for 2021) If you’re looking to build a business around your side project, you should consider upgrading to a paid plan with a developer friendly hosting company. The cost ($10 – $25 per month) is well worth the extra support. This includes everything from Free SSL certificates (via Lets Encrypt), support for a broader set of software packages and languages (WordPress, PHP), technical support, and a more robust server infrastructure. This simplifies your life when you’re trying to turn a web application into a self-supporting business. Since my wife and I knew right out of the gate we were going to use our web hosting for commercial purposes, we wound up getting an entry level developer plan from WebFaction. (unfortunately no longer in operation; GoDaddy bought them andthem down last year). Between two consulting businesses and a digital publishing side project, we knew we would be eventually forced to move to a paid program. For us, the best python hosting service would be one which saved us time and frustration. The good news is aof WebFaction employees left after the GoDaddy acquisition and recreated the WebFaction experience at a new hosting company: OpalStack.. So we’re going to talk about them instead. OpalStack offers a shared hosting environment for Python. This runs behind an nginx server (nearly bulletproof) with the ability to serve static content directly from nginx (very fast). In addition to Python, they provide installers for many PHP packages (including WordPress). You’ve got shell access to the server and can set up your own scripts and tools. Tech support is very Python friendly; many of their support team have significant Python experience. Why we decided to go with OpalStack (and favorite features): - Ability to use own own domain name (lets us build and retain an audience) - Python literate customer support (saves a ton of time) - Free SSL certificates from Let’s Encrypt (saves time, money, helps Google Rankings) - Generous system for shared resources (many basics don’t count against your quota) - Easy Integration with non-Python blogging and content management tools (time saver); lots of fast installers that co-exist with custom python web applications - Ability to run advertising and generate revenue without interference - Easy upgrades to dedicated virtual and physical servers (we’ve got two beefy VPS’s today) So while it costs about $10 per month more, it is worth it from a time and money perspective. If you are using it for business, this is likely a better fit with your goals. We use them to manage the 30+ websites (with lots of traffic) we’ve built over the past eight years and are very happy with their service. They offer a free trial for new developers – sign up for a free trial using this link. (affiliate link) Updated: February 2021