Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hotchemi/mvns
CLI tool to search library in maven central repository
https://github.com/hotchemi/mvns
Last synced: 2 months ago
JSON representation
CLI tool to search library in maven central repository
- Host: GitHub
- URL: https://github.com/hotchemi/mvns
- Owner: hotchemi
- License: apache-2.0
- Created: 2014-09-14T06:29:43.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-10-22T23:59:30.000Z (about 5 years ago)
- Last Synced: 2024-10-14T12:43:25.423Z (3 months ago)
- Language: Python
- Homepage: http://hotchemi.github.io/mvns/
- Size: 465 KB
- Stars: 20
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
mvns [![PyPI version](https://badge.fury.io/py/mvns.svg)](http://badge.fury.io/py/mvns)
====CLI tool to search library in maven central repository.
Install
-------Use `pip` or `easy_install`.
```sh
pip install mvns
```or
```sh
easy_install mvns
```Usage
-----### Search by query
```sh
> mvns picasso
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.squareup.picasso:picasso-parent:2.5.2'
compile 'it.sephiroth.android.library.picasso:picasso-sample:2.1.6'
compile 'com.squareup.picasso:picasso-sample:2.5.2'
compile 'com.squareup.picasso:picasso-pollexor:2.5.2'
compile 'com.twotoasters.servos:util-picasso:1.0.0'
compile 'com.marvinlabs:android-slideshow-widget-picasso-plugin:0.5.0'
```### Search by groupId and so on
- `-g` Specify groupId.
- `-a` Specify artifactId.
- `-v` Specify version.```sh
mvns -g com.squareup.picasso -a picasso -v 2.5.2
compile 'com.squareup.picasso:picasso-parent:2.5.2'
```### Select all version
- `-A` Show all version.
```sh
mvns -g com.squareup.picasso -a picasso -A
compile 'com.squareup.picasso:picasso:2.3.4'
compile 'com.squareup.picasso:picasso:2.3.3'
compile 'com.squareup.picasso:picasso:2.3.2'
compile 'com.squareup.picasso:picasso:2.3.1'
compile 'com.squareup.picasso:picasso:2.3.0'
```### Limit number of result.
- `-m` Limit number of result. default is 20.
```sh
mvns picasso -m 1
compile 'com.squareup.picasso:picasso:2.3.4'
```Support
-------Supports Python 2.7 and 3.4.
Contribute
----------1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull RequestChangeLog
---------- 2015/07/05 0.1.3 release.
- 2015/05/11 0.1.2 release.
- 2014/09/20 0.1.1 release.
- 2014/09/14 0.1.0 release.Licence
-------```
Copyright 2015 Shintaro KatafuchiLicensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```