Name | imcf-fiji-mocks JSON |
Version |
0.3.0
JSON |
| download |
home_page | None |
Summary | Mocks collection for Fiji-Python. Zero functional code. |
upload_time | 2024-11-19 17:00:54 |
maintainer | None |
docs_url | None |
author | Niko Ehrenfeuchter |
requires_python | >=2.7 |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Python mocks 🧌 package for `Fiji` related code
Initially created for enabling [pdoc][2] to generate [IMCF Fiji Python packages
API docs][1]. Now also used to run [pytest][4] on e.g. the [python-imcflibs][5]
package.
The goal of this project is to provide mocks that can be used to build a fake
(thin) `pip install`able Python package that will allow tools like *pdoc* or
*pytest* to build up the AST (abstract syntax tree) by using the mocked objects
while performing the imports.
## 🚫 WARNING 🚫
This project and its packages do **not** contain any functional code that is
useful in situations other than the ones described above!
## Building artifacts
You'll need [poetry][3] installed locally, then using `fish` run:
```fish
rm -r dist/
poetry build -vv
```
## Using release artifacts from GitHub
To create a virtualenv you may use artifacts attached to a public release on
Github, for example using the `0.2.1` release:
```fish
set REL "0.2.1"
set URL_PFX "https://github.com/imcf/imcf-fiji-mocks/releases/download/v$REL"
pip install --upgrade \
$URL_PFX/imcf_fiji_mocks-$REL-py2.py3-none-any.whl \
$URL_PFX/micrometa-15.2.2-py2.py3-none-any.whl \
$URL_PFX/sjlogging-0.5.2-py2.py3-none-any.whl \
pdoc \
olefile \
pip
```
[1]: https://imcf.one/apidocs/
[2]: https://pdoc.dev
[3]: https://python-poetry.org
[4]: http://pytest.org/
[5]: https://github.com/imcf/python-imcflibs/
Raw data
{
"_id": null,
"home_page": null,
"name": "imcf-fiji-mocks",
"maintainer": null,
"docs_url": null,
"requires_python": ">=2.7",
"maintainer_email": null,
"keywords": null,
"author": "Niko Ehrenfeuchter",
"author_email": "nikolaus.ehrenfeuchter@unibas.ch",
"download_url": "https://files.pythonhosted.org/packages/90/1e/907f4426e6abb39e8e4e1244425dc1ec7587eb27b65cb2192102a9e18379/imcf_fiji_mocks-0.3.0.tar.gz",
"platform": null,
"description": "# Python mocks \ud83e\uddcc package for `Fiji` related code\n\nInitially created for enabling [pdoc][2] to generate [IMCF Fiji Python packages\nAPI docs][1]. Now also used to run [pytest][4] on e.g. the [python-imcflibs][5]\npackage.\n\nThe goal of this project is to provide mocks that can be used to build a fake\n(thin) `pip install`able Python package that will allow tools like *pdoc* or\n*pytest* to build up the AST (abstract syntax tree) by using the mocked objects\nwhile performing the imports.\n\n## \ud83d\udeab WARNING \ud83d\udeab\n\nThis project and its packages do **not** contain any functional code that is\nuseful in situations other than the ones described above!\n\n## Building artifacts\n\nYou'll need [poetry][3] installed locally, then using `fish` run:\n\n```fish\nrm -r dist/\npoetry build -vv\n```\n\n## Using release artifacts from GitHub\n\nTo create a virtualenv you may use artifacts attached to a public release on\nGithub, for example using the `0.2.1` release:\n\n```fish\nset REL \"0.2.1\"\nset URL_PFX \"https://github.com/imcf/imcf-fiji-mocks/releases/download/v$REL\"\n\npip install --upgrade \\\n $URL_PFX/imcf_fiji_mocks-$REL-py2.py3-none-any.whl \\\n $URL_PFX/micrometa-15.2.2-py2.py3-none-any.whl \\\n $URL_PFX/sjlogging-0.5.2-py2.py3-none-any.whl \\\n pdoc \\\n olefile \\\n pip\n```\n\n[1]: https://imcf.one/apidocs/\n[2]: https://pdoc.dev\n[3]: https://python-poetry.org\n[4]: http://pytest.org/\n[5]: https://github.com/imcf/python-imcflibs/\n",
"bugtrack_url": null,
"license": null,
"summary": "Mocks collection for Fiji-Python. Zero functional code.",
"version": "0.3.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "046bcaecd83fd369c65a2c461f201c2ede393b7bd0650bc0b634f0759df64030",
"md5": "42c10555fcbaad736ee1fd8346359518",
"sha256": "53c26891ee9b71cb0af047e0b95baf8997d244746bb997ab50f24a9062114fdb"
},
"downloads": -1,
"filename": "imcf_fiji_mocks-0.3.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "42c10555fcbaad736ee1fd8346359518",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=2.7",
"size": 8646,
"upload_time": "2024-11-19T17:00:53",
"upload_time_iso_8601": "2024-11-19T17:00:53.147381Z",
"url": "https://files.pythonhosted.org/packages/04/6b/caecd83fd369c65a2c461f201c2ede393b7bd0650bc0b634f0759df64030/imcf_fiji_mocks-0.3.0-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "901e907f4426e6abb39e8e4e1244425dc1ec7587eb27b65cb2192102a9e18379",
"md5": "ea313dfb7cc2f48602b090036a956eb7",
"sha256": "acd16358f6ca5a7ded6b7c7a29d7006b2d363ba430eb72981f99997fed40d5a8"
},
"downloads": -1,
"filename": "imcf_fiji_mocks-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "ea313dfb7cc2f48602b090036a956eb7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=2.7",
"size": 4827,
"upload_time": "2024-11-19T17:00:54",
"upload_time_iso_8601": "2024-11-19T17:00:54.415062Z",
"url": "https://files.pythonhosted.org/packages/90/1e/907f4426e6abb39e8e4e1244425dc1ec7587eb27b65cb2192102a9e18379/imcf_fiji_mocks-0.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-19 17:00:54",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "imcf-fiji-mocks"
}