question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Turn this into a package?

See original GitHub issue

Display is very cool, but having an alias/copying download.py to whatever directory you want to use it it in is fiddly, especially in big projects.

It would be easier if this was installed using setuptools, which would automatically install urllib3, and create the dw console script regardless of OS. (so no need to create the alias)

If it was installed into the global python packages, one could use it anywhere, by doing something like

pip3 install --user git+https://github.com/deepjyoti30/downloader-cli

and then importing it like any other package you’d install with pip.

If this seems like something you’d want to do, I can create a PR.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
deepjyoti30commented, Nov 14, 2019

@seanbreckenridge I’ll push the package soon.

0reactions
deepjyoti30commented, Nov 14, 2019

@seanbreckenridge Uploaded the package to PyPi. Closing this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Convert to Package and Module | PyCharm Documentation
To convert a Python module to a Python package · Import the package into the project files. Use code completion to discover it....
Read more >
How to Convert Your Python Project into a Package Installable ...
In this tutorial, I describe how to convert a simple Python project into a Package, available in the Python Package Index. The template...
Read more >
Turn Your Python Code Into a pip Package in Minutes
Publish Your Package to PyPI. PyPI is the Python Package Index. It is the repository for python packages that are installable via pip....
Read more >
Packaging Python Projects
Packaging Python Projects¶. This tutorial walks you through how to package a simple Python project. It will show you how to add the...
Read more >
Making a Python Package
A package usually corresponds to a directory with a file in it called __init__.py and ... The very basics of what you need...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found