Importing Python in Rust with pyo3

Subscribers:
17,700
Published on ● Video Link: https://www.youtube.com/watch?v=7Swu5X1HiNk



Rust
Game:
Rust (2013)
Duration: 5:54
74 views
3


A walkthrough demo of invoking Python code directly from a Rust application using the pyo3 bridge. We import Python's built-in sum function as well as the os module to showcase accessing the extensive Python standard library while staying within a Rust project.


Key topics include:
🐍 Preparing a Python interpreter
🐍 Leveraging Python libraries
🐍 Handling strings and errors
🐍 Makefiles for linting and formatting
🐍 Build commands
🐍 Importing Python seamlessly


Hands-On Courses for Rust, Data, Cloud, AI and LLMs πŸš€

πŸ“šRust Programming Specialization: https://insight.paiml.com/qwh
πŸ“šRust for DevOps: https://insight.paiml.com/x14
πŸ“šRust LLMOps: https://insight.paiml.com/g3b
πŸ“šRust Fundamentals: https://insight.paiml.com/qyt
πŸ“šData Engineering with Rust: https://insight.paiml.com/zm1
πŸ“šPython and Rust with Linux Command Line Tools: https://insight.paiml.com/jot




Other Videos By Pragmatic AI Labs


2024-02-01🀝 Build Production CLIs with Rust πŸ’ͺ and Python 🐍
2024-01-31πŸ“Š Choosing the Best Data Analytics and Visualization Tools on AWS
2024-01-30🀝 Mix Python and Rust for Production CLIs
2024-01-29Perfect Competition in AI - The Race to Zero Profits
2024-01-29🀝 Python, Rust, MLOps, and Ethics - A Balanced Perspective-PyCon-Dubai-2023
2024-01-29πŸ“Š Choosing the Best Data Analytics and Visualization Tools on AWS
2024-01-28🀝 Python, Rust, MLOps, and Ethics - A Balanced Perspective PyCon Dubai
2024-01-25🐍 Import Python in Rust - Leverage Existing Code
2024-01-24AWS Academy Machine Learning Module - Models, Data, Infrastructure
2024-01-24AWS Academy Machine Learning Module - Models, Data, Infrastructure
2024-01-23Importing Python in Rust with pyo3
2024-01-22Generative AI Race to the Bottom - Game Theory and Suboptimal Outcomes
2024-01-19Comparing Big Data Processing: Hadoop, Spark, EMR, and Hudi
2024-01-19Comparing Big Data Processing: Hadoop, Spark, EMR, and Hudi
2024-01-18Key Features of pyo3 for Seamless Rust Python Development
2024-01-17Securing Data Storage in Modern Architectures
2024-01-17Securing Data Storage in Modern Architectures
2024-01-16Building a Rust Python CLI with pyo3 and Python Fire
2024-01-15The Tragedy of the AI Commons - Ethical Dilemmas of Generative Models
2024-01-12Ingesting Data by Batch vs Streaming with AWS Services
2024-01-12Ingesting Data by Batch vs Streaming with AWS Services



Tags:
rust python
pyo3
import python
python standard library
python os module
rust python cli



Other Statistics

Rust Statistics For Pragmatic AI Labs

Pragmatic AI Labs currently has 9,346 views spread across 17 videos for Rust. There's close to 6 hours worth of content for Rust published on his channel, roughly 1.44% of the content that Pragmatic AI Labs has uploaded to YouTube.