GithubHelp home page GithubHelp logo

twixes / pypi-assistant Goto Github PK

View Code? Open in Web Editor NEW
27.0 3.0 4.0 719 KB

๐Ÿ” PyPI package information at a glance for Python dependencies โ€“ a VS Code extension

Home Page: https://marketplace.visualstudio.com/items?itemName=twixes.pypi-assistant

License: MIT License

TypeScript 98.96% Shell 0.31% JavaScript 0.73%

pypi-assistant's Introduction

Handy hover tooltips + CodeLens for dependencies from PyPI โ€“ similar to what VS Code has built in for dependencies in package.json.

Gain access to: package name, description, author(s), license, and latest version at a glance, with links in case you need more details.

Extension preview

Supported formats:

This extension depends on Microsoft's official Python extension for pip requirements language detection.

pypi-assistant's People

Contributors

a-was avatar alex-way avatar dependabot[bot] avatar elliotwutingfeng avatar twixes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pypi-assistant's Issues

Tooltip not shown if the line contains a comment

At least I believe this is what's happening. For example, a tooltip is shown for every package in my requirements file except this one:

ipython==7.12.0  # Necessary for shell_plus access in review app and production environments

Thanks for this extension by the way; it's pretty handy!

Carve new release

Hey Twixes,

Could you carve a new release when you get a chance ๐Ÿ˜„ I'd love to see the new features out in the wild!

Thanks, Alex.

Remove "!!MISSING: command!!" output in front of include-lines

I have a requirements-test.txt file that includes another requirements file to pull in regular requirements which lead so this visual:
!!MISSING: command!!
-r requirements.txt # Pull in regular requirements

The extension reports "!!MISSING: command!!" above the "include-line" for pulling in regular requirements.

I would suggest not showing "!!MISSING: command!!" in this case. Just a blank line would be fine1

Support multiple requirement.txt files with different names

It would be great if your extension could support requirement.txt files with different names.

As an example I have two files in my repo to support a target embedded system and the host development system.

pip_requirements_target.txt
pip_requirements_dev.txt

I vscode setting to specify a list of valid requirement file names (regex/glob) would be nice :)

setting = [ "*requirements*.txt", "my_stupid_req_file_name.txt" ]

Maybe [ "*requirements*.txt" ] could be the default?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.