# Source: twine # Package: twine # Versions: twine (1.11.0-1), twine (1.12.1-1), twine (1.12.1-2), twine (1.13.0-1), twine (1.15.0-1), twine (1.5.0-1), twine (1.8.1-1), twine (1.8.1-2), twine (2.0.0-1), twine (3.1.0-1), twine (3.1.1-1), twine (3.2.0-1), twine (3.3.0-1), twine (3.4.2-2), twine (3.5.0-1), twine (3.6.0-1), twine (3.7.0-1), twine (3.7.1-1), twine (3.8.0-1), twine (4.0.0-1), twine (4.0.0-2), twine (4.0.0-3), twine (4.0.1-1), twine (4.0.2-1), twine (5.0.0-1), twine (5.0.0-2), twine (5.1.0-1), twine (5.1.1-1), twine (5.1.1-3), twine (6.0.1-1), twine (6.0.1-3), twine (6.1.0-1), twine (6.2.0-1), twine (6.2.0-2), twine (6.2.0-3), twine (6.2.0-4), twine (6.2.0-5), twine (6.2.0-6) # This Description is active # This Description is owned # Prioritize: 47 Description: utility for interacting with PyPI Twine is a tool for uploading distributions (in the Python meaning) to PyPi. . Why should twine be used over the traditional approach? . The biggest reason to use twine is that python setup.py upload uploads files over plaintext. This means anytime you use it you expose your username and password to a MITM attack. Twine uses only verified TLS to upload to PyPI protecting your credentials from theft. . Secondly it allows you to precreate your distribution files. python setup.py upload only allows you to upload something that you’ve created in the same command invocation. This means that you cannot test the exact file you’re going to upload to PyPI to ensure that it works before uploading it. . Finally it allows you to pre-sign your files and pass the .asc files into the command line invocation (twine upload twine-1.0.1.tar.gz twine-1.0.1.tar.gz.asc). This enables you to be assured that you’re typing your gpg passphrase into gpg itself and not anything else since you will be the one directly executing gpg --detach-sign -a . . Features: . - Verified HTTPS Connections - Uploading doesn’t require executing setup.py - Uploading files that have already been created, allowing testing of distributions before release - Supports uploading any packaging format (including wheels). Description-it: utilità per interagire con PyPI Twine è uno strumento per caricare distribuzioni (nel significato proprio di Python) in PyPi. . Perché usare twine rispetto all'approccio tradizionale? . La ragione principale per usare twine è che il caricamento di setup.py per Python carica i file in testo semplice. Ciò significa che ogni volta che lo si usa si espone il proprio nome utente e la propria password ad un attacco uomo-nel-mezzo. twine usa solamente TLS verificati per caricare su PyPI proteggendo le credenziali dell'utente dai furti. . In secondo luogo permette di creare in anticipo i propri file di distribuzione. Il caricamento di setup.py per Python permette di caricare solamente qualcosa che viene creato nella medesima invocazione del comando. Ciò significa che non è possibile controllare il file esatto che verrà caricato su PyPI per assicurarsi che funzioni prima di caricarlo. . Da ultimo permette di firmare in anticipo i file e passare i file .asc nell'invocazione della riga di comando (twine upload twine-1.0.1.tar.gz twine-1.0.1.tar.gz.asc). Ciò permette all'utente di assicurarsi di digitare la propria passphrase di gpg in gpg stesso e non in qualcos'altro dato che è l'utente che esegue direttamente gpg --detach-sign -a . . Funzionalità: . - connessioni HTTPS verificate; - il caricamento non richiede l'esecuzione di setup.py; - caricamento di file già creati, permettendo di controllare le distribuzioni prima di rilasciarle; - gestisce il caricamento di qualsiasi formato di pacchettizzazione (incluse le wheel). # other Descriptions of the twine package with a translation in it: # # Description-id: 225622 https://ddtp.debian.org/ddt.cgi?desc_id=225622 # patch https://ddtp.debian.org/ddt.cgi?diff1=225622&diff2=232385&language=it # This Description was in jessie from 2014-09-24 to 2018-06-26; # This Description was in sid from 2014-09-18 to 2015-07-22; # This Description was in stretch from 2015-05-03 to 2015-07-28; #