Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

I would like to use yt-dlp directly in Rust. Is there a way to use it with RustPython?

You must be logged in to vote

Replies: 2 comments

Comment options

If you always have system installed python, pyo3 project is probably the one you are looking for.

If you are going to create a rust create without a CPython dependency, you can try it with RustPython.

Here is a crate I entirely bundled a python package using RustPython. It will be an example crate for your work.
https://github.com/youknowone/aheui-rust/blob/main/rpaheui/src/lib.rs

Disclaimer: I don't guarantee yt-dlp is RustPython compatible.

You must be logged in to vote
0 replies
Comment options

Any update on this?

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.