Best of PythonJune 2024

  1. 1
    Video
    Avatar of TechWithTimTech With Tim·2y

    10 Python Functions You NEED To Master

    Learn about 10 important Python functions that can save you time and improve your code. Explore how to modify the behavior of the print function, use the help function to access documentation, generate sequences of numbers with the range function, apply functions to iterable objects using the map function, filter iterable objects based on a certain condition with the filter function, get the sum of numbers using the sum function, sort iterable objects using the sorted function, loop through iterable objects with both index and value using the enumerate function, combine iterable objects using the zip function, and read from and write to files using the open function.

  2. 2
    Article
    Avatar of kdnuggetsKDnuggets·2y

    LLM Portfolio Projects Ideas to Wow Employers

    Discover diverse AI project ideas that can be built using Python and various open-source tools like LangChain, FastAPI, OpenAI API, and Hugging Face. From fine-tuning Llama 3 and creating Q&A retrieval systems to building YouTube summarizers and vacation planning assistants, these projects are designed to enhance your portfolio and impress potential employers. Each project comes with guides or sample links to aid in development, making AI more accessible even to those with fundamental Python skills.

  3. 3
    Article
    Avatar of planetpythonPlanet Python·2y

    Python's many command-line utilities

    Discover Python modules that can be run as command-line tools and learn how to use the webbrowser module from the command-line.

  4. 4
    Article
    Avatar of hnHacker News·2y

    google/mesop

    Mesop is a Python-based UI framework that allows you to rapidly build web apps like demos and internal apps. It is intuitive for UI novices, provides frictionless developer workflows, and is flexible for delightful demos.

  5. 5
    Article
    Avatar of devblogsDevBlogs·2y

    Python in Visual Studio Code

    Announcement of the June 2024 release of Python and Jupyter extensions for Visual Studio Code, which includes improvements in the Native REPL for Python and pytest in the testing rewrite.

  6. 6
    Article
    Avatar of devtoDEV·2y

    Why Docs-as-Code is the Key to Better Software Documentation

    Learn about the Docs-as-Code approach, which involves writing and publishing documentation using the same tools and processes as developers. Collaboration, integration with existing infrastructures, and continuous delivery are some of the benefits. The approach has a learning curve and requires cultural shifts, but if implemented correctly, it can result in up-to-date and accurately documented content for software users.

  7. 7
    Article
    Avatar of medium_jsMedium·2y

    Roadmap to Learn Data Engineering: How I Would Start Again

    A roadmap for learning data engineering, covering Python, SQL, command line, data warehouse, data modeling, data storage, data processing, data transformation, data orchestration, advanced topics, and staying updated.

  8. 8
    Article
    Avatar of dailydoseofdsDaily Dose of Data Science | Avi Chawla | Substack·2y

    20 Most Common Magic Methods

    Discover the 20 most common magic methods used in Python OOP, including __new__, __init__, and __str__. Learn how to use these methods and their importance in Python projects.

  9. 9
    Article
    Avatar of communityCommunity Picks·2y

    6 python libraries to make beautiful maps

    This post introduces 6 Python libraries for making informative and stylish maps. The libraries mentioned include Cartopy, Folium, Plotly, ipyleaflet, geemap, and ridgemap. They offer various features and capabilities for static and interactive map visualizations.

  10. 10
    Article
    Avatar of communityCommunity Picks·2y

    How Instagram Scaled to 2.5 Billion Users

    Learn how Instagram scaled its infrastructure to handle 2.5 billion users. Discover the problems faced during hypergrowth and the technologies used to handle scalability.

  11. 11
    Article
    Avatar of medium_jsMedium·2y

    Building an AI Text-to-Video Model from Scratch Using Python

    This post discusses building an AI text-to-video model from scratch using Python. It covers the GAN architecture, understanding GANs, the training process, and generating AI videos based on text prompts.

  12. 12
    Video
    Avatar of TechWithTimTech With Tim·2y

    10 Useful Python Modules You NEED to Know

    Discover essential Python modules including request for HTTP requests, Flask for lightweight web development, pydantic for data validation, FastAPI for creating fast APIs, and Django for professional web applications. Automate tasks with selenium, perform mathematical operations with numpy, manipulate data with pandas, and visualize data with matplotlib. Additionally, delve into TensorFlow for deep learning and LangChain for advanced AI applications.

  13. 13
    Article
    Avatar of hnHacker News·2y

    Python-based ETL

    Amphi is a Python-based ETL tool designed for efficient data extraction, transformation, and loading with a low-code approach. It features a graphical user interface for designing data pipelines, generating deployable native Python code, and supporting various data formats like CSV and JSON. Amphi ensures flexibility, ease of sharing pipeline definitions, and guarantees data privacy as processing is done locally. The platform is aimed at fostering community collaboration among data practitioners of all levels.

  14. 14
    Article
    Avatar of mlmMachine Learning Mastery·2y

    The Ultimate Beginner’s Guide to Docker

    Docker is crucial for addressing compatibility issues in a diverse technological landscape by containerizing applications and ensuring consistent performance across different environments. A Dockerfile defines steps to create a Docker image, which serves as a template to run containers. Docker images are built and containers are run using specific terminal commands, allowing applications to execute with consistent dependencies regardless of the host system.

  15. 15
    Article
    Avatar of medium_jsMedium·2y

    Did Google Just Kill Streamlit?

    Google's new open-source Python framework, Mesop, aims to facilitate rapid prototyping and internal tooling, similar to Streamlit. Mesop is still in its early stages and is not officially supported by Google. It offers features like idiomatic Python coding, hot-reloading, and component-based architecture built on Angular. Unlike Streamlit, deploying a Mesop application requires containerization. Streamlit remains robust, especially for data visualization projects, but Mesop shows promise for quick, customizable prototypes.

  16. 16
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    Learn Python for Data Science – Hands-on Projects with EDA, AB Testing & Business Intelligence

    A comprehensive Python data science course covering data analytics, AB testing, and end-to-end case studies with hands-on projects.

  17. 17
    Video
    Avatar of TechWithTimTech With Tim·2y

    6 HIDDEN Features of Python Functions (ADVANCED)

    Learn about hidden features of Python functions, including star args and star star quarks. Explore closures and decorators, and discover how to use function annotations for better code readability.

  18. 18
    Article
    Avatar of kdnuggetsKDnuggets·2y

    A Simple to Implement End-to-End Project with HuggingFace

    Create an end-to-end project using a pre-trained Hugging Face model for sentiment analysis. This guide details how to deploy the model with FastAPI, build an API endpoint, and use Docker to containerize the application for easy deployment.

  19. 19
    Video
    Avatar of fireshipFireship·2y

    JAX in 100 Seconds

    Jax is an accelerated linear algebra library that allows for high-performance array computing and automatic differentiation. It enforces constraints like immutable arrays and pure functions. Jax can run on accelerated hardware like GPUs and TPUs.

  20. 20
    Article
    Avatar of hnHacker News·2y

    piku/piku: The tiniest PaaS you've ever seen. Piku allows you to do git push deployments to your own servers.

    piku is a micro-PaaS that allows you to do git push deployments to your own servers. It supports multiple languages and can run on low-end devices.

  21. 21
    Article
    Avatar of kdnuggetsKDnuggets·2y

    5 Free Artificial Intelligence Courses from Top Universities

    Explore five free AI courses from top universities like Harvard, MIT, Stanford, and Duke to build your AI foundation. Topics include machine learning, generative AI, healthcare applications, search algorithms, and more, all available on platforms like Coursera and MIT OpenCourseWare.

  22. 22
    Video
    Avatar of TechWithTimTech With Tim·2y

    Master Python Lambda Functions in 8 Minutes

    Learn about Python lambda functions, which are anonymous one-line functions useful for scenarios where a function is used temporarily, such as with map, filter, and reduce functions. The post covers defining lambdas, using them in common functional programming contexts, and examples demonstrating their various uses.

  23. 23
    Video
    Avatar of TechWithTimTech With Tim·2y

    Build a Full RAG Based AI App Including Deployment In Under 20 Minutes

    Learn how to build a full RAG-based AI app using Vex, a platform that allows you to quickly build and deploy applications. The app demonstrated in the post is a travel assistant that provides personalized recommendations based on travel plans and preferences.

  24. 24
    Article
    Avatar of infoworldInfoWorld·2y

    4 keys to writing modern Python

    To write modern Python in 2024, it's essential to understand type hinting, virtual environments, new syntax, and effective testing. Type hinting improves code quality and readability. For project and dependency management, tools like Pyenv, Pipenv, Poetry, PDM, Hatch, and uv offer various functionalities. Recent Python features include the walrus operator, positional-only parameters, and structural pattern matching, enhancing code efficiency and flexibility. For testing, Pytest is recommended over the built-in unittest for its flexibility and add-ons, complemented by code coverage tools like Coverage.

  25. 25
    Article
    Avatar of hnHacker News·2y

    A highly customizable changelog generator ⛰️

    git-cliff offers a highly customizable changelog generator by using regex-powered parsers and a configuration file to match desired formats. It supports generating changelog files for Git repositories following the conventional commits specification. Additionally, git-cliff can be integrated with Rust, Python, and Node.js projects both as a command-line tool and as a library for Rust projects.