Notes taken during session at PyCon UK.
- Can use templates
- Steep learning curve. Then good
- Some hard coded configuration
- Can version control the Yum configuration that drives Jenkins, NB guide configuration can be lost or broken easily
on web development.
Notes taken during session at PyCon UK.
Another great tip from PyConUK. Need your Python tests to interact with the file system? Find using /tmp unsatisfactory, then why not mock file system files using pyfakefs.
You can follow along the machine learning tutorial yourself using materials Ezzari Esa has shared at https://github.com/savarin/pyconuk-introtutorial
Syntax tip:
test_data[:,1:]
– comma usage is matrix/2D list slicing
PyConUK afforded me a great oppportunity to converse with fellow technicians, including those working in HE. Carwyn, based at Bangor University, reminded me about the Software Sustainability Institute, based at the universities of Edinburgh, Manchester, Oxford and Southampton. Whose aim is to support better research by helping researchers to build and use better software.
Damien George, a researcher at the University of Cambridge, has rewritten Python to be optimised for running on a micro controller. For example, the small computers that you might find in your washing machine, sometimes only have 64kb of RAM, so are generally controlled by programs written in C.
MicroPython is implemented on Python 3 and includes the usual Python features, such as:
Uses 528 bytes of RAM at standing and MicroPython will run on various operating systems as well as bare metal.
There are some differences, like not redefining built-ins functions and Micro Python uses garbage collection. For more information https://github.com/micropython/micropython/wiki/Differences
The open source project at: http://github.com/micropython has been well received with over 1200 stars and 170 forks.
More information: http://micropython.org/