New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

popari

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

popari

Popari: a probabilistic graphical model for integrated spatial transcriptomics analysis

  • 1.3.4
  • PyPI
  • Socket score

Maintainers
1

Popari

Popari is a versatile framework for joint analysis and investigation of complex spatial transcriptomics datasets. Read the documentation (including installation instructions) here.

:warning: Popari is still under active development. Check back in a bit for a more complete user experience!

Dev instructions

For development, create a fresh Python environment; this should not contain the PyPI-published version of the package.

PyPI publishing

pip install hatch
pip install keyrings.alt

hatch build
hatch publish -r https://upload.pypi.org/legacy/

Username: __token__ Password: {API token for PyPI}

Running pytest tests

To run the provided tests and ensure that Popari can run on your platform, follow the instructions below:

  • Install pytest in your environment.
pip install pytest
  • Navigate to the root directory of this repo, and run all tests with
python -m pytest -s
  • Alternatively, run a single test suite as below:
python -m pytest -s tests/test_popari_shared.py
  • To run tests in parallel, try
python -m pytest -n 4 --dist=loadfile

Building Documentation

Assuming you have CMake:

  1. Navigate to docs/.
cd docs/
  1. Install Sphinx requirements.
pip install -r requirements.txt
  1. Clean and build.
make clean
make html
  1. Push to GitHub, and documentation will automatically build.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc