This release is a pre-release and may not be stable for production use.
gitlab-search
Command line tool for searching for text terms across several GitLab(TM) projects
Contents
Description
This tool let's you perform a full text search across your personal projects, your group projects and/or public projects of any user on GitLab (TM).
GITLAB is a trademark of GitLab Inc. in the United States and other countries and regions
Note: This is not an official tool from GitLab and the author has no affiliation with GitLab Inc.
Features
- Search for occurrences of a text term across all files of all projects known to a user
- Matches are given with exact location and link to file on GitLab
- Search personal projects and group projects
- Search public projects of other users
- Limit search to personal projects or groups
- Exclude specific projects from search
- Limit search to files with specific extensions
- Search for several terms in the same run
- Works with custom gitlab domain
Installation
You can install this tool from PyPI with the following command:
pip install gitlab-search
Usage
To use this tool you need a private API token, which you can create on the GitHub profile page.
To run a search over all your projects for the term kalkoken you can enter:
github-search kalkoken
Note: The tool will search all personal projects and known group projects by default. You can change the scope of what projects are searches through command line arguments.
When you start the command for the first time it will run setup, e.g. to configure your token. The configuration will be saved and re-used the next time you use the command. If you want to update your configuration your can setup again any time list this:
github-search --setup
Hint: gitlab-search will store the configuration in the home directory of the current user in the file
.gitlabsearch.
You can get a full overview of the command syntax with:
github-search -h
Metadata
Release files for gitlab-search 0.1.0a4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gitlab_search-0.1.0a4.tar.gz | 6.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gitlab_search-0.1.0a4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.0 kB
Release files / gitlab_search-0.1.0a4.tar.gz
| Download URL | gitlab_search-0.1.0a4.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9aaa7a9b88f9f96da2755230f17cf1ac0e62a394cca254182afcc38e5ffcadf
|
|
BLAKE2b-256 checksum How to use checksums |
4c32e743a379a40d439b02ca759d2f9858942af29d089bb63fb542f04af8d39c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / gitlab_search-0.1.0a4-py3-none-any.whl
| Download URL | gitlab_search-0.1.0a4-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b624bfc3f328a4dd4182b5e42456c9258d8a8d11b1c0b5f0fc3557e1fd4b24f5
|
|
BLAKE2b-256 checksum How to use checksums |
d0e60a956a2fa4c6a08a8b68564b921102fbcfbff035a02b48cac3f04e5a4dd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|