The Hitchhiker's Guide to Python. Best Practices for Development

- Autorzy:
- Kenneth Reitz, Tanya Schlusser
- Promocja Przejdź


- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 338
- Dostępne formaty:
-
ePubMobi
Opis książki: The Hitchhiker's Guide to Python. Best Practices for Development
The Hitchhiker's Guide to Python takes the journeyman Pythonista to true expertise. More than any other language, Python was created with the philosophy of simplicity and parsimony. Now 25 years old, Python has become the primary or secondary language (after SQL) for many business users. With popularity comes diversity—and possibly dilution.
This guide, collaboratively written by over a hundred members of the Python community, describes best practices currently used by package and application developers. Unlike other books for this audience, The Hitchhiker’s Guide is light on reusable code and heavier on design philosophy, directing the reader to excellent sources that already exist.
Wybrane bestsellery
-
Niniejsza książka jest przeznaczona dla średnio zaawansowanych programistów. Zawarto tu zbiór najlepszych praktyk i opis ulubionych narzędzi entuzjastów Pythona. Przedstawiono doskonałe biblioteki do aplikacji konsolowych, graficznych interfejsów i aplikacji internetowych oraz do analizy danych, ...
Przewodnik po Pythonie. Dobre praktyki i praktyczne narzędzia Przewodnik po Pythonie. Dobre praktyki i praktyczne narzędzia
(0,00 zł najniższa cena z 30 dni)27.45 zł
54.90 zł(-50%) -
Oto intuicyjny przewodnik dla średnio zaawansowanych programistów Pythona, pomyślany tak, by przyswajać zasady programowania zorientowanego obiektowo podczas praktycznych ćwiczeń. Dowiesz się, jakie problemy wiążą się z zastosowaniem podejścia proceduralnego i jak dzięki podejściu obiektowemu pis...
Python zorientowany obiektowo. Programowanie gier i graficznych interfejsów użytkownika Python zorientowany obiektowo. Programowanie gier i graficznych interfejsów użytkownika
(0,00 zł najniższa cena z 30 dni)53.40 zł
89.00 zł(-40%) -
To drugie, zaktualizowane i poprawione wydanie bestsellerowego podręcznika Programowania w Pythonie pozwoli Ci błyskawicznie zacząć tworzyć kod, który działa! Zaczniesz od zrozumienia podstawowych koncepcji programistycznych, następnie nauczysz się zapewniać programom interaktywność i wykształcis...(0,00 zł najniższa cena z 30 dni)
59.40 zł
99.00 zł(-40%) -
To kompleksowy podręcznik do nauki programowania w Pythonie. Jego piąte wydanie zostało gruntownie zaktualizowane i rozbudowane o dodatkowe treści. Omówiono tu najnowsze wersje Pythona w liniach 3.X i 2.X, czyli 3.3 i 2.7, i dodano opisy nowych lub rozszerzonych mechanizmów, takich jak obsługa fo...(0,00 zł najniższa cena z 30 dni)
119.40 zł
199.00 zł(-40%) -
Dzięki tej książce przekonasz się, jak wspaniałą przygodą jest programowanie i jak łatwo ją zacząć! Poznasz podstawy Pythona, dowiesz się, jak pisać i formatować kod, a także szybko nauczysz się uruchamiać swoje programy. Instrukcje sterujące, operatory, typy danych, funkcje, klasy i moduły nie b...
Python 3. Projekty dla początkujących i pasjonatów Python 3. Projekty dla początkujących i pasjonatów
(0,00 zł najniższa cena z 30 dni)35.94 zł
59.90 zł(-40%) -
Ta książka jest przystępnym wprowadzeniem do kryptografii i bibliotek kryptograficznych Pythona. Omówiono tu podstawowe koncepcje z tej dziedziny, najważniejsze algorytmy i niezbędny zakres podstaw matematycznych: liczby pierwsze, teorię grup czy generatory liczb pseudolosowych. Wyjaśniono, czym ...
Algorytmy kryptograficzne w Pythonie. Wprowadzenie Algorytmy kryptograficzne w Pythonie. Wprowadzenie
(0,00 zł najniższa cena z 30 dni)41.40 zł
69.00 zł(-40%) -
Metody statystyczne są kluczowym elementem data science, mimo to niewielu specjalistów data science posiada formalne wykształcenie statystyczne. Kursy i podręczniki o podstawach statystyki, rzadko kiedy omawiają temat z perspektywy data science. W drugim wydaniu tego popularnego podręcznika zosta...
Statystyka praktyczna w data science. 50 kluczowych zagadnień w językach R i Python. Wydanie II Statystyka praktyczna w data science. 50 kluczowych zagadnień w językach R i Python. Wydanie II
(0,00 zł najniższa cena z 30 dni)41.40 zł
69.00 zł(-40%) -
To kolejne wydanie lubianego samouczka, dzięki któremu w ramach 24 godzinnych lekcji przyswoisz solidne podstawy programowania. Zrozumiesz, jak działają programy, i nauczysz się reguł stosowanych przez profesjonalistów przy ich projektowaniu. Dowiesz się, jak wygląda świat programistów i na czym ...
Programowanie dla początkujących w 24 godziny. Wydanie IV Programowanie dla początkujących w 24 godziny. Wydanie IV
(0,00 zł najniższa cena z 30 dni)34.50 zł
69.00 zł(-50%) -
Ta książka jest zwięzłym, skupionym na praktyce przewodnikiem po Pythonie w wersji 3.6 i nowszych. Dzięki niej skoncentrujesz się na rdzeniu języka i podstawowych zagadnieniach, które musisz doskonale opanować, jeśli chcesz pisać w nim dobry kod. Dowiesz się zatem, jak działa Python i jakich zasa...(0,00 zł najniższa cena z 30 dni)
41.40 zł
69.00 zł(-40%) -
Wiernym czytelnikom publikacji spod znaku wydawnictwa Helion Piotra Wróblewskiego przedstawiać nie trzeba. Dość wspomnieć, że jest on autorem wielu publikacji poświęconych głównie programowaniu i obsłudze komputerów. Jego najnowsza książka, Algorytmy w Pythonie. Techniki programowania dla praktyk...
Algorytmy w Pythonie. Techniki programowania dla praktyków Algorytmy w Pythonie. Techniki programowania dla praktyków
(0,00 zł najniższa cena z 30 dni)71.40 zł
119.00 zł(-40%)
Kup polskie wydanie:
Przewodnik po Pythonie. Dobre praktyki i praktyczne narzędzia
- Autor:
- Kenneth Reitz, Tanya Schlusser
27,45 zł
54,90 zł
(24.90 zł najniższa cena z 30 dni)
Ebooka przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolonych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video zobaczysz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolonych urządzeniach i aplikacjach obsługujących format MP4 (pliki spakowane w ZIP)
Szczegóły książki
- ISBN Ebooka:
- 978-14-919-3322-0, 9781491933220
- Data wydania ebooka:
-
2016-08-30
Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@helion.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 2.4MB
- Rozmiar pliku Mobi:
- 2.4MB
- Kategorie:
Programowanie » Python - Programowanie
Spis treści książki
- Preface
- Conventions Used in This Book
- Safari Books Online
- How to Contact Us
- Acknowledgments
- I. Getting Started
- 1. Picking an Interpreter
- The State of Python 2 Versus Python 3
- Recommendations
- So3?
- Implementations
- CPython
- Stackless
- PyPy
- Jython
- IronPython
- PythonNet
- Skulpt
- MicroPython
- 2. Properly Installing Python
- Installing Python on Mac OS X
- Setuptools and pip
- virtualenv
- Installing Python on Mac OS X
- Installing Python on Linux
- Setuptools and pip
- Development Tools
- virtualenv
- Installing Python on Windows
- Setuptools and pip
- virtualenv
- Commercial Python Redistributions
- 3. Your Development Environment
- Text Editors
- Sublime Text
- Vim
- Python-mode
- Emacs
- TextMate
- Atom
- Code
- Text Editors
- IDEs
- PyCharm/IntelliJ IDEA
- Aptana Studio 3/Eclipse + LiClipse + PyDev
- WingIDE
- Spyder
- NINJA-IDE
- Komodo IDE
- Eric (the Eric Python IDE)
- Visual Studio
- Enhanced Interactive Tools
- IDLE
- IPython
- bpython
- Isolation Tools
- Virtual Environments
- Create and activate the virtual environment
- On Mac OS X and Linux
- On Windows
- Create and activate the virtual environment
- Add libraries to the virtual environment
- Deactivate the virtual environment
- Virtual Environments
- pyenv
- Autoenv
- virtualenvwrapper
- Buildout
- Conda
- Docker
- II. Getting Down to Business
- 4. Writing Great Code
- Code Style
- PEP 8
- PEP 20 (a.k.a. The Zen of Python)
- General Advice
- Explicit is better than implicit
- Sparse is better than dense
- Errors should never pass silently / Unless explicitly silenced
- Function arguments should be intuitive to use
- If the implementation is hard to explain, its a bad idea
- We are all responsible users
- Return values from one place
- Conventions
- Alternatives to checking for equality
- Accessing dictionary elements
- Manipulating lists
- Continuing a long line of code
- Code Style
- Idioms
- Unpacking
- Ignoring a value
- Creating a length-N list of the same thing
- Exception-safe contexts
- Common Gotchas
- Mutable default arguments
- Late binding closures
- Structuring Your Project
- Modules
- Importing modules
- Modules
- Packages
- Object-Oriented Programming
- Decorators
- Dynamic Typing
- Mutable and Immutable Types
- Vendorizing Dependencies
- Testing Your Code
- Tips for testing
- Just one thing per test
- Independence is imperative
- Precision is better than parsimony
- Speed counts
- RTMF (Read the manual, friend!)
- Test everything when you startand again when you finish
- Version control automation hooks are fantastic
- Write a breaking test if you want to take a break
- In the face of ambiguity, debug using a test
- If the test is hard to explain, good luck finding collaborators
- If the test is easy to explain, it is almost always a good idea
- Above all, dont panic
- Tips for testing
- Testing Basics
- unittest
- Mock (in unittest)
- doctest
- Examples
- Example: Testing in Tablib
- Example: Testing in Requests
- Other Popular Tools
- pytest
- Nose
- tox
- Options for older versions of Python
- unittest2
- Mock
- fixture
- Lettuce and Behave
- Documentation
- Project Documentation
- Project Publication
- Sphinx
- reStructured Text
- Docstring Versus Block Comments
- Logging
- Logging in a Library
- Logging in an Application
- Example configuration via an INI file
- Example configuration via a dictionary
- Example configuration directly in code
- Choosing a License
- Upstream Licenses
- Options
- Licensing Resources
- 5. Reading Great Code
- Common Features
- HowDoI
- Reading a Single-File Script
- Read HowDoIs documentation
- Use HowDoI
- Read HowDoIs code
- Reading a Single-File Script
- Structure Examples from HowDoI
- Let each function do just one thing
- Leverage data available from the system
- Style Examples from HowDoI
- Underscore-prefixed function names (we are all responsible users)
- Handle compatibility in just one place (readability counts)
- Pythonic choices (beautiful is better than ugly)
- Diamond
- Reading a Larger Application
- Read Diamonds documentation
- Use Diamond
- Reading Diamonds code
- Reading a Larger Application
- Structure Examples from Diamond
- Separate different functionality into namespaces (they are one honking great idea)
- User-extensible custom classes (complex is better than complicated)
- Complex versus complicated
- The simple user interface
- The more complex internal code
- Style Examples from Diamond
- Example use of a closure (when the gotcha isnt a gotcha)
- Tablib
- Reading a Small Library
- Read Tablibs documentation
- Use Tablib
- Read Tablibs code
- Reading a Small Library
- Structure Examples from Tablib
- No needless object-oriented code in formats (use namespaces for grouping functions)
- Descriptors and the property decorator (engineer immutability when the API would benefit)
- Programmatically registered file formats (dont repeat yourself)
- Vendorized dependencies in packages (an example of how to vendorize)
- Saving memory with __slots__ (optimize judiciously)
- Style Examples from Tablib
- Operator overloading (beautiful is better than ugly)
- Requests
- Reading a Larger Library
- Read Requestss documentation
- Use Requests
- Read Requestss code
- Reading a Larger Library
- Structure Examples from Requests
- Top-level API (preferably only one obvious way to do it)
- The Request and PreparedRequest objects (were all responsible users)
- Style Examples from Requests
- Sets and set arithmetic (a nice, Pythonic idiom)
- Status codes (readability counts)
- Werkzeug
- Reading Code in a Toolkit
- Read Werkzeugs documentation
- Use Werkzeug
- Read Werkzeugs code
- Reading Code in a Toolkit
- Style Examples from Werkzeug
- Elegant way to guess type (if the implementation is easy to explain, it may be a good idea)
- Regular expressions (readability counts)
- Structure Examples from Werkzeug
- Class-based decorators (a Pythonic use of dynamic typing)
- Response.__call__
- Mixins (also one honking great idea)
- Flask
- Reading Code in a Framework
- Read Flasks documentation
- Use Flask
- Read Flasks code
- Reading Code in a Framework
- Style Examples from Flask
- Flasks routing decorators (beautiful is better than ugly)
- Structure Examples from Flask
- Application specific defaults (simple is better than complex)
- Modularity (also one honking great idea)
- 6. Shipping Great Code
- Useful Vocabulary and Concepts
- Packaging Your Code
- Conda
- PyPI
- Sample project
- Use pip, not easy_install
- Personal PyPI
- Pypiserver
- S3-hosted PyPI
- VCS support for pip
- Freezing Your Code
- PyInstaller
- cx_Freeze
- py2app
- py2exe
- bbFreeze
- Packaging for Linux-Built Distributions
- Executable ZIP Files
- III. Scenario Guide
- 7. User Interaction
- Jupyter Notebooks
- Command-Line Applications
- argparse
- docopt
- Plac
- Click
- Clint
- cliff
- GUI Applications
- Widget Libraries
- Tk
- Kivy
- Qt
- GTK+
- wxWidgets
- Objective-C
- Widget Libraries
- Game Development
- Web Applications
- Web Frameworks/Microframeworks
- Django
- Flask
- Tornado
- Pyramid
- Web Frameworks/Microframeworks
- Web Template Engines
- Jinja2
- Chameleon
- Mako
- Web Deployment
- Hosting
- Web servers
- WSGI servers
- 8. Code Management and Improvement
- Continuous Integration
- Tox
- Continuous Integration
- System Administration
- Travis-CI
- Jenkins
- Buildbot
- Server Automation
- Salt
- Ansible
- Puppet
- Chef
- CFEngine
- System and Task Monitoring
- Psutil
- Fabric
- Luigi
- Speed
- Threading
- Multiprocessing
- Subprocess
- PyPy
- Cython
- Numba
- GPU libraries
- Interfacing with C/C++/FORTRAN Libraries
- C Foreign Function Interface
- ctypes
- F2PY
- SWIG
- Boost.Python
- 9. Software Interfaces
- Web Clients
- Web APIs
- JSON parsing
- XML parsing
- Web scraping
- lxml
- Web APIs
- Web Clients
- Data Serialization
- Pickle
- Cross-language serialization
- Compression
- The buffer protocol
- Distributed Systems
- Networking
- Performance networking tools in Pythons Standard Library
- gevent
- Twisted
- PyZMQ
- RabbitMQ
- Networking
- Cryptography
- ssl, hashlib, and secrets
- pyOpenSSL
- PyNaCl and libnacl
- Cryptography
- PyCrypto
- bcrypt
- 10. Data Manipulation
- Scientific Applications
- IPython
- NumPy
- SciPy
- Matplotlib
- Pandas
- Scikit-Learn
- Rpy2
- decimal, fractions, and numbers
- SymPy
- Scientific Applications
- Text Manipulation and Text Mining
- String Tools in Pythons Standard Library
- nltk
- SyntaxNet
- String Tools in Pythons Standard Library
- Image Manipulation
- Pillow
- cv2
- Scikit-Image
- 11. Data Persistence
- Structured Files
- Database Libraries
- sqlite3
- SQLAlchemy
- Django ORM
- peewee
- PonyORM
- SQLObject
- Records
- NoSQL database libraries
- A. Additional Notes
- Pythons Community
- BDFL
- Python Software Foundation
- PEPs
- Notable PEPs
- Submitting a PEP
- Python conferences
- Python user groups
- Pythons Community
- Learning Python
- Beginners
- Intermediate
- Advanced
- For Engineers and Scientists
- Miscellaneous Topics
- References
- Documentation
- News
- Index
O'Reilly Media - inne książki
-
FinOps brings financial accountability to the variable spend model of cloud. Used by the majority of global enterprises, this management practice has grown from a fringe activity to the de facto discipline managing cloud spend. In this book, authors J.R. Storment and Mike Fuller outline the proce...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Edge AI is transforming the way computers interact with the real world, allowing IoT devices to make decisions using the 99% of sensor data that was previously discarded due to cost, bandwidth, or power limitations. With techniques like embedded machine learning, developers can capture human intu...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Why is it difficult for so many companies to get digital identity right? If you're still wrestling with even simple identity problems like modern website authentication, this practical book has the answers you need. Author Phil Windley provides conceptual frameworks to help you make sense of all ...(0,00 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
Python was recently ranked as today's most popular programming language on the TIOBE index, thanks to its broad applicability to design and prototyping to testing, deployment, and maintenance. With this updated fourth edition, you'll learn how to get the most out of Python, whether you're a profe...(0,00 zł najniższa cena z 30 dni)
305.15 zł
359.00 zł(-15%) -
With the accelerating speed of business and the increasing dependence on technology, companies today are significantly changing the way they build in-house business solutions. Many now use low-code and no code technologies to help them deal with specific issues, but that's just the beginning. Wit...
Building Solutions with the Microsoft Power Platform Building Solutions with the Microsoft Power Platform
(0,00 zł najniższa cena z 30 dni)262.65 zł
309.00 zł(-15%) -
Companies are scrambling to integrate AI into their systems and operations. But to build truly successful solutions, you need a firm grasp of the underlying mathematics. This accessible guide walks you through the math necessary to thrive in the AI field such as focusing on real-world application...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
DevOps engineers, developers, and security engineers have ever-changing roles to play in today's cloud native world. In order to build secure and resilient applications, you have to be equipped with security knowledge. Enter security as code.In this book, authors BK Sarthak Das and Virginia Chu d...(0,00 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
With the increasing use of AI in high-stakes domains such as medicine, law, and defense, organizations spend a lot of time and money to make ML models trustworthy. Many books on the subject offer deep dives into theories and concepts. This guide provides a practical starting point to help develop...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Why are so many companies adopting GitOps for their DevOps and cloud native strategy? This reliable framework is quickly becoming the standard method for deploying apps to Kubernetes. With this practical, developer-oriented book, DevOps engineers, developers, IT architects, and SREs will learn th...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Learn the essentials of working with Flutter and Dart to build full stack applications that meet the needs of a cloud-driven world. Together, the Flutter open source UI software development kit and the Dart programming language for client development provide a unified solution to building applica...(0,00 zł najniższa cena z 30 dni)
220.15 zł
259.00 zł(-15%)
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
W przypadku usługi "Druk na żądanie" termin dostarczenia przesyłki może obejmować także czas potrzebny na dodruk (do 10 dni roboczych)
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.


Oceny i opinie klientów: The Hitchhiker's Guide to Python. Best Practices for Development Kenneth Reitz, Tanya Schlusser (0)
Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.