# perceval-public-inbox
Perceval backend for public-inbox repositories.
## Backends
The backend currently managed by this package support the next repository:
* public-inbox
## Requirements
* Python >= 3.9
You will also need some other libraries for running the tool, you can find the
whole list of dependencies in [pyproject.toml](pyproject.toml) file.
## Installation
There are several ways to install perceval-public-inbox on your system: packages or source
code using Poetry or pip.
### PyPI
perceval-public-inbox can be installed using pip, a tool for installing Python packages.
To do it, run the next command:
```
$ pip install perceval-public-inbox
```
### Source code
To install from the source code you will need to clone the repository first:
```
$ git clone https://github.com/bitergia-analytics/grimoirelab-perceval-public-inbox
$ cd grimoirelab-perceval-public-inbox
```
Then use pip or Poetry to install the package along with its dependencies.
#### Pip
To install the package from local directory run the following command:
```
$ pip install .
```
In case you are a developer, you should install perceval-public-inbox in editable mode:
```
$ pip install -e .
```
#### Poetry
We use [poetry](https://python-poetry.org/) for dependency management and
packaging. You can install it following its [documentation](https://python-poetry.org/docs/#installation).
Once you have installed it, you can install perceval-public-inbox and the dependencies in
a project isolated environment using:
```
$ poetry install
```
To spaw a new shell within the virtual environment use:
```
$ poetry shell
```
## Example
### Public Inbox
Download the mirror repositories from any public-inbox archive. For example, for
the case of the Linux Kernel there are [14 repositories](https://lore.kernel.org/lkml/_/text/mirror/).
You can group all the repositories into a single repository using the [git
alternates mechanism](https://git-scm.com/docs/gitrepository-layout#Documentation/gitrepository-layout.txt-objects).
Finally, run perceval with the mailing-list URL and the directory with the
repository. For example:
```
$ perceval public_inbox https://lore.kernel.org/lkml/ /tmp/lkml.git
```
## License
Licensed under GNU General Public License (GPL), version 3 or later.
Raw data
{
"_id": null,
"home_page": "https://chaoss.github.io/grimoirelab/",
"name": "perceval-public-inbox",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": "development, grimoirelab",
"author": "GrimoireLab Developers",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/2d/37/f247a464dc8b6159a028884bb54ce35d61c12c86878d222296dcfe4aeba4/perceval_public_inbox-0.1.24.tar.gz",
"platform": null,
"description": "# perceval-public-inbox\n\nPerceval backend for public-inbox repositories.\n\n## Backends\n\nThe backend currently managed by this package support the next repository:\n\n* public-inbox\n\n## Requirements\n\n * Python >= 3.9\n\nYou will also need some other libraries for running the tool, you can find the\nwhole list of dependencies in [pyproject.toml](pyproject.toml) file.\n\n## Installation\n\nThere are several ways to install perceval-public-inbox on your system: packages or source \ncode using Poetry or pip.\n\n### PyPI\n\nperceval-public-inbox can be installed using pip, a tool for installing Python packages. \nTo do it, run the next command:\n```\n$ pip install perceval-public-inbox\n```\n\n### Source code\n\nTo install from the source code you will need to clone the repository first:\n```\n$ git clone https://github.com/bitergia-analytics/grimoirelab-perceval-public-inbox\n$ cd grimoirelab-perceval-public-inbox\n```\n\nThen use pip or Poetry to install the package along with its dependencies.\n\n#### Pip\nTo install the package from local directory run the following command:\n```\n$ pip install .\n```\nIn case you are a developer, you should install perceval-public-inbox in editable mode:\n```\n$ pip install -e .\n```\n\n#### Poetry\nWe use [poetry](https://python-poetry.org/) for dependency management and \npackaging. You can install it following its [documentation](https://python-poetry.org/docs/#installation).\nOnce you have installed it, you can install perceval-public-inbox and the dependencies in \na project isolated environment using:\n```\n$ poetry install\n```\nTo spaw a new shell within the virtual environment use:\n```\n$ poetry shell\n```\n\n## Example\n\n### Public Inbox\n\nDownload the mirror repositories from any public-inbox archive. For example, for\nthe case of the Linux Kernel there are [14 repositories](https://lore.kernel.org/lkml/_/text/mirror/).\nYou can group all the repositories into a single repository using the [git\nalternates mechanism](https://git-scm.com/docs/gitrepository-layout#Documentation/gitrepository-layout.txt-objects).\n\nFinally, run perceval with the mailing-list URL and the directory with the\nrepository. For example:\n```\n$ perceval public_inbox https://lore.kernel.org/lkml/ /tmp/lkml.git\n```\n\n## License\n\nLicensed under GNU General Public License (GPL), version 3 or later.\n",
"bugtrack_url": null,
"license": "GPL-3.0+",
"summary": "Perceval backend for public-inbox.",
"version": "0.1.24",
"project_urls": {
"Bug Tracker": "https://github.com/bitergia-analytics/grimoirelab-perceval-public-inbox/issues",
"Homepage": "https://chaoss.github.io/grimoirelab/",
"Repository": "https://github.com/bitergia-analytics/grimoirelab-perceval-public-inbox"
},
"split_keywords": [
"development",
" grimoirelab"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3b3ba3c6776162653df7bf00ddd2a2ea78731db68706ab94b04700a87ff05258",
"md5": "dff4ca15302206b439cbf47e5f4fc583",
"sha256": "bed579d09abed35fef86494a05bd490036417ee92c412b23d3caf4a142e7f8f3"
},
"downloads": -1,
"filename": "perceval_public_inbox-0.1.24-py3-none-any.whl",
"has_sig": false,
"md5_digest": "dff4ca15302206b439cbf47e5f4fc583",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 19109,
"upload_time": "2024-12-11T12:17:49",
"upload_time_iso_8601": "2024-12-11T12:17:49.379808Z",
"url": "https://files.pythonhosted.org/packages/3b/3b/a3c6776162653df7bf00ddd2a2ea78731db68706ab94b04700a87ff05258/perceval_public_inbox-0.1.24-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2d37f247a464dc8b6159a028884bb54ce35d61c12c86878d222296dcfe4aeba4",
"md5": "7f34cccff55f18376c2e1bb06406da34",
"sha256": "9228de057b73b24a8e1d0626c057d9716badc96e656a373966fa2d28a85ec2dc"
},
"downloads": -1,
"filename": "perceval_public_inbox-0.1.24.tar.gz",
"has_sig": false,
"md5_digest": "7f34cccff55f18376c2e1bb06406da34",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 118040,
"upload_time": "2024-12-11T12:17:50",
"upload_time_iso_8601": "2024-12-11T12:17:50.396562Z",
"url": "https://files.pythonhosted.org/packages/2d/37/f247a464dc8b6159a028884bb54ce35d61c12c86878d222296dcfe4aeba4/perceval_public_inbox-0.1.24.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-11 12:17:50",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "bitergia-analytics",
"github_project": "grimoirelab-perceval-public-inbox",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "perceval-public-inbox"
}