Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate CLI tool from module #2

Open
rndusr opened this issue Apr 13, 2020 · 2 comments
Open

Separate CLI tool from module #2

rndusr opened this issue Apr 13, 2020 · 2 comments

Comments

@rndusr
Copy link

rndusr commented Apr 13, 2020

I'm the author of torf, a module for dealing with torrent files and magnet URIs.

I'd like to add the ability to create torrent files from magnet URIs. I've been looking for something that makes this as straight-forward as possible and magnet2torrent seems to be the best solution by far. It's also the only one that looks active.

What really bugs me, though, is that it comes with a CLI tool. I don't want to pull in unnecessary executables with my dependencies, especially if I'm developing a module for developers, not for users.

So my question is if you would consider splitting magent2torrent into two separate projects, one for developers and one for users?

I could give it a try if you want. It looks like all the CLI stuff is in main.py so it should be easy enough.

@JohnDoee
Copy link
Owner

I'm using it as a library myself which is why it's all in main. The stuff in main is basically usage of its own library.

I do understand not wanting the magnet2torrent command installed but I am unable to find any projects that actually splits this up in any way so you can skip the cli. Something like magnet2torrent[nocli] might be possible though.

@rndusr
Copy link
Author

rndusr commented Apr 18, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants