Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/balzss/yip
Frontend for searching PyPI, a feature rich alternative to pip search
https://github.com/balzss/yip
Last synced: 16 days ago
JSON representation
Frontend for searching PyPI, a feature rich alternative to pip search
- Host: GitHub
- URL: https://github.com/balzss/yip
- Owner: balzss
- License: gpl-3.0
- Created: 2016-10-06T16:39:14.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-23T14:59:13.000Z (about 6 years ago)
- Last Synced: 2024-09-23T07:16:00.978Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 58.6 KB
- Stars: 90
- Watchers: 11
- Forks: 5
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## Intro
If you have ever tried to search PyPI via pip you know how difficult it can be.
Yip is an attempt to resolve that frustration and create a beautiful and feature
rich alternative.
[Here is an article](https://medium.com/@balazs.saros/improving-and-extending-the-search-functionality-of-pythons-pip-50d01a4a344f#.7101f82ei) I wrote about yip on medium.com## Features
- **configurable**: every option can be set either explicitly or in a config file
- **looks better**: with saner result formatting and coloring (which you can turn off)
- **supports regex**: one of the caveat of pip search is the lack of regex support
- **more info**: apart from the description it can show you the package size, date of last upload, homepage url or package license
- **limits results**: want only the 10 most relevant result? No problem!## Usage example
Normal search:
```
yip
```
Normal search with size and license information:
```
yip --size --license
```
Regex search with the homepage of the package:
```
yip --regex --homepage
```
Normal search with the 10 most relevant results:
```
yip --limit 10
```## List of flags
```
-h, --help
```
shows information on usage and available flags
```
-d, --date
```
shows the upload date of the latest version
```
-s, --size
```
shows the size in a human readable format
```
-L, --license
```
shows the license of the package
```
-H, --homepage
```
shows the homepage (if has any) of the package
```
-l , --limit
```
limits to the most relevant result
```
-r, --regex
```
allows you to use regex in your search query
*important:* if you use this flag, it will only search in the title, and not in
the summary or in the keyword and you cannot combine it with the -limit flag## See it in action
*IMPORTANT:* This gif is using the outdated flags which won't work anymore. I
will update it as soon as I can. The usage example/flaglist however updated and
should be used as a reference.
![yip in action](http://i.imgur.com/s56ssMx.gif)## Config file usage
If you want to make some flags default, automatically sudo install or turn
off the colors you can use a config file for that. You have to create a .yiprc
file in your home directory and paste the example config from this repo. It is
heavily commented and lists all the options you can set. You have to include all
the options or it won't work!## Requirements
- *OS-wise:* Developed and tested on Linux however it should work on OSX
- *software-wise:* Python 3, pip and requests(will switch to xmlrpc, this is
only temporary)## Other
- Licensed under the GPL3
- Suggestions and pull requests are very welcome! See GitHub's project page for
TODO-s if you want to contribute. :)
- If you encounter any bug or have any questions you can post it here or send an e-mail to [email protected]