Installation¶
⚠️ PACKAGE DEPRECATED
fsspec-utils is no longer maintained. Development has moved to fsspeckit.
New projects: Use fsspeckit instead Existing projects: Follow the migration guide below
Migration to fsspeckit¶
If you're using fsspec-utils, migrating to fsspeckit is straightforward since the APIs are identical.
Step 1: Update Installation¶
Step 2: Update Your Imports¶
Simply replace fsspec_utils with fsspeckit in all imports:
| Old (Deprecated) | New (Recommended) |
|---|---|
from fsspec_utils import ... |
from fsspeckit import ... |
from fsspec_utils.core import ... |
from fsspeckit.core import ... |
from fsspec_utils.storage_options import ... |
from fsspeckit.storage_options import ... |
from fsspec_utils.utils import ... |
from fsspeckit.utils import ... |
Example Migration¶
Compatibility¶
✅ All functionality is identical - No code changes needed beyond import statements ✅ Same API - All functions and classes work the same way ✅ Active support - fsspeckit is actively maintained and developed
Migration Checklist¶
- Update
pip install fsspec-utilstopip install fsspeckitin requirements.txt or pyproject.toml - Replace all
from fsspec_utils importwithfrom fsspeckit import - Replace all
from fsspec_utils.storage_options importwithfrom fsspeckit.storage_options import - Replace all
from fsspec_utils.utils importwithfrom fsspeckit.utils import - Replace all
from fsspec_utils.core importwithfrom fsspeckit.core import - Run your tests to verify everything works
- Update your documentation and examples
Legacy Installation (fsspec-utils only)¶
If you must maintain legacy code using fsspec-utils, follow the instructions below. Note: This is not recommended for new projects.
Prerequisites¶
- Python 3.11 or higher is required.
Install with pip¶
Upgrading¶
Environment Management¶
Using uv¶
Using pixi¶
Troubleshooting¶
If you encounter issues during installation:
- Python Version: Ensure Python 3.11 or higher (
python --version) - Virtual Environments: Use a virtual environment (venv, conda, uv, pixi)
- Permissions: Avoid using
sudowith pip; use a virtual environment instead - Network Issues: Check your internet connection
For assistance, refer to the fsspec-utils GitHub repository or fsspeckit repository.
Additional Resources¶
- fsspeckit Documentation: https://github.com/legout/fsspeckit
- fsspec Documentation: https://filesystem-spec.readthedocs.io/
- Migration Support: Open an issue on fsspeckit GitHub