Mailing List Archive

Nanpy 0.5 - Use your Arduino board with Python
Hi,

I'm really glad to announce you Nanpy 0.5, with a lot of bugfixing,
improvements and multithreading support!

Nanpy is now an organization on Github! Are you interested in working
on Nanpy and make it a great tool?? Join us! https://github.com/nanpy

I decided to create an organization so many developers interested in
Nanpy can get the write access on the repository after some time they
contribute to the project with patches and help the project to grow up
faster.. In case you're interested to become a maintainer from now,
please send me an email and explain your motivation, glad to see
interested developers and add them to the team :)

Nanpy is a pure Python library that allows you communicating with an
Arduino board connected via USB. Classes and methods used are really
similar to the Arduino framework's ones, but simpler and with some
additional features, so people who haven't worked with an Arduino can
be easily introduced to his world.. The main purpose of Nanpy is
making developers' life easier, giving them something simple and fast
to use to create prototypes and scripts interacting with Arduino,
saving time and making them concentrate on the problem.
There are a lot of projects able to do something similar, using Python
or other languages, but Nanpy can do more! Nanpy is easily extensible
and can theoretically use every library Arduino supports, allowing you
to create how many objects you want and without worrying about
deallocation. Also, you can use Nanpy in parallel and concurrence
programs. Nanpy is under heavy development but is growing fast and
just supports the main methods of OneWire, Lcd, Tone,
DallasTemperature, Stepper and Servo libraries. Just a word of
warning: Raspberry Pi may not provide enough power to drive an
Arduino, so you might need external power.

Long and more detailed description:

With Nanpy you can write your Arduino programs using Python,
communicating via serial port without sending hard-to-remember codesor
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/nanpy/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,
writing our own driver, because Android doesn't provide anything to
access device files).

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.=
--
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/