Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Missing compression methods that seemed to work previously

Open
#126 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

Start by comparing the imports in snapista's src/snapista/graph.py, operatorparams.py, and operator.py with the APIs exposed by python-snappy 0.6.1 and 0.5.3. Reproduce the reported Python 3.11 import errors, then document whether GPF, jpy, ProductIO, and HashMap are supported or identify the compatibility change needed.

Written by the indexing model from the issue text.

Description

Hi,
I intended to use snapista which is using snappy:

$ grep -R 'from snappy'
src/snapista/graph.py:from snappy import GPF
src/snapista/operatorparams.py:from snappy import GPF
src/snapista/operator.py:from snappy import GPF, jpy

but unfortunately neither GPF nor jpy are working:

$ python3
Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from snappy import GPF
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'GPF' from 'snappy' (/usr/lib/python3/dist-packages/snappy/__init__.py)
>>> from snappy import jpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'jpy' from 'snappy' (/usr/lib/python3/dist-packages/snappy/__init__.py)

I've found some website mentioning even more compression methods (ProductIO and HashMap) which also do not work in version 0.6.1 which I tried (I also tried version 0.5.3 with same result). Am I missing something in my setup or is the code using snappy in this way outdated?

Kind regards, Andreas.

Dominant language
Python
Stars
490
Forks
104
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from intake/python-snappy

All issues in intake/python-snappy

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.