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
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
Flask-Caching for Application Performance Optimization
Posted inCoding Tips

Flask-Caching for Application Performance Optimization

June 19, 2025

Flask-Caching enhances Flask app performance with caching, using Redis or Memcached backends. Optimize response times and resource consumption effectively.

The post Flask-Caching for Application Performance Optimization appeared first on Python Lore.

Read More

Posts pagination

1 2 3 … 24 Next page
Post You Might Like
Customizing Scoring and Evaluation Metrics in scikit-learn
Posted inCoding Tips
Customizing Scoring and Evaluation Metrics in scikit-learn
Choosing Your First Programming Language: Everything You Need to Know Before You Start Coding
Posted inBooks
Choosing Your First Programming Language: Everything You Need to Know Before You Start Coding
Understanding Blocking and Non-blocking Socket Operations
Posted inCoding Tips
Understanding Blocking and Non-blocking Socket Operations
Customizing Matplotlib with Style Sheets
Posted inCoding Tips
Customizing Matplotlib with Style Sheets
Copyright (c) 2023-2025 | Coder's Jungle. All rights reserved.
Scroll to Top