Skip to main content

Mocks collection for Fiji-Python. Zero functional code.

Project description

Python mocks 🧌 package for Fiji related code

Initially created for enabling pdoc to generate IMCF Fiji Python packages API docs. Now also used to run pytest on e.g. the python-imcflibs package.

The goal of this project is to provide mocks that can be used to build a fake (thin) pip installable 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 installed locally, then using fish run:

rm -r dist/
poetry build -vv

Installing / Creating a venv

To create a virtualenv for e.g. running pdoc, you can now simply use the packages from PyPI:

python -m venv venv
venv/bin/pip install --upgrade \
    imcf-fiji-mocks \
    "imcflibs>=1.5.0a1" \
    python-micrometa \
    pdoc

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imcf_fiji_mocks-0.4.0a0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

imcf_fiji_mocks-0.4.0a0-py2.py3-none-any.whl (8.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file imcf_fiji_mocks-0.4.0a0.tar.gz.

File metadata

  • Download URL: imcf_fiji_mocks-0.4.0a0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/5.15.0-130-generic

File hashes

Hashes for imcf_fiji_mocks-0.4.0a0.tar.gz
Algorithm Hash digest
SHA256 58f3dd36ce9a6347c476805a159d9a89b111dfc12150fc451843a6d3f76fe89b
MD5 d6479a61e26ba1d4c6e45d84a20de3b5
BLAKE2b-256 8ae73cd94f0f4c3e3dc615ab60bff63d7e9b2b89a894b5d24837db614757a2ca

See more details on using hashes here.

File details

Details for the file imcf_fiji_mocks-0.4.0a0-py2.py3-none-any.whl.

File metadata

  • Download URL: imcf_fiji_mocks-0.4.0a0-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/5.15.0-130-generic

File hashes

Hashes for imcf_fiji_mocks-0.4.0a0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 03b41c7d08fe46e7423eb2422d9246881b1eaee43c571c5440961345513d3ac0
MD5 3d6de37bb75ea05291d739db995d6a15
BLAKE2b-256 59b818e7dad29fb319eb7eb5684d10dab700576a47cd8f0a85e800e05c4ae48b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page