Skip to content

sensorial-systems/python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[WIP] Proper Python Embedding in Rust

This is part of strategy to bring Python packages into Python. The ultimate goal is to make any Python library available in Rust through Cargo.toml

[package]
name = "diffusers"
version = "0.26"

[dependencies]
python = "3.10" # This is the embedding

[build-dependencies]
pip = "24" # To download and setup the pip packages in [package.metadata.pip]

[package.metadata.pip]
diffusers = "0.26"

so anyone could use the wrapper Rust crate with a simple

[dependencies]
diffusers = "0.26"

without worrying about its runtime. In fact, the runtime would be entirely replaced with a Rust implementation and the user wouldn't know.

Try the example

git clone https://github.com/sensorial-systems/python
cd python
cargo install --path cargo-python
cargo python run -p example
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy