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.0a1.tar.gz (3.8 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.0a1-py2.py3-none-any.whl (8.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: imcf_fiji_mocks-0.4.0a1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for imcf_fiji_mocks-0.4.0a1.tar.gz
Algorithm Hash digest
SHA256 ec7722c79e0895b00a02b79868b2e32eaa6d15acdd5f945049ac028a469076e7
MD5 c0e33dd9b1600d2b611244c643076a23
BLAKE2b-256 b550f43bf6b758ee7724abfdd9b4b8045fc2b5a3527dc07f5a550f5779a5f0b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for imcf_fiji_mocks-0.4.0a1.tar.gz:

Publisher: release.yml on imcf/imcf-fiji-mocks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for imcf_fiji_mocks-0.4.0a1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b1357caf9f07c62c423f1b4c33901d852790be7c9d02b403bb09dfbae3ffda00
MD5 fac9f5361adcc5f23681e1cbcc5ea440
BLAKE2b-256 87092041c1767bc412b3b352c33c3ea503b270c85adb100c0739a571b1d34ead

See more details on using hashes here.

Provenance

The following attestation bundles were made for imcf_fiji_mocks-0.4.0a1-py2.py3-none-any.whl:

Publisher: release.yml on imcf/imcf-fiji-mocks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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