MongoDB and Python: Patterns and processes for the popular document-oriented database
Niall O'Higgins, "MongoDB and Python
: Patterns and processes for the popular document-oriented database"
O'Reilly Media | 2011-09-30 | ISBN: 1449310370 | 68 pages | PDF | 4,5 MB
Learn how to leverage MongoDB with your Python applications, using the hands-on recipes in this book. You get complete code samples for tasks such as making fast geo queries for location-based apps, efficiently indexing your user documents for social-graph lookups, and many other scenarios.
This
guide explains the basics of the document-oriented database and shows
you how to set up a Python environment with it. Learn how to read and
write to MongoDB, apply idiomatic MongoDB and Python patterns, and use
the database with several popular Python web frameworks. You’ll discover
how to model your data, write effective queries, and avoid concurrency problems such as race conditions and deadlocks.
The recipes will help you:
-Read, write, count, and sort documents in a MongoDB collection
-Learn how to use the rich MongoDB query language
-Maintain data integrity in replicated/distributed MongoDB environments
-Use embedding to efficiently model your data without joins
-Code defensively to avoid keyerrors and other bugs
-Apply atomic operations to update game scores, billing systems, and more with the fast accounting pattern
-Use MongoDB with the Pylons 1.x, Django, and Pyramid web frameworks
Download
Starting Out with Python, 2nd Edition
About the Book
In "Starting Out with Python(R), Second Edition"
Tony Gaddis' evenly-paced, accessible coverage introduces students to
the basics of programming and prepares them to transition into more
complicated languages. Python, an easy-to-learn and increasingly popular
object-oriented language, allows readers to become comfortable with the
fundamentals of programming without the troublesome syntax that can be
challenging for novices. With the knowledge acquired using Python,
students gain confidence in their skills and learn to recognize the
logic behind developing high-quality programs.
"Starting Out with
Python" discusses control structures, functions, arrays, and pointers
before objects and classes. As with all Gaddis texts, clear and
easy-to-read code listings, concise and practical real-world examples,
detail-oriented explanations, and an abundance of exercises appear in
every chapter. This text is intended for a one-semester introductory
programming course for students with limited programming experience.
info
Download
The Quick Python Book Second Edition
pdf | 362 pages | 4.4 Mb
Sales page:
http://www.amazon.com/Quick-Python-Book-Second/dp/193518220X
I’ve
been coding in Python for a number of years, longer than any other
language I’ve ever used. I use Python for system administration, for web
applications, for database management, and sometimes just to help
myself think clearly.
To be honest, I’m sometimes a little
surprised that Python has worn so well. Based on my earlier experience, I
would have expected that by now some other language would have come
along that was faster, cooler, sexier, whatever. Indeed, other
languages have come along, but none that helped me do what I needed to
do quite as effectively as Python. In fact, the more I use Python and
the more I understand it, the more I feel the quality of my programming
improve and mature.
This is a second edition, and my mantra in
updating has been, “If it ain’t broke, don’t fix it.” Much of the
content has been freshened for Python 3 but is largely as written in the
first edition. Of course, the world of Python has changed since Python
1.5, so in several places I’ve had to make significant changes or add
new material. On those occasions I’ve done my best to make the new
material compatible with the clear and low-key style of the original.
For me, the aim of this book is to share the positive experiences I’ve
gotten from coding in Python by introducing people to Python 3, the
latest and, in my opinion, the best version of Python to date. May your
journey be as satisfying as mine has been.
Download
Starting out with Python
pdf | 502 pages | 33.8 Mb
Sales page:
http://www.amazon.com/Starting-Out-Python-Tony-Gaddis/dp/0321537114
Download