# HalApyJson
## Description
A light interface to query [HAL](https://api.archives-ouvertes.fr/docs) through its API.
## Installation
Run the following to install:
```python
pip install HalApyJson
```
## Usage example
```python
import HalApyJson as haj
year = "2023"
institute = "Liten"
hal_df = haj.build_hal_df_from_api(year,institute)
hal_df.to_excel(<your_fullpath_file.xlsx>, index = False)
```
**CLI exemple**
```python
cli_hal -y 2023 -i liten
```
**for more exemples refer to** [HalApyJson-exemples](https://github.com/Bertin-fap/HalApyJson/blob/main/Demo_HalApyJson.ipynb).
# Release History
- 1.0.0 first release
- 1.1.0 added CLI
- 1.1.1 removed prints
- 1.1.2 updated CLI
# Meta
- authors : BiblioAnalysis team
Distributed under the [MIT license](https://mit-license.org/)
Raw data
{
"_id": null,
"home_page": "https://github.com/Bertin-fap/HalApyJson",
"name": "HalApyJson",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "Metadata parsing, HAL request, API management",
"author": "BiblioAnalysis team",
"author_email": "francois.bertin7@wanadoo.fr, amal.chabli@orange.fr",
"download_url": "https://files.pythonhosted.org/packages/57/e3/b2eceb4c01c041faf9f2edc92e27bbfe4a13958a5dd029bd82d961613ad7/HalApyJson-1.1.2.tar.gz",
"platform": null,
"description": "# HalApyJson\r\n## Description\r\nA light interface to query [HAL](https://api.archives-ouvertes.fr/docs) through its API.\r\n\r\n## Installation\r\nRun the following to install:\r\n```python\r\npip install HalApyJson\r\n```\r\n\r\n## Usage example\r\n```python\r\nimport HalApyJson as haj\r\nyear = \"2023\"\r\ninstitute = \"Liten\"\r\nhal_df = haj.build_hal_df_from_api(year,institute)\r\nhal_df.to_excel(<your_fullpath_file.xlsx>, index = False)\r\n```\r\n**CLI exemple**\r\n```python\r\ncli_hal -y 2023 -i liten\r\n```\r\n**for more exemples refer to** [HalApyJson-exemples](https://github.com/Bertin-fap/HalApyJson/blob/main/Demo_HalApyJson.ipynb).\r\n\r\n\r\n# Release History\r\n- 1.0.0 first release\r\n- 1.1.0 added CLI\r\n- 1.1.1 removed prints\r\n- 1.1.2 updated CLI\r\n\r\n\r\n# Meta\r\n\t- authors : BiblioAnalysis team\r\n\r\nDistributed under the [MIT license](https://mit-license.org/)\r\n\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python modules for parsing the response to a HAL API request",
"version": "1.1.2",
"project_urls": {
"Homepage": "https://github.com/Bertin-fap/HalApyJson"
},
"split_keywords": [
"metadata parsing",
" hal request",
" api management"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0d4feacf20b6aeefb57f916e00b977acef0245572174a9581061efafddc210cc",
"md5": "7b88997d8f57f68f3a28d95406eeeca5",
"sha256": "1a84b730dcd7b2f9182ef07a7ea2afe2daed8c37db660e2589da5f910dec12ff"
},
"downloads": -1,
"filename": "HalApyJson-1.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7b88997d8f57f68f3a28d95406eeeca5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 9867,
"upload_time": "2024-10-06T15:43:42",
"upload_time_iso_8601": "2024-10-06T15:43:42.360758Z",
"url": "https://files.pythonhosted.org/packages/0d/4f/eacf20b6aeefb57f916e00b977acef0245572174a9581061efafddc210cc/HalApyJson-1.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "57e3b2eceb4c01c041faf9f2edc92e27bbfe4a13958a5dd029bd82d961613ad7",
"md5": "5965f884b2f2a0c4f20b8007aa6bd771",
"sha256": "93eaf28d6d73b8f8b0bac2c7e985caa1ed8e3ca195436e7ed4647ff62759d183"
},
"downloads": -1,
"filename": "HalApyJson-1.1.2.tar.gz",
"has_sig": false,
"md5_digest": "5965f884b2f2a0c4f20b8007aa6bd771",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 10242,
"upload_time": "2024-10-06T15:43:43",
"upload_time_iso_8601": "2024-10-06T15:43:43.917268Z",
"url": "https://files.pythonhosted.org/packages/57/e3/b2eceb4c01c041faf9f2edc92e27bbfe4a13958a5dd029bd82d961613ad7/HalApyJson-1.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-06 15:43:43",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Bertin-fap",
"github_project": "HalApyJson",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "openpyxl",
"specs": [
[
"==",
"3.1.2"
]
]
},
{
"name": "pandas",
"specs": [
[
"==",
"2.1.4"
]
]
},
{
"name": "requests",
"specs": [
[
"==",
"2.31.0"
]
]
}
],
"lcname": "halapyjson"
}