Back to Browse

PyO3 101 - Writing Python modules in Rust [PyCon DE & PyData Berlin 2024]

1.1K views
Sep 29, 2024
1:20:59

🔊 Recorded at PyCon DE & PyData Berlin 2024, 23.04.2024 https://2024.pycon.de/program/8C83EA/ 🎓 Watch as Cheuk Ting Ho introduces PyO3 and guides you through writing a Python library in Rust, exploring the power and safety of Rust for Python development. Speakers: Cheuk Ting Ho Description: Cheuk Ting Ho, a board member and community manager at OpenSSF, presented a workshop titled "PyO3 101 - Writing Python modules in Rust." The session focused on the basics of using PyO3, a toolset that provides Rust bindings for Python to create native Python extension modules. Attendees learned how to set up the project environment and write a Python library in Rust using PyO3. The workshop included hands-on exercises covering the API specifications for creating Python functions, modules, error handling, and type conversion. Rust's popularity in recent years has grown due to its robust compiler checks and memory safety features, making it an attractive choice for building Python libraries. The goal of the workshop was to introduce developers to PyO3 and explore leveraging Rust's memory safety and parallelism capabilities when developing Python libraries. The target audience included developers interested in using Rust to develop Python libraries, with attendees not required to have prior Rust knowledge. The workshop outline included an introduction to Rust and PyO3, setting up the environment, starting a new project, creating Python modules, and functions with hands-on exercises. Attendees were encouraged to have Python 3.8 or above installed and use a virtual environment for the workshop. ⭐️ About PyCon DE & PyData Berlin: The PyCon DE & PyData conference unite the Python, AI, and data science communities, offering a unique platform for collaboration and innovation. The PyCon DE & PyData Berlin 2024 conference, hosted in partnership with the local Berlin PyData chapter, provided an exceptional experience, fostering deeper connections within the Python community while showcasing advancements in AI and data science. Attendees enjoyed a diverse and engaging program, solidifying the event as a highlight for Python and AI enthusiasts nationwide. Follow us: • LinkedIn: https://www.linkedin.com/company/28908640/ • X: https://www.x.com/pyconde • X: https://www.x.com/pydataberlin Links: • Conference website: http://pycon.de • Related sessions: http://2024.pycon.de/program/categories/pycon-programming-software-engineering The conference is organized by • Python Softwareverband e.V.: http://pysv.org • NumFOCUS Inc.: http://numfocus.org • Pioneers Hub gemeinnützige GmbH: http://pioneershub.org If you enjoyed this session, please like, comment, and subscribe to our channel for more insightful talks and discussions. Share this video with your network to spread the knowledge! Hashtags: #Python #PyConDE #PyData #OpenSource #AI #DataScience #MachineLearning #SoftwareDevelopment #LLMs #Community Acknowledgements: Special thanks to all the volunteers and sponsors who made this event possible. About: Python Softwareverband e.V.: PySV is a non-profit that promotes the use and development of Python in Germany through events, education, and advocacy, fostering an open Python community. NumFOCUS Inc. supports open-source scientific computing by providing financial and logistical support to key projects like NumPy and Jupyter, promoting sustainable development and collaboration. Pioneers Hub gemeinnützige GmbH: is a non-profit fostering innovation in AI and tech by connecting experts and promoting knowledge exchange through events and collaborative initiatives.

Download

0 formats

No download links available.

PyO3 101 - Writing Python modules in Rust [PyCon DE & PyData Berlin 2024] | NatokHD