# perceval-topicbox
Perceval backend for Topicbox.
## Backends
The backend currently managed by this package support the next repository:
* Topicbox
## 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-topicbox on your system: packages or source
code using Poetry or pip.
### PyPI
perceval-topicbox can be installed using pip, a tool for installing Python packages.
To do it, run the next command:
```
$ pip install perceval-topicbox
```
### 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-topicbox
$ cd grimoirelab-perceval-topicbox
```
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-topicbox 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-topicbox and the dependencies in
a project isolated environment using:
```
$ poetry install
```
To spaw a new shell within the virtual environment use:
```
$ poetry shell
```
## Example
### Topicbox
You need an `account_id` and a group URL to fetch the messages.
- To obtain the `account_id`, open Network tab in the browser Devtool and identify the `accountId` in any
`/jmap` request made by the browser.
Run perceval with the Topicbox group URL and the account id to fetch the messages. For example:
```
$ perceval topicbox "https://mytopicbox.topicbox.com/groups/example" --account-id <account_id>
```
It can be run from a specific date using the `--from-date` parameter.
## 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-topicbox",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": "development, grimoirelab",
"author": "Bitergia Developers",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/78/be/7189d568c3122f5ef9f26430c2f8f1b4fe863749a19dd46dbefa62510f7d/perceval_topicbox-0.1.15.tar.gz",
"platform": null,
"description": "# perceval-topicbox\n\nPerceval backend for Topicbox.\n\n## Backends\n\nThe backend currently managed by this package support the next repository:\n\n* Topicbox\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-topicbox on your system: packages or source \ncode using Poetry or pip.\n\n### PyPI\n\nperceval-topicbox can be installed using pip, a tool for installing Python packages. \nTo do it, run the next command:\n```\n$ pip install perceval-topicbox\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-topicbox\n$ cd grimoirelab-perceval-topicbox\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-topicbox 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-topicbox 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### Topicbox\n\nYou need an `account_id` and a group URL to fetch the messages.\n\n- To obtain the `account_id`, open Network tab in the browser Devtool and identify the `accountId` in any\n`/jmap` request made by the browser.\n\nRun perceval with the Topicbox group URL and the account id to fetch the messages. For example:\n\n```\n$ perceval topicbox \"https://mytopicbox.topicbox.com/groups/example\" --account-id <account_id>\n```\n\nIt can be run from a specific date using the `--from-date` parameter.\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 Topicbox",
"version": "0.1.15",
"project_urls": {
"Bug Tracker": "https://github.com/bitergia-analytics/grimoirelab-perceval-topicbox/issues",
"Homepage": "https://chaoss.github.io/grimoirelab/",
"Repository": "https://github.com/bitergia-analytics/grimoirelab-perceval-topicbox"
},
"split_keywords": [
"development",
" grimoirelab"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ccd0d700d0fa16dd0cc6922f59492f18af2c11c619eabea599086ce66b6dabae",
"md5": "019a896637bc22533ead4fc55b6eaddb",
"sha256": "f34907fa5a70b2b1308d221a789b6f0e64b4a06b64cc37a73f97c49f923165b4"
},
"downloads": -1,
"filename": "perceval_topicbox-0.1.15-py3-none-any.whl",
"has_sig": false,
"md5_digest": "019a896637bc22533ead4fc55b6eaddb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 18256,
"upload_time": "2024-12-11T12:18:07",
"upload_time_iso_8601": "2024-12-11T12:18:07.611266Z",
"url": "https://files.pythonhosted.org/packages/cc/d0/d700d0fa16dd0cc6922f59492f18af2c11c619eabea599086ce66b6dabae/perceval_topicbox-0.1.15-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "78be7189d568c3122f5ef9f26430c2f8f1b4fe863749a19dd46dbefa62510f7d",
"md5": "64f29d87549602d129030f67027b8cb4",
"sha256": "48027588e08097a2447c067c05393d01abd2099064852e46746b5bf04254ad4a"
},
"downloads": -1,
"filename": "perceval_topicbox-0.1.15.tar.gz",
"has_sig": false,
"md5_digest": "64f29d87549602d129030f67027b8cb4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 23376,
"upload_time": "2024-12-11T12:18:09",
"upload_time_iso_8601": "2024-12-11T12:18:09.341291Z",
"url": "https://files.pythonhosted.org/packages/78/be/7189d568c3122f5ef9f26430c2f8f1b4fe863749a19dd46dbefa62510f7d/perceval_topicbox-0.1.15.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-11 12:18:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "bitergia-analytics",
"github_project": "grimoirelab-perceval-topicbox",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "perceval-topicbox"
}