Skip to content
Coder's Jungle

An educational website for programmers, coders and web developers. WordPress news, tutorials and pro tips selected by Coder's Jungle. The site aggregates articles from official RSS feeds under their original authorship. Each article has a do-follow link to the original source.

  • Home
  • Home
Home » Python modules » Page 2
Serving JSON Data with Flask
Posted inCoding Tips

Serving JSON Data with Flask

July 14, 2025

Flask API error handling for JSON. Custom JSON error responses for 404 and 500 status codes using @app.errorhandler instead of Flask's default HTML pages.

The post Serving JSON Data with Flask appeared first on Python Lore.

Read More
Customizing Scoring and Evaluation Metrics in scikit-learn
Posted inCoding Tips

Customizing Scoring and Evaluation Metrics in scikit-learn

July 12, 2025

The simple scorer you forged was a solid piece of work. It took y_true and y_pred and produced a number that meant something to the business. A fine tool. But some jobs require more specialized instruments. A simple comparison of...

The post Customizing Scoring and Evaluation Metrics in scikit-learn appeared first on Python Lore.

Read More
Understanding Blocking and Non-blocking Socket Operations
Posted inCoding Tips

Understanding Blocking and Non-blocking Socket Operations

July 8, 2025

Python non-blocking sockets with setblocking(False). Handle BlockingIOError exceptions for responsive I/O. Avoid busy-wait loops and CPU polling with recv().

The post Understanding Blocking and Non-blocking Socket Operations appeared first on Python Lore.

Read More
Customizing Matplotlib with Style Sheets
Posted inCoding Tips

Customizing Matplotlib with Style Sheets

July 4, 2025

Matplotlib plot customization with rcParams, style sheets, and the matplotlibrc file. Settings hierarchy from plt.style.use, context managers, to function arguments.

The post Customizing Matplotlib with Style Sheets appeared first on Python Lore.

Read More
Advanced Network Services with Python socket Module
Posted inCoding Tips

Advanced Network Services with Python socket Module

July 2, 2025

Resilient network server in Python using the selectors module. Failure isolation, non-blocking I/O, and robust error handling for multiple concurrent clients.

The post Advanced Network Services with Python socket Module appeared first on Python Lore.

Read More
Defining Models and Tables in SQLAlchemy ORM
Posted inCoding Tips

Defining Models and Tables in SQLAlchemy ORM

June 30, 2025

SQLAlchemy models define database structure and relationships. Learn to declare models, set defaults, and enforce data integrity for efficient application development.

The post Defining Models and Tables in SQLAlchemy ORM appeared first on Python Lore.

Read More
Best Practices for SQLite3 Database Management in Python
Posted inCoding Tips

Best Practices for SQLite3 Database Management in Python

June 28, 2025

SQLite3 database management in Python: connection and cursor handling, context managers, transactions, and efficient resource management tips for optimal performance.

The post Best Practices for SQLite3 Database Management in Python appeared first on Python Lore.

Read More
Understanding Write Concerns in MongoDB with Pymongo
Posted inCoding Tips

Understanding Write Concerns in MongoDB with Pymongo

June 25, 2025

MongoDB write concerns define acknowledgment levels for write operations, impacting data durability and application reliability. Understand configurations like w: 1, majority, and journal settings.

The post Understanding Write Concerns in MongoDB with Pymongo appeared first on Python Lore.

Read More
Working with asyncio Tasks for Concurrent Execution
Posted inCoding Tips

Working with asyncio Tasks for Concurrent Execution

June 23, 2025

Optimize Python concurrency with asyncio tasks using async/await syntax. Understand task creation, management, cancellation, and executing multiple tasks efficiently.

The post Working with asyncio Tasks for Concurrent Execution appeared first on Python Lore.

Read More
Working with Sparse Matrices using scipy.sparse
Posted inCoding Tips

Working with Sparse Matrices using scipy.sparse

June 21, 2025

Sparse matrices are essential in scientific computing for efficient data handling in machine learning, graph theory, and NLP. Key formats include CSR, CSC, and COO.

The post Working with Sparse Matrices using scipy.sparse appeared first on Python Lore.

Read More

Posts pagination

Previous page 1 2 3 4 … 25 Next page
Post You Might Like
How to create a socket using socket.socket in Python
Posted inPython
How to create a socket using socket.socket in Python
How to debounce high-frequency events in JavaScript
Posted inJavaScript
How to debounce high-frequency events in JavaScript
Python Coding Kit
Posted inBooks
Python Coding Kit
How to understand and use the asyncio event loop in Python
Posted inPython
How to understand and use the asyncio event loop in Python
Copyright (c) 2023-2025 | Coder's Jungle. All rights reserved.
Scroll to Top
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.