Hiển thị các bài đăng có nhãn python. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn python. Hiển thị tất cả bài đăng

Thứ Hai, 25 tháng 1, 2016

Welcome to the Warehouse!



Warehouse is the new codebase being developed to power the Python Packaging Index (PyPI). Python developers and users already know that PyPI is the official comprehensive repository of third-party open source Python packages (see Wikipedia). PyPI, maintained by the PSF, is where developers publish their software modules and from which package managers, such as pip, download packages. Given the important role played by PyPI, the Warehouse project is bound to have a huge impact on the continued use and growth of Python. 


While many volunteers have been working on the project, the biggest contributions have come from lead developer Donald Stufft and web-design specialist, Nicole Harris. Donald, based in the US, is a core contributor to PyPI (as well as to CPython, pip, virtualenv, Django & Cryptography), while UK-based Nicole runs a web development business, Kabu Creative.


The design goals, as stated on Nicole's website, were:




  • To update the visual identity 

  • To make packages more discoverable

  • To accommodate the needs of both users and package maintainers 

  • To give the project the same level of professionalism as a commercial project of the same scale 

  • To ensure that the user experience reflects the Python community–a community that is welcoming, helpful and inclusive



Donald and Nicole have recently released a first look at the new design on the demo sites, Warehouse and Warehouse staging.


Looking great, thanks to Donald and Nicole's hard work, but there is plenty more to be done: writing code, writing the user guide (PyPUG), usability testing, and giving feedback. Details on how to volunteer and more info can be found on Nicole's site.


I would love to hear from readers. Please send feedback, comments, or blog ideas to me at msushi@gnosis.cx.


Thứ Tư, 4 tháng 11, 2015

First-Ever PyCaribbean Coming This February!




At the October 28th meeting of the Board of Directors of the PSF, the following resolution was passed:



 





"RESOLVED, that the Python Software Foundation sponsor PyCaribbean on February 20-21, 2016 in Santo Domingo, Dominican Republic, in the amount of $3000 USD."



This will be the first-ever PyCaribbean, and the PSF is proud to be a Platinum-level sponsor. The venue will be the headquarters of the Fundación Global Democracia y Desarrollo (FUNGLODE) located at Calle Capitán Eugenio de Marchena 26, Santo Domingo, Dominican Republic.


According to organizer, Leonardo Jiminez, they are expecting approximately 300 - 350 people from all over the Americas and the Caribbean. This is a great size for a conference, allowing for both intimacy and breadth of content. As Leornardo puts it:


"I think we have the spirit you can find in PyCon but in a more concentrated way and with better weather."




Better weather and gorgeous beaches!

Photo Credit: CC License




Based on proposals received so far, it appears that the talks will be quite diverse. Along with such expected topics as strategies for improving data analysis, Leonardo particularly mentioned a talk about the adventures of someone teaching Python in Latin America in his car.


Of course, that adventurer is none other than Manuel Kaufmann! Some of you may recall that last year the PSF funded his project, and it was featured in a couple of posts to this blog: Python in Argentina and Highly Contagious. And in addition to what is sure to be a fascinating talk by Manuel Kaufmann, there will also be a keynote by the PSF’s very own Brandon Rhodes, who is also the organizer of the upcoming PyCon 2016 in Portland.


I asked Leonardo to tell us a little about his local Python community. Here’s what he said:





Santa Domingo

Photo Credit:  CC License

"The Python Dominicana Usergroup was the first usergroup formed in Santo Domingo and after that a lot of progress happened. We have more than three years meeting consistently every month. The experience has been really transformative for the city. We have done road trips, hackathons, and a lot of events to promote the language. . .[This work] is paying off with all the growth we see in Software Development locally."  


And when I asked about his own interest in Python, he gave a great answer:




"I fell in love with Python in High School while reading How to Think Like a Computer Scientist in Spanish. I really enjoy being part of this community, which I think is the killer feature of Python."


I have to agree that the community is our killer feature, so I’m hoping that some of you will be able to participate in PyCaribbean by giving a talk or by attending. You have until November 20th to submit a proposal, so please give it some thought. Of course, if you don’t have a talk prepared, the organizers would still love to see you there. And could there be any better vacation than to visit the Dominican Republic in February? In fact, this conference looks so good to me that I may see you there myself!


For further information, you can contact the organizers (at leonardo@pycaribbean.com or vivian@pycaribbean.com). Also you can follow them on Twitter (at https://twitter.com/pycaribbean).





I would love to hear from readers. Please send feedback, comments, or blog ideas to me at msushi@gnosis.cx.


Thứ Năm, 2 tháng 7, 2015

PyCon Singapore





The PSF is happy to report that the third annual PyCon Singapore took place June 17 to 19, 2015. This event, organized by the Python User Group Singapore, is a testament to the robust presence of the Python community in the Asia-Pacific region. In addition to three PyCons Singapore, PUGS has held three PyCons Asia-Pacific. Congratulations to Ivan Zimine and the organizing committee for a successful conference. According to Ivan, “Feedback from the participants was mostly positive. Out of 18 responses, 7 people gave 4 out of 5 stars, and 6 people gave 5 out of 5 stars for the “How did you like PyConSG?” question."







Photo Credit Martin Brochhaus


CC 2.0


The PSF contributed to the event as a Silver Level Sponsor, and we were proud that keynote speakers included our own PSF Director Lynn Root and former PSF Director Jessica McKellar. Django core developer Andrew Godwin also gave a keynote.


The event was attended by 181 people and was held on the campus of Singapore Polytechnic. It consisted of one day of tutorials and two days of talks. Tutorials covered topics such topics as unit testing, data stores, and beginning programming with Python and Django, and were attended by 96 people, of whom 64 were students. Lynn Root’s tutorial, “How to Spy with Python,” explained how the NSA and the UK’s Tempora programs can collect data on citizens' search histories, emails, IRC conversations, PGP usage, etc. As Lynn was clear to point out, however, the talk was not an endorsement of spying or a how-to, but rather a “… way of understanding the current political environment, as well as indirectly understanding how to protect one’s privacy” (see How to Spy).


127 people (of whom 41 were students) attended the two days of conference talks. Featured speakers included Anand Chitipothu, Kristin Nguyen, Ricky Setyawan, Sacha Goedegebure, Colm O'Connor, and others covering a wide range of topics, including interpreters, data processing, educational games, data processing, machine learning, multicore processing, and film production.


A first-time feature of the conference was its edu-summit, which was attended by approximately 40 Computer Science teachers. 


The summit included a talk by Praveen Patil titled Python in my Physics classroomabout how to incorporate computer science into the science curriculum using ExpEYES, an Open Source Pocket Science Lab (https://pycon.sg/schedule/presentation/59/).


Here are some links and pictures of the event: PyCon SingaporeBlog PostGroup PhotoWelcome.

I would love to hear from readers. Please send feedback, comments, or blog ideas to me at msushi@gnosis.cx.








Thứ Sáu, 8 tháng 5, 2015

PSF funds development: Armin Rigo's CFFI 1.0



In looking back over the PSF newsblog posts, it appears that most of the PSF funded projects I’ve written about were conferences, workshops, and education/outreach efforts. These are, of course, truly important. However, it’s also important to get the word out about several development projects that the PSF has sponsored in 2015. One such project is Armin Rigo’s work on CFFI 1.0. 



RESOLVED, that the Python Software Foundation grant Armin Rigo $2500 towards cffi development aimed at making cffi generated extension modules importable without runtime dependencies on an extension module build toolchain.



CFFI or C Foreign Function Interface for Python provides a way to call compiled C code, i.e., external C libraries, from Python using interface declarations written in C. This eliminates the need to use a programming language other than C and Python. At the same time, CFFI minimizes the amount of C code that needs to be written, so it really is a boon for Python developers. It works with Python 2.6 and up and with PyPy 2x and 3x. See CFFI Documentation.


CFFI has already had approximately 7 million downloads, so it is clearly of use, but its creator, Armin Rigo (who is also one of the creators of PyPy) saw room for improvement. Specifically, according to Armin, there were two main problems:




  1. The difficulties of installation [which] can be seen from outside by looking at various workarounds and 3rd-party documentation that have grown into existence. For example, the setup.py of projects like cryptography, PyNaCl and bcrypt deploys workarounds that are explicitly documented inhttps://caremad.io/2014/11/distributing-a-cffi-project/.



  2. The time taken at import is excessive in some cases. For example, importing pygame-cffi on a Raspberry Pi ARM board takes on the order of 10 to 20 seconds (and this is the fast case where the compiler doesn’t need to be invoked any more)





Due to the PSF grant, Armin was able to fix both problems. The 1.0 version, now in beta, is available at CFFI 1.0.


Our thanks to the amazing Armin Rigo for this very welcome tool!


Stay tuned for my next post about the PSF’s recent award of $8,000 USD for Read the Docs


I would love to hear from readers. Please send feedback, comments, or blog ideas to me at msushi@gnosis.cx.


Thứ Năm, 30 tháng 4, 2015

South African Brothers and Sisters for Python



Today’s post is a follow-up to a previous post about a PSF funded project by Hyperion Development in South Africa. 


The PSF has recently heard from Riaz Moola about his latest project–working with Brothers For All to deliver Python courses in 42 prisons–including eight female corrections facilities–in the Western Cape.


Brothers is run by an ex-con, Sihle Tshabalala, who taught himself to code online. When he got out of prison, he wanted to do something to slow the recidivism rate of South African ex-convicts. Not only does South Africa have the world’s eighth highest prison population, but the rate of re-offenders is over 80%. In addition, an extremely high unemployment rate of 25% adds to the hopelessness felt by those with prison records and without marketable skills.


Brothers began last September by opening a center in a Western Cape township area. There, ex-cons and at-risk youth come to learn coding skills, entrepreneurship, and marketable crafts.




According to Tshabalala,



“We chose coding because it leapfrogs over the need for more conventional, expensive and time consuming job skills training… Plus there currently is a high demand in the market for such skilled labour.”



They have recently been given approval by the provincial government to take the program into 42 prisons in the Western Cape. This way, prisoners can gain skills while incarcerated so that they are ready for employment immediately upon release. 


The ambitious scope of this program caused Brothers to partner up with Hyperion. While Brothers will focus on getting the programs into the prisons and more township areas, Hyperion will provide course content.


Hyperion’s main concerns at this point are logistical and for long-term sustainability. As Riaz told the PSF, there are many challenges specific to South Africa; for example, for four hours every day there is a power blackout, which obviously poses a problem for internet connectivity. In addition, South Africa has the highest data costs of any country in the world. Travel for tutors and volunteers is also very expensive. And then, of course, there’s the poverty and its inevitable expression in crime. Sadly, one of the project’s computer labs was recently burglarized, resulting in the loss of equipment. But Brothers also has support streams, so they are currently receiving donations to make up for the loss. In future, they plan to purchase laptops, which can be more easily secured.


Hyperion has been able to achieve a solid team of Python instructors. With the help of the PSF and other institutions, Hyperion is able to pay the travel and data costs for their volunteers. This has allowed them to be very selective; their instructors must pass tests of their technological and teamwork skills. Even so, Riaz tells us, they are never at a loss for instructor applicants.


The Cape Town team, led by Hyperion manager Sobane Motlomelo (a Master’s degree student at University of Cape Town), will be primarily responsible for handling the prison project. Sobane's team has recently accepted four new members, and Riaz is confident of their ability. This is good news for Riaz, who began Hyperion as an experiment when he was an undergraduate, then saw it spiral into something very large, to which he has been giving all his time. Currently he’d like to step back just a bit. Our congratulations to him on being offered a Google internship! 


More info on this remarkable program can be found at its twitter page and htxt.africa.


I would love to hear from readers. Please send feedback, comments, or blog ideas to me at msushi@gnosis.cx.


Popular Posts

Magix Vegas Pro 17.0.0.452 Free Download Magix Vegas Pro 17.0.0.452 Free Download includes all the necessary files to run perfectly on your ...