• Complain

Matthew Wilkes - Advanced Python Development: Using Powerful Language Features in Real-World Applications

Here you can read online Matthew Wilkes - Advanced Python Development: Using Powerful Language Features in Real-World Applications full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2020, publisher: Apress, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Matthew Wilkes Advanced Python Development: Using Powerful Language Features in Real-World Applications
  • Book:
    Advanced Python Development: Using Powerful Language Features in Real-World Applications
  • Author:
  • Publisher:
    Apress
  • Genre:
  • Year:
    2020
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

Advanced Python Development: Using Powerful Language Features in Real-World Applications: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Advanced Python Development: Using Powerful Language Features in Real-World Applications" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

This book builds on basic Python tutorials to explain various Python language features that arent routinely covered: from reusable console scripts that play double duty as micro-services by leveraging entry points, to using asyncio efficiently to collate data from a large number of sources. Along the way, it covers type-hint based linting, low-overhead testing and other automated quality checking to demonstrate a robust real-world development process.
Some powerful aspects of Python are often documented with contrived examples that explain the feature as a standalone example only. By following the design and build of a real-world application example from prototype to production quality youll see not only how the various pieces of functionality work but how they integrate as part of the larger system design process. In addition, youll benefit from the kind of useful asides and library recommendations that are a staple of conference Q&A sessions at Python conferences as well as discussions of modern Python best practice and techniques to better produce clear code that is easily maintainable.
Advanced Python Development is intended for developers who can already write simple programs in Python and want to understand when its appropriate to use new and advanced language features and to do so in a confident manner. It is especially of use to developers looking to progress to a more senior level and to very experienced developers who have thus far used older versions of Python.
What Youll Learn
  • Understand asynchronous programming
  • Examine developing plugin architectures
  • Work with type annotations
  • Review testing techniques
  • Explore packaging and dependency management
Who This Book Is For
Developers at the mid to senior level who already have Python experience.

Matthew Wilkes: author's other books


Who wrote Advanced Python Development: Using Powerful Language Features in Real-World Applications? Find out the surname, the name of the author of the book and a list of all author's works by series.

Advanced Python Development: Using Powerful Language Features in Real-World Applications — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Advanced Python Development: Using Powerful Language Features in Real-World Applications" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Contents
Landmarks
Matthew Wilkes Advanced Python Development Using Powerful Language Features - photo 1
Matthew Wilkes
Advanced Python Development
Using Powerful Language Features in Real-World Applications
1st ed.
Matthew Wilkes Leeds West Yorkshire UK Any source code or other - photo 2
Matthew Wilkes
Leeds, West Yorkshire, UK

Any source code or other supplementary material referenced by the author in this book is available to readers on GitHub via the books product page, located at www.apress.com/978-1-4842-5792-0 . For more detailed information, please visit http://www.apress.com/source-code .

ISBN 978-1-4842-5792-0 e-ISBN 978-1-4842-5793-7
https://doi.org/10.1007/978-1-4842-5793-7
Matthew Wilkes 2020
Apress Standard
The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use.
The publisher, the authors and the editors are safe to assume that the advice and information in this book are believed to be true and accurate at the date of publication. Neither the publisher nor the authors or the editors give a warranty, express or implied, with respect to the material contained herein or for any errors or omissions that may have been made. The publisher remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Distributed to the book trade worldwide by Springer Science+Business Media New York, 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-ny@springer-sbm.com, or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation.
Introduction

Python is a very successful programming language. In the three decades that it has existed, it has become very widely used. It ships by default with major operating systems; some of the largest websites in the world use Python for their back ends, and scientists are using Python every day to advance our collective knowledge. As so many people are working on and with Python daily, improvements come thick and fast. Not all Python developers have the chance to attend conferences, or the time to follow the work done by different parts of the community, so its inevitable that some features of the language and ecosystem are not as well known as they deserve to be.

The objective of this book is to examine parts of the language and Python tooling that may not be known to everyone. If youre an experienced Python developer, you may well know many of these tools, but a good many more may be on your to-do list of things to try when you have time. This is especially true if youre working on established systems, where rearchitecting a component to take advantage of new language features isnt something that can be done frequently.

If youve been using Python for a shorter period, you may be more familiar with recent additions to the language but less aware of some of the libraries available in the wider ecosystem. A large part of the benefit of attending events like Python conferences is the chance to notice minor quality-of-life improvements fellow programmers have made and integrate them into your workflow.

This is not a reference book with stand-alone sections covering different features of Python: the flow from chapter to chapter is dictated by how we would build a real piece of software.

With many pieces of technical documentation, there is a tendency to provide simple examples. Simple examples are great for explaining how something works, but not so useful for understanding when to use it. They can also be tricky to build on, as complex code is often architected quite differently to simple code.

By following this one example, we are able to consider technology choices in context. You will learn what considerations to bear in mind when choosing if a particular approach is suitable. Topics that are related by how theyre used will be covered together, rather than topics that are related by how they work.

This book

My objective in writing this book is to share knowledge from different parts of the community and lessons learned over 15 years of writing Python code for a living. It will help you to be productive, both with the core language and add-on libraries. You will learn how to effectively use features of the language that are not strictly essential to be a productive programmer, such as asynchronous programming, packaging, and testing.

However, this book is aimed at people who want to write code, not people who are looking to understand deep magics. I will not delve too far into subjects that involve implementation details of Python. You will not be expected to grok Python C extensions, metaclasses, or algorithms to benefit from this book.

Substantive code samples are shown as numbered listings, and the accompanying code for this book includes electronic versions of these listings. Some of these listings also have output shown directly beneath, rather than separately as a numbered figure.

The accompanying code for this book is also where youll find copies of the full codebase for the example on a chapter-by-chapter basis, as well as helper code for the exercises. In general, I would recommend that you follow along with the code by checking out the Git repository from the books website or the code distribution and changing to the relevant branch for the chapter youre reading.

As well as listings, I show some console sessions. When lines which are formatted like code begin with > , that indicates that a shell session is being shown. These sections cover commands to be run from your operating systems terminal. Any that involve >>> are demonstrating a Python console session and should be run from within a Python interpreter.

The example

This books example is that of a general-purpose data aggregator. If you work in DevOps, then it is very likely you use a program of this sort to track the resource utilization of servers. Alternatively, as a web developer, you may use something like this for statistics aggregation from different deployments of the same system. Some scientists use similar methods, for example, for aggregating the findings of air-quality sensors distributed across a city. It isnt something that every developer will need to build, but it is a problem space that is familiar to many developers.

It has been picked not just because its a common task, but because it allows us to explore many of the subjects we want to cover in a natural, unified way. You will be able to follow the complete example perfectly well using any modern computer running any modern operating system, without purchasing any additional hardware. You may find you get more out of some of the examples if you have additional computers to act as remote data sources.

I will be using a Raspberry Pi Zero equipped with some aftermarket sensors for my examples. This platform is widely available for approximately 5 US dollars and provides lots of interesting data. There are commercial sensor add-ons available from many Raspberry Pi stockists.

Although Ill be recommending things specific to the Raspberry Pi to make following the examples easier, this book is not about the Internet of Things or the Raspberry Pi itself. Its a means to an end; you should feel comfortable to adapt the examples to fit tasks that are more relevant to your interests if you like. Any of the similar problems mentioned earlier would follow the same design process.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Advanced Python Development: Using Powerful Language Features in Real-World Applications»

Look at similar books to Advanced Python Development: Using Powerful Language Features in Real-World Applications. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Advanced Python Development: Using Powerful Language Features in Real-World Applications»

Discussion, reviews of the book Advanced Python Development: Using Powerful Language Features in Real-World Applications and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.