Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.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.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'url:pypi': 0.03; 'subject:Python': 0.05; 'prototypes': 0.07; 'pypi': 0.07; 'api': 0.09; 'python': 0.09; 'driver,': 0.09; 'subject:board': 0.09; 'url:github': 0.09; 'language,': 0.11; 'java,': 0.15; '(ok,': 0.16; 'bugs,': 0.16; 'least,': 0.16; 'limiting': 0.16; 'received:mail-wi0-f178.google.com': 0.16; 'write,': 0.16; 'deleted.': 0.17; 'creates': 0.18; 'examples': 0.18; 'skip:= 10': 0.20; 'all,': 0.21; 'controlled': 0.22; 'url:status': 0.22; 'runs': 0.22; 'example': 0.23; "haven't": 0.23; 'device': 0.24; 'host': 0.24; 'tried': 0.25; 'developers': 0.26; 'creating': 0.26; 'message-id:@mail.gmail.com': 0.27; "doesn't": 0.28; 'correct': 0.28; 'received:209.85.212': 0.28; 'initial': 0.28; 'faster,': 0.29; 'objects': 0.29; "i'm": 0.29; 'basic': 0.30; 'function': 0.30; 'url:python': 0.32; 'running': 0.32; 'could': 0.32; 'another': 0.33; 'skip:d 20': 0.34; 'version': 0.34; 'received:google.com': 0.34; 'project': 0.34; 'thanks': 0.34; 'board': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'really': 0.36; 'created': 0.36; 'but': 0.36; 'url:org': 0.36; 'announce': 0.36; 'anything': 0.36; 'subject:with': 0.36; 'should': 0.36; 'problems': 0.36; 'skip:p 20': 0.36; 'received:209': 0.37; 'object': 0.38; 'supports': 0.38; 'things': 0.38; 'page': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'help': 0.40; 'your': 0.60; 'here:': 0.62; 'provide': 0.62; 'more': 0.63; 'our': 0.65; 'to:addr:python- announce-list': 0.65; 'serial': 0.66; 'account': 0.67; 'soon': 0.70; 'born': 0.71; 'flash': 0.72; 'subject:your': 0.74; 'friends': 0.83; 'analog': 0.84; 'attention!': 0.84; 'etc..': 0.84; 'object:': 0.84; 'tone': 0.84; 'url:master': 0.84; 'glad': 0.86 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=PcZ5PiylZ0ieKeqXZnsbcBjkKe3W4u+YD9HhatefsEA=; b=D8x0/fjvEnIVnGADXIteyM3LCIIynqBbPXTGTN6lJfevo9AYMlkXrMYybpE2aT4Ga5 uMx/gPbwv7+FKe6j2niFiYyfcnVEjZVQdlrm1Xzif8JF0IiKU3wRn5qvrd8fDhRI5fpn 737S6aLqR6toYkItBBSx8Ee3sRSucX48HdvWncp3hwgrBgYmzvNPQbdnp3TKXjwaBbyq 0ZCKD497VlbUFD1G+2mw+EHI3sNU7N7VgpdzHoiAIWWypZAt48O+jz9syf8xsGmidOkj neaNfQwS6dy4r1HMr3nWiljngoERBYw5GrVEav3umTXX7rixM+NHHFcgDttclIwbtggD VCuw== MIME-Version: 1.0 Date: Wed, 3 Oct 2012 17:19:14 +0200 Subject: Nanpy 0.4 - Use your Arduino board with Python From: Andrea Stagi To: python-announce-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-Mailman-Approved-At: Thu, 04 Oct 2012 18:43:51 +0200 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: 58 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1349369032 news.xs4all.nl 6847 [2001:888:2000:d::a6]:36496 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python.announce:706 Hi all, I'm really glad to announce you Nanpy 0.4, an initial version of a project born to help developers writing their Arduino programs using Python! I started working on this project just a month ago, so you could find bugs, missing things etc.. if you want to contribute, here's the GitHub page: https://github.com/Octan/nanpy , you can find the Pypi page here: http://pypi.python.org/pypi/nanpy Actually Nanpy supports the main parts of OneWire, Lcd, DallasTemperature, Stepper, Servo and basic Arduino's function (digital and analog write, tone etc..) and runs without problems on a Raspberry PI. Long and more detailed description: With Nanpy you can write your Arduino programs using Python, communicating via serial port without sending hard-to-remember codes or limiting you to use only one object: when you create an object in Python it will be automatically created into your Arduino at runtime.. For example if you write something like ds = DallasTemperature(5) or tone = Tone(13) Nanpy creates the correct object into Arduino.. Also, you haven't to take care of deallocation, Nanpy deallocates objects into Arduino as soon as the correspondent Python objects get deleted. Look at the examples to see how simple it is.. (https://github.com/Octan/nanpy/tree/master/examples) :) I tried running Nanpy on a Raspberry board and it works great!! (that's the result from one of my friends Twitter account https://twitter.com/andreagrandi/status/251702684380434434 :) ). Also you may use it in other devices suppoting Python and serial communication, in a web service or simply for creating prototypes faster, because you use Python and you don't have to flash the firmware every time. Last but not least, firmware part of Nanpy is Python-indipendent, so you can write another implementation of Nanpy in any other language, for example Java, and see an Arduino controlled via Android (ok, in this case we should use Android USB Host API and USART, writing our own driver, because Android doesn't provide anything to access device filest). Do you like Nanpy? Contributions/suggestions/bug reporting/spreading the project/beers/coffee are accepted :) Thanks for your attention! Best regards, =.4.S.= -- =.4ndrea.Stagi.=