Higlass-python

Latest version: v1.3.1

Safety actively analyzes 714860 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.3.1

What's Changed

* feat(widget): Batch tile requests within an animation frame by manzt in https://github.com/higlass/higlass-python/pull/181

**Full Changelog**: https://github.com/higlass/higlass-python/compare/v1.3.0...v1.3.1

1.3.0

**This release deliberately contains backwards-incompatible changes**. To avoid automatically picking up releases like this, you can pin the exact version of `higlass-python` in your `pyproject.toml` or `requirements.txt` file .

* Switch to Jupyter comms-based server (remove `hg.server`) by manzt in https://github.com/higlass/higlass-python/pull/145

HiGlass now uses Jupyter's built-in communication system to serve tilesets, removing the need for `hg.server`. Previously, `hg.server` ran a background HTTP server, but it caused issues on remote machines (e.g., authentication, port configuration).

This update removes `hg.server` and replaces it with a Jupyter comms-based approach, leveraging existing WebSocket connections. This makes HiGlass more robust across different environments and simplifies setup.

If HiGlass already works for you, nothing should change! If you previously used `hg.server.enable_proxy`, you can simple remove that line in your code:

diff
-- hg.server.enable_proxy()


This is a new feature, so please report any issues!

* Add `higlass.Tileset` for making custom tilesets by manzt in https://github.com/higlass/higlass-python/pull/172, https://github.com/higlass/higlass-python/pull/177

With the removal of `hg.server`, HiGlass now provides a simpler way to define custom tilesets.

Instead of `hg.server.add(tileset)`, you can now **subclass** `hg.Tileset`:

py
from dataclasses import dataclass

import higlass as hg
from clodius.tiles import cooler

dataclass
class MyCustomCoolerTileset(hg.Tileset):
path: str
datatype = "matrix"

def tiles(self, tile_ids):
return cooler.tiles(self.path, tile_ids)

def info(self):
return cooler.tileset_info(self.path)

tileset = MyCustomCoolerTileset("test.mcool")
hg.view(tileset.track())


`hg.Tileset` automatically registers the tileset via Jupyter comms and provides a `.track()` method to create a HiGlass track with the correct tileset information.

* Remove `higlass.fuse` by manzt in https://github.com/higlass/higlass-python/pull/175

`higlass.fuse` was an incomplete and poorly documented feature that added complexity without clear benefits. Filehandle-like interfaces now provide a more reliable alternative. If you relied on this feature, please open an issue!

**Full Changelog**: https://github.com/higlass/higlass-python/compare/v1.2.1...v1.3.0

1.2.1

What's Changed
* Allow file pointers in tileset loaders by pkerpedjiev in https://github.com/higlass/higlass-python/pull/161
* Suppress right-click event propagation by manzt in https://github.com/higlass/higlass-python/pull/160
* Properly deep-copy pydantic models with `model_copy(deep=True)` by pkerpedjiev in https://github.com/higlass/higlass-python/pull/163

**Full Changelog**: https://github.com/higlass/higlass-python/compare/v1.2.0...v1.2.1

1.2.0

What's Changed

* **Breaking**: Migrate to higlass-schema v0.2.0 (pydantic v2) by manzt in https://github.com/higlass/higlass-python/pull/155
* Shorter automatic uids for Tracks and Views by manzt in https://github.com/higlass/higlass-python/pull/157
* Upgrade HiGlass front-end to v1.13 by manzt in https://github.com/higlass/higlass-python/pull/158

**Full Changelog**: https://github.com/higlass/higlass-python/compare/v1.1.2...v1.2.0

This release does not introduce changes to the `higlass-python` API itself. However, it migrates the core data objects created and modified by the `higlass-python` API from Pydantic v1 to Pydantic v2. We are marking this as a **breaking release**, as some methods and attributes on these objects are now deprecated.

Libraries relying on `higlass-schema` (Pydantic models for Python) may encounter breaking changes if they use methods that have changed between Pydantic v1 and v2. We expect this update to improve compatibility and make it easier to use `higlass-python` in environments that depend on Pydantic v2 (which are increasing).

1.1.2

What's Changed
* Pin higlass-schema version upper bound for <v1.2 by manzt in https://github.com/higlass/higlass-python/pull/156


**Full Changelog**: https://github.com/higlass/higlass-python/compare/v1.1.0...v1.1.2

1.1.1

What's Changed

* Upgrade anywidget version by manzt in https://github.com/higlass/higlass-python/pull/143
* Add vertical track variants for auto layout by manzt in add10c6


**Full Changelog**: https://github.com/higlass/higlass-python/compare/v1.1.0...v1.1.1

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.