Python is an all-in-one solution for scientific needs. Its popularity can be judged from the fact that it is now world’s most preferred language for coding purposes. The book introduces basic python for the purpose of scientific computation. The book is useful for students, researchers and students who are looking for a open source software for numerical computation.
Category Archives: Python
To setup openstacksdk on Oracle VM Server 3.3.3 (in our case it is where we host our all-in-one OpenStack):
$ sudo su –
# cd /etc/yum.repos.d
# rm -f *
# wget http://public-yum.oracle.com/public-yum-ol6.repo
# yum clean all
# yum makecache
# yum install gcc
The above step may take quite some time and is only required to install gcc. If one already has gcc installed then skip to the following step.
New Release of Aspose.Pdf Cloud SDK for Python – A Complete Solution to Manipulate PDF Portab le Document Format in Python Using Powerful Aspose.Pdf Cloud APIs
Aspose.Pdf for Cloud
Aspose.Pdf for Cloud’s platform independent document manipulation API is a true REST API that can be used with any language: .NET, Java, PHP, Ruby, Rails, Python, jQuery and many more. You can use it with any platform — web, desktop, mobile, and cloud.
With Aspose.Pdf for Cloud you can work with all aspects of PDF (portable document format) file: read, write, convert, split, merge and many more options to manipulate PDF documents. Aspose.Pdf for Cloud is a complete solution for performing any manipulation you can wish to perform on PDF files in the cloud. Learn More
A few months ago I was invited to give a workshop at Women’s International Leadership Conference on Introduction to Programming. That was an amazing experience that taught me incredible things and motivated me to open source all the steps. Some of the topics I’ll cover on this talk are:
– What is feasible in a short length workshop
– How programming workshops empower and inspire learners
– How this experience contributed to my own learning, as well as personal and professional growth
– The materials to reproduce this workshop
Our API servers at indico are written in Python using Tornado as a server framework. Tornado is a Python web framework and asynchronous networking library originally developed at FriendFeed. By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections. Some of the APIs we provide take some time to process so we take advantage of Tornado’s scalability and non-blocking I/O to support these longer user connections.
Given indico’s use of Tornado, I would simply like to share a boilerplate to spinning up an API server using Tornado.
If you want to know the whole story, read on. But for the impatient out there, here’s the executive summary:
- We migrated our entire API stack from Python (First Django then Falcon) to Go, reducing the mean response time of an API call from 100ms to 10ms
- We reduced the number of EC2 instances required by 85%
- Because Go compiles to a single static binary and because Go 1.5 makes cross compilation a breeze, we can now ship a self-hosted version of Repustate that is identical to the one we host for customers. (Previously we shipped virtual machine appliances to customers which was a support nightmare)
- Due to the similarity between Python and Go, we were able to quickly re-purpose our unit tests written in nose to fit the structure that Go requires with a just a few simple sed scripts.