Mediaki-offline-Afrique, Baron-refactoring-python, Genres, Brooming-Kittens, Campagne-Pour-La-Neutralité du Net, Nos Oignons, FFDN DIY ISP , design et capitalisme, semences libres, Scanner de livre, Franciliens FAI asso
Micro Python is a lean and fast implementation of the Python 3 programming language that is optimised to run on a microcontroller. The Micro Python board is a small electronic circuit board that runs the Micro Python language.
Micro Python has been successfully funded via a Kickstarter campaign. The software is now available to the public under the MIT open source license, and the boards are due for delivery in March 2014.
OpenSSH is the ubiquitous method of remote access for secure remote-machine login and file transfers. Many people -- systems administrators, test automation engineers, web developers and others have to use and interact with it daily. Scripting SSH access and file transfers with Python can be frustrating -- but the Paramiko module solves that in a powerful way.
Flask Foundation is a solid foundation for flask applications, built with best practices, that you can easily construct your website/webapp off of.
click is a Python package for creating beautiful command line interfaces in a composable way with as little amount of code as necessary. It’s the “Command Line Interface Creation Kit”. It’s highly configurable but comes with good defaults out of the box.
In this book, we'll see how you can leverage Python to efficiently tackle your problems and build great Python applications.
Are you a hack programmer? Do you find yourself constantly Googling for how to do basic programing tasks?
Suppose you want to know how to format a date in bash. Why open your browser and read through blogs (risking major distraction) when you can simply stay in the console and ask howdoi:
$ howdoi format date bash
DATE=
date +%Y-%m-%d
IL y a même un plugin pour l'excellent IDE python ninja-ide http://www.ninja-ide.org/
Since the beginning of time—Python time anyway—there has been no checking of SSL/TLS certificates in Python's standard library; neither the urllib nor the urllib2 library performs this checking. As a result, when a Python client connects to a site using HTTPS, any certificate can be offered by the server and the connection will be established. That is probably not what most Python programmers expect, but the documentation does warn those who read it. There are alternatives, of course, but not in the standard library—until now. Python 3.4 makes things a lot better but still does no verification by default, which is a major concern to some Python developers
Celery is probably the best known task queuing Python package around. It makes asynchronous execution of Python code both possible and reasonably straightforward. It does, however, come with a good deal of complexity, and it's not as simple to use as I would like (i.e. for many use cases it's overkill). So I wrote a distributed Python task queue. In 55 lines of code (caveat: using two awesome libraries).
Bonjour,
Je viens de créer un script python qui permet de générer une PKI (Infrastructure_à_clés_publiques) en utilisant gnutls/certtool.
Je cherchais un outil équivalent à easy-rsa, mais utilisant [gnutls]. Oui je sais c'est sans doute idiot mais je considère certtool plus simple a utiliser et apparemment plus avancé que openssl, c'est surtout le système des templates qui me plaît.
J'ai donc relevé mes manches courtes, et me suis lancé à la recherche d'une API python pour gnutls/certool. Résultat assez navrant :
- Il existe une API python gnutls officiellement supportée mais c'est pour gérer les informations des certificats et créer des connexions. Next
- Il existe également une API python certool. Mais le projet ne permet pas la signature, tout juste la création de clés privées et de certificats autosignés. End
J'ai donc décidé dans cette nuit du 8 février de créer un outil en python en utilisant subprocess pour activer directement la commande certtool.
N'étant pas développeur, le code va certainement faire cuire les yeux des puristes, mais qu'à cela ne tiennent voici le dépôt github du projet :
https://github.com/jadjay/python-easy-pki
N'hésitez pas à modifier, corriger, forker, critiquer, c'est sur github et sous GPLv3 dans cet objectif. En plus j'ai fait l'effort de commenter au maximum mon code pour qu'il soit compréhensible.
Après avoir fini cette première ébauche j'ai trouvé ce projet : https://bitbucket.org/faide/pki
A première vue ça fait un peu mal de trouver ça après avoir passé la nuit sur ce code, mais au final je trouve son toolkit un peu trop complexe pour ce que je voulais faire.
Merci pour vos retours,
Decorators are a form of Python metaprogramming, using functions to manipulate code. In this introductory tutorial, we'll look at what decorators are and how to create and use them.
If you're like most novice Python programmers, you likely are able to envision entire applications in your head but, when it comes time to begin writing code and a blank editor window is staring you in the face, you feel lost and overwhelmed. In today's article, I'll discuss the method I use to get myself started when beginning a program from scratch. By the end of the article, you should have a good plan of attack for starting development for any application.
Underwear is a library for easily deploying any Python-powered web application to one or more Linux servers. Underwear is configurable by a YAML template and takes care of installing packages, configuring web/WSGI servers, and securing the server.
What Problem Does Underwear Solve?
Despite the advent of configuration management tools such as Puppet, Chef, Ansible, and Salt, it remains difficult to deploy a web application because you have to first learn one of those tools and then write scripts in the tool’s domain-specific language.
Underwear makes deploying to a traditional Linux server stack as easy as deploying to Heroku by providing a pre-packaged, easily configurable library. Deployments can be executed simply by installing Underwear with pip, specifying the IP addresses of the server(s) to deploy to, then running a couple of commands.
This guide explains each piece of a Python web stack. If you want to deploy a web application built with Django, Flask, Pyramid, or another Python-based web framework, you've come to the right place.
Introducing: Map
Map is a cool little function, and the key to easily injecting parallelism into your Python code.
[...]
Parallel versions of the map function are provided by two libraries: multiprocessing, and also its little known, but equally fantastic step child: multiprocessing.dummy.
Python FOSDEM Schedule
I was curious what kind of information my computer was sending to the outside world so I whipped up a simple HTTP POST analyzer/logger.