# ecmwflibs
A Python package that wraps some of ECMWF libraries to be used by Python interfaces to ECMWF software.
The snippet of code below should return the path to the *ecCodes* shared library.
```python
import ecmwflibs
lib = ecmwflibs.find("eccodes")
```
You can get the versions of libraries:
```python
import ecmwflibs
print(ecmwflibs.versions())
{'eccodes': '2.19.0', 'magics': '4.4.3', 'ecmwflibs': '0.4.5'}
```
## Possible issues
If you get this message on Windows:
`DLL load failed while importing _ecmwflibs: The specified module could not be found.`
this means that the C++ runtime library is not installed. Please download and install `vc_redist.x86.exe` or `vc_redist.x64.exe`
from https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads.
## Acknowledgements
*ecmwflibs* comes packaged with some third-party open source libraries which are dependencies of *Magics* and *ecCodes*. To display the list of embedded libraries and their copyright notices and/or licenses, please type:
```bash
python3 -m ecmwflibs credits
```
Raw data
{
"_id": null,
"home_page": "https://github.com/ecmwf/ecmwflibs",
"name": "ecmwflibs",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "ECMWF",
"author_email": "software.support@ecmwf.int",
"download_url": "",
"platform": null,
"description": "# ecmwflibs\n\nA Python package that wraps some of ECMWF libraries to be used by Python interfaces to ECMWF software.\n\nThe snippet of code below should return the path to the *ecCodes* shared library.\n\n```python\nimport ecmwflibs\nlib = ecmwflibs.find(\"eccodes\")\n```\n\nYou can get the versions of libraries:\n\n```python\nimport ecmwflibs\nprint(ecmwflibs.versions())\n{'eccodes': '2.19.0', 'magics': '4.4.3', 'ecmwflibs': '0.4.5'}\n```\n\n## Possible issues\n\nIf you get this message on Windows:\n\n`DLL load failed while importing _ecmwflibs: The specified module could not be found.`\n\nthis means that the C++ runtime library is not installed. Please download and install `vc_redist.x86.exe` or `vc_redist.x64.exe`\nfrom https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads.\n\n## Acknowledgements\n\n*ecmwflibs* comes packaged with some third-party open source libraries which are dependencies of *Magics* and *ecCodes*. To display the list of embedded libraries and their copyright notices and/or licenses, please type:\n\n```bash\npython3 -m ecmwflibs credits\n```\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "Wraps ECMWF tools (experimental)",
"version": "0.6.3",
"project_urls": {
"Homepage": "https://github.com/ecmwf/ecmwflibs"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f45379b1cff0c8e2cb3783fcfdc229bf5839b35f84514730c6b8e59e7bcde4bb",
"md5": "aed486d029792e6daeae182e56da7362",
"sha256": "34df32f27c379423075d37d420872a6cf3f07a4ef56a84116f0280b1ba3e8fb4"
},
"downloads": -1,
"filename": "ecmwflibs-0.6.3-cp310-cp310-macosx_13_0_arm64.whl",
"has_sig": false,
"md5_digest": "aed486d029792e6daeae182e56da7362",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": null,
"size": 42850185,
"upload_time": "2024-03-06T22:08:18",
"upload_time_iso_8601": "2024-03-06T22:08:18.076783Z",
"url": "https://files.pythonhosted.org/packages/f4/53/79b1cff0c8e2cb3783fcfdc229bf5839b35f84514730c6b8e59e7bcde4bb/ecmwflibs-0.6.3-cp310-cp310-macosx_13_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "afa0d59eab9167b90c11f416a992b1258aa240e1761842ea548d300ca09f9fea",
"md5": "7298b8913137cd3c25d54ef5ae4229be",
"sha256": "258ce3b7c5a1e4381ba5aa9b4c1a6c4d3d8336ff7fb40a9b3509e4c42cf3bae8"
},
"downloads": -1,
"filename": "ecmwflibs-0.6.3-cp311-cp311-macosx_13_0_arm64.whl",
"has_sig": false,
"md5_digest": "7298b8913137cd3c25d54ef5ae4229be",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": null,
"size": 42850191,
"upload_time": "2024-03-06T22:09:17",
"upload_time_iso_8601": "2024-03-06T22:09:17.932651Z",
"url": "https://files.pythonhosted.org/packages/af/a0/d59eab9167b90c11f416a992b1258aa240e1761842ea548d300ca09f9fea/ecmwflibs-0.6.3-cp311-cp311-macosx_13_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "eb0131bb8755636ff4894a43ef2f55d75e6387bc89f38bd56a1febc5f9e878e6",
"md5": "3357cf405f2f6cfc761c170878fb9543",
"sha256": "e36a1316b3b2536a40edb4cee75e76b381999ee4199951a33fe4594a3d2f3994"
},
"downloads": -1,
"filename": "ecmwflibs-0.6.3-cp39-cp39-macosx_13_0_arm64.whl",
"has_sig": false,
"md5_digest": "3357cf405f2f6cfc761c170878fb9543",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": null,
"size": 42850179,
"upload_time": "2024-03-06T22:07:17",
"upload_time_iso_8601": "2024-03-06T22:07:17.539998Z",
"url": "https://files.pythonhosted.org/packages/eb/01/31bb8755636ff4894a43ef2f55d75e6387bc89f38bd56a1febc5f9e878e6/ecmwflibs-0.6.3-cp39-cp39-macosx_13_0_arm64.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-06 22:08:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ecmwf",
"github_project": "ecmwflibs",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "ecmwflibs"
}