Skip to content

cemrehancavdar/pypi-package-managers-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyPI Package Managers Extension

Extension Example

Add instant install commands for uv, poetry, and pdm directly to PyPI package pages.

Inspiration: This extension is inspired by alt-pkg.

Why?

Why not.

Features

  • Adds a command block to PyPI package pages for quick copying of uv add, poetry add, or pdm add commands.
  • Remembers your preferred Python package manager.
  • Supports both Chrome and Firefox browsers.

Installation

Chrome

  1. Run the build script: uv run build.py google
  2. Go to chrome://extensions/ and enable Developer mode.
  3. Click "Load unpacked" and select the dist/google folder.

Firefox

  1. Run the build script: uv run build.py firefox
  2. Go to about:debugging#/runtime/this-firefox.
  3. Click "Load Temporary Add-on..." and select the dist/firefox/manifest.json file.

Usage

  • Visit any PyPI package page.
  • Use the new command block to copy install commands for your preferred tool.
  • Switch between uv, poetry, and pdm with a single click.

Development

  1. Clone this repository.
  2. Run uv run build.py to build both Chrome and Firefox versions.
  3. Load the extension as described above.

Contributing

Pull requests and issues are welcome! Please open an issue to discuss your idea or bug before submitting a PR.

Similar Extension

PyPI Command Replacer (Chrome)

License

MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors