Path: csiph.com!usenet.pasdenom.info!news.albasani.net!news2.arglkargh.de!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-announce-list@python.org Delivered-To: python-announce-list@mail.python.org X-Spam-Status: OK 0.026 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'python.': 0.02; 'url:pypi': 0.03; 'repository': 0.05; 'fixes': 0.07; 'subject:ANN': 0.07; 'prototypes': 0.09; 'release,': 0.09; 'setup.py': 0.09; 'spreading': 0.09; 'url:github': 0.09; 'contribute': 0.11; 'python': 0.11; 'anyway': 0.14; '13th': 0.16; '2],': 0.16; 'clone': 0.16; 'configure,': 0.16; 'extensible': 0.16; 'lcd': 0.16; 'to:addr:python-announce-list': 0.16; 'tool.': 0.16; 'world!")': 0.16; 'url:)': 0.16; 'language': 0.16; 'library': 0.18; 'all,': 0.19; 'examples': 0.20; 'subject:] ': 0.20; 'import': 0.22; 'print': 0.22; 'install': 0.23; 'creating': 0.23; 'library,': 0.24; 'simpler': 0.24; 'specify': 0.24; 'first,': 0.26; 'donate': 0.26; 'reporting': 0.29; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'included': 0.31; 'code': 0.31; 'that.': 0.31; 'skip:- 30': 0.32; 'run': 0.32; 'another': 0.32; 'url:python': 0.33; 'announce': 0.33; 'screen': 0.34; 'connection': 0.35; 'skip:s 30': 0.35; 'something': 0.35; 'objects': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'really': 0.36; '8bit%:17': 0.36; 'doubt': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'example,': 0.37; 'turn': 0.37; 'project': 0.37; 'easily': 0.37; 'awesome': 0.38; 'gmail': 0.38; 'little': 0.38; 'subject:[': 0.39; 'supporting': 0.39; 'to:addr:python.org': 0.39; '8bit%:6': 0.40; 'how': 0.40; 'skip:y 20': 0.60; 'url:it': 0.60; 'skip:a 30': 0.61; 'new': 0.61; 'simply': 0.61; 'simple': 0.61; 'making': 0.63; 'organization': 0.63; 'skip:n 10': 0.64; 'our': 0.64; '8bit%:10': 0.64; 'great': 0.65; 'url:blogspot': 0.65; 'url :cgi-bin': 0.65; 'life': 0.66; 'note:': 0.66; 'website:': 0.67; 'url:0': 0.67; 'contact': 0.67; '8bit%:31': 0.68; '8bit%:21': 0.69; 'url:v': 0.71; 'url:youtube': 0.71; 'led': 0.72; 'serial': 0.72; '8bit%:27': 0.74; 'url:watch': 0.77; 'glad': 0.83; '8bit%:16': 0.84; '8bit%:24': 0.84; 'andrea': 0.84; 'easier,': 0.84; '8bit%:18': 0.93; 'more!': 0.95 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=u47hqacY3uEeoE7TVmlCQJyDn95AneISRX2RoAu4l8M=; b=os04rXaT/zf6Z/IgTPA3jld5lfzQs0o79rfrUxF1LZmeYSpcj/G+Qpfw7Wvq3lEGwX qkYUgV8cq/sjBQPhoBKFVf1pwSgNVMlzTUfd65gmtZHDDR4IFd6FSA6x/VJA5NrBIFLx ag6kaop/fBZrF9P3Wyxkcmfpx+k/A29/BXgHSOp4qSeV1ptBnwD0cdt3RwLzBpAaEos6 HIsbTX9QvGtNsTxBpaPx7QHIqH7ceRP52OqowArESTmpImvU9XCLW3xpyplD9VmPeTLp fHcX2k245lYdozXvBY1Cv25sjpu0jyf6xCPZuHjJgRdPWLLz57YH4Pm+38YfYceV8dUd a3sA== MIME-Version: 1.0 X-Received: by 10.140.49.201 with SMTP id q67mr39458550qga.7.1407674687086; Sun, 10 Aug 2014 05:44:47 -0700 (PDT) Date: Sun, 10 Aug 2014 14:44:47 +0200 Subject: [ANN] Nanpy 0.9.1 From: Andrea Stagi To: python-announce-list@python.org X-Mailman-Approved-At: Mon, 11 Aug 2014 17:03:01 +0200 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: python-list@python.org List-Id: Announcement-only list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Approved: python-announce-list@python.org Newsgroups: comp.lang.python.announce Message-ID: Lines: 78 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1407769382 news.xs4all.nl 2953 [2001:888:2000:d::a6]:46582 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python.announce:1348 Hi all, I'm glad to announce you Nanpy 0.9.1 release, with little fixes on DallasTemperature module! https://pypi.python.org/pypi/nanpy/0.9.1 We need contributors! Nanpy needs a lot of work to be a great tool. You can contribute with code (bugfixing, improvements, creating support for a new library not included in Nanpy yet, writing examples and more), writing documentation, reporting bugs, creating packages or simply spreading Nanpy through the web if you like it :) Our organization works on Github at https://github.com/nanpy Do you want to support us with a coffee? We need it to code all night long! if you like this project and you want to support it with some cents, please donate :) https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TDTPP5JHVJK8J If you have any doubt or problem, please contact me at stagi dot andrea at gmail dot com What you can do with Nanpy ------------------------------------ The main purpose of Nanpy is making programmers' life easier, giving them something to create prototypes faster and use Arduino in a simpler way, thanks to a simple and powerful language like Python. Also Nanpy can run on RaspberryPi (tested with Raspbian http://www.raspbian.org/) so you can use it for communicating with Arduino and create awesome projects like Chickenfoot (https://www.youtube.com/watch?v=g8FywaVDCes) :) Let's start with a classic example, turn on a led placed in the 13th pin.. from nanpy import (ArduinoApi, SerialManager) connection = SerialManager() a = ArduinoApi(connection=connection) a.pinMode(13, a.OUTPUT) a.digitalWrite(13, a.HIGH) NOTE: you can also use the old serial_manager global object Nanpy autodetects the serial port for you, anyway you can specify another serial port manually: from nanpy import SerialManager connection = SerialManager(device='/dev/ttyACM1') There are a lot of projects able to do that. Nanpy can do more! Nanpy is easily extensible and can theoretically use every library, allowing you to create how many objects you want. We started supporting OneWire, Lcd, Stepper and Servo library and they're still incomplete. Let's try to connect our 16x2 lcd screen on pins 7, 8, 9, 10, 11, 12 and print something! from nanpy import SerialManager, Lcd connection = SerialManager() lcd = Lcd([7, 8, 9, 10, 11, 12], [16, 2], connection=connection) lcd.printString("Hello World!") really straightforward now, isn't it? :) How to build and install ------------------------------ You need to build the firmware for your Arduino first, just clone the firmware repository at https://github.com/nanpy/firmware and follow the README to configure, build and upload it. To install Nanpy Python library just type (as root): python setup.py install -- Andrea Stagi (@4stagi) - Software Engineer @ Atooma Inc. Job profile: http://linkedin.com/in/andreastagi Website: http://4spills.blogspot.it/ Github: http://github.com/astagi