Topic: "python-articles"
mythmgn/awesome_py_traps
100 Awesome python traps examples, 1 new example per week
Language: Python - Size: 479 KB - Last synced at: 4 days ago - Pushed at: over 5 years ago - Stars: 69 - Forks: 2

qiwihui/PythonWeekly
Python 不定期周报
Language: HTML - Size: 187 KB - Last synced at: about 1 month ago - Pushed at: over 3 years ago - Stars: 8 - Forks: 0

python-supply/guide-to-publishing-packages
This article is a step-by-step guide to assembling and publishing a small, open-source Python package; topics covered include directory structure, basic unit tests, basic continuous integration setup, and publication to a repository.
Size: 14.6 KB - Last synced at: about 2 years ago - Pushed at: over 4 years ago - Stars: 4 - Forks: 0

python-supply/analyzing-and-transforming-abstract-syntax
Python's built-in libraries include powerful tools for retrieving and operating over abstract syntax trees. This article provides an overview of how to use these features to analyze and transform Python code programmatically.
Language: Jupyter Notebook - Size: 58.6 KB - Last synced at: about 2 years ago - Pushed at: over 4 years ago - Stars: 2 - Forks: 1

python-supply/advantages-of-type-annotations
Native syntactic support for type annotations was introduced in Python 3. This article provides an overview of this feature, reviews how it can be used to document information about expressions and functions in a structured way, and illustrates some of the advantages of leveraging it for applicable use cases.
Language: Jupyter Notebook - Size: 57.6 KB - Last synced at: about 2 years ago - Pushed at: over 4 years ago - Stars: 1 - Forks: 0

python-supply/map-reduce-and-multiprocessing
Multiprocessing can be an effective way to speed up a time-consuming workflow via parallelization. This article illustrates how multiprocessing can be utilized in a concise way when implementing MapReduce-like workflows.
Language: Jupyter Notebook - Size: 166 KB - Last synced at: about 2 years ago - Pushed at: over 4 years ago - Stars: 1 - Forks: 1

reity/article-specifications-for-distinguishing-functions
This article presents a technique for assembling concise, lightweight specifications and unit tests for verifying the identity of a function; the technique sacrifices completeness to enable compact and portable specifications.
Language: Jupyter Notebook - Size: 13.7 KB - Last synced at: 3 months ago - Pushed at: almost 4 years ago - Stars: 0 - Forks: 0

python-supply/python-supply.github.io
Landing/redirect page for python.supply, where you can use Python as a platform to learn foundational concepts and practical techniques in computer science, programming, and software engineering.
Language: HTML - Size: 476 KB - Last synced at: about 2 years ago - Pushed at: over 4 years ago - Stars: 0 - Forks: 0

python-supply/strings-regular-expressions-and-text-data-analysis
While built-in string methods and regular expressions have limitations, they can be leveraged in creative ways to implement scalable workflows that process and analyze text data. This article explores these tools and introduces a few useful peripheral techniques within the context of a use case involving a large text data corpus.
Language: Jupyter Notebook - Size: 8.95 MB - Last synced at: about 2 years ago - Pushed at: over 4 years ago - Stars: 0 - Forks: 0

python-supply/applications-of-immutability
Both built-in and user-defined data structures in Python can be either mutable or immutable. This article explains why Python makes this distinction for built-in data structures and reviews some use cases within which you may want to define an immutable data structure of your own.
Language: Jupyter Notebook - Size: 59.6 KB - Last synced at: about 2 years ago - Pushed at: over 4 years ago - Stars: 0 - Forks: 0

python-supply/working-with-foreign-functions
Python offers a rich set of APIs that make it possible to build wrappers for foreign functions written in another language (such as C/C++) and compiled into shared libraries. This article introduces some basic techniques that will allow you to start using shared libraries in your projects.
Language: Jupyter Notebook - Size: 53.7 KB - Last synced at: about 2 years ago - Pushed at: over 4 years ago - Stars: 0 - Forks: 0

python-supply/comprehensions-and-combinations
Python comprehensions are a powerful language feature that can greatly improve the productivity of a programmer and the readability of code. This article explores how comprehensions can be used to build concise solutions for problems that require generating various kinds of combinations of all the elements from a finite (or infinite) set.
Language: Jupyter Notebook - Size: 55.7 KB - Last synced at: about 2 years ago - Pushed at: over 4 years ago - Stars: 0 - Forks: 0

nthparty/article-privacy-preserving-information-exchange
This article uses a simple use case involving a transaction between a vendor and a customer to illustrate the privacy-enhancing potential of oblivious transfer (OT) and to demonstrate how OT can be incorporated into a Python implementation of a web service by leveraging the otc library.
Language: Jupyter Notebook - Size: 5.86 KB - Last synced at: over 2 years ago - Pushed at: over 4 years ago - Stars: 0 - Forks: 0

python-supply/static-checking-via-metaclasses
Python metaclasses are how classes are created, and by defining your own metaclasses you can guide and constrain code contributors in a complex codebase. This article reviews how metaclasses can be employed to implement static checking of user-defined derived classes.
Language: Jupyter Notebook - Size: 54.7 KB - Last synced at: about 2 years ago - Pushed at: over 4 years ago - Stars: 0 - Forks: 0

python-supply/embedded-languages-via-overloading
Python's extensive support for operator overloading can help you greatly reduce the conceptual complexity of your library or framework, allowing programmers who must use it to leverage the extensive knowledge and skills they already possess.
Language: Jupyter Notebook - Size: 80.1 KB - Last synced at: about 2 years ago - Pushed at: over 4 years ago - Stars: 0 - Forks: 0

python-supply/iterators-generators-and-uncertainty
Iterators and generators are powerful abstractions within Python that have a variety of uses. This article reviews how they are defined, how they are related, and how they can help programmers work in an elegant and flexible way with data structures and data streams of an unknown or infinite size.
Language: Jupyter Notebook - Size: 60.5 KB - Last synced at: about 2 years ago - Pushed at: over 4 years ago - Stars: 0 - Forks: 0

python-supply/higher-order-functions-and-decorators
This article covers some background on higher-order functions in Python, presents an overview of how Python decorators are defined and used, and illustrates their utility via a few use cases.
Language: Jupyter Notebook - Size: 77.1 KB - Last synced at: about 2 years ago - Pushed at: over 4 years ago - Stars: 0 - Forks: 0

lapets/map-reduce-and-multiprocessing
Size: 0 Bytes - Last synced at: 3 months ago - Pushed at: over 5 years ago - Stars: 0 - Forks: 0
