# 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/e5/91/6f87bdf125cd452bac4151d31b3036b17fc60d7cc0189cb82eefe560cea0/perceval_public_inbox-0.1.25.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.25",
"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": "efe4bf651835f85bf1b2eeaef9e4ab34a4a5b761e98ed08abd0eac464a6060fb",
"md5": "67e5b4c3964693a05ccbb540f3cabebb",
"sha256": "6d4d665688b693541c82cc053a3daa03b5afed20a7b4bcc27059e2cd04231c42"
},
"downloads": -1,
"filename": "perceval_public_inbox-0.1.25-py3-none-any.whl",
"has_sig": false,
"md5_digest": "67e5b4c3964693a05ccbb540f3cabebb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 19109,
"upload_time": "2025-01-21T09:11:39",
"upload_time_iso_8601": "2025-01-21T09:11:39.501388Z",
"url": "https://files.pythonhosted.org/packages/ef/e4/bf651835f85bf1b2eeaef9e4ab34a4a5b761e98ed08abd0eac464a6060fb/perceval_public_inbox-0.1.25-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e5916f87bdf125cd452bac4151d31b3036b17fc60d7cc0189cb82eefe560cea0",
"md5": "677c72c6a282fa056fa5b791650bae43",
"sha256": "01e42c13d1f2c2438329db263b436f0cc8b6b25f71fad97c9f0fa2e9e6a59fa9"
},
"downloads": -1,
"filename": "perceval_public_inbox-0.1.25.tar.gz",
"has_sig": false,
"md5_digest": "677c72c6a282fa056fa5b791650bae43",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 118080,
"upload_time": "2025-01-21T09:11:40",
"upload_time_iso_8601": "2025-01-21T09:11:40.583252Z",
"url": "https://files.pythonhosted.org/packages/e5/91/6f87bdf125cd452bac4151d31b3036b17fc60d7cc0189cb82eefe560cea0/perceval_public_inbox-0.1.25.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-21 09:11:40",
"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"
}