S2cell

Latest version: v1.8.0

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

Scan your dependencies

Page 2 of 3

1.5.0

- Moved main source out of ``__init__.py``
- Moved docs hosting to Read the Docs
- Updated docs to improve readability

1.4.0

- Removed dependency on NumPy and improved performance

1.3.0

- Added ``cell_id_to_parent_cell_id()`` and ``token_to_parent_token()``
- Added custom exception types for invalid cell IDs and tokens
- Tidied docs generation

1.2.0

- Added token and cell ID validation functions ``cell_id_is_valid()`` and ``token_is_valid()``
- Added ``token_to_canonical_token()``
- Added S2 Concepts page to docs

1.1.1

- Extracted ``_s2_face_uv_to_xyz()`` to a separate function
- Added documentation
- Updated dependencies
- Removed Python 3.5 support

1.1.0

- Added ``cell_id_to_token()`` and ``token_to_cell_id()``
- Added ``cell_id_to_level()`` and ``token_to_level()``
- Added checks for invalid face bits when decoding a cell ID
- Tidied more of the comments and README
- Compressed the S2 reference test suite files to allow more test points in a similar file size

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.