Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
kanban-indexer
is a simple Python library that implements a lexicographic indexing system for ordered collections, such as columns on a Kanban board. It uses a chracter-based system that should allow for an arbitrary number of insertions between any two existing indices without the need for reindexing.
You can install kanban-indexer
using pip:
pip install kanban-indexer
Here's a quick example of how to use kanban-indexer
:
from kanban_indexer import compute_intermediate_index, compute_preceding_index, compute_succeeding_index
# Generate an index between "B" and "C"
middle_index = compute_intermediate_index("B", "C")
print(middle_index) # Output: BM
# Generate an index before "A"
before_b = compute_preceding_index("B")
print(before_b) # Output: AZ
# Generate an index after "Z"
after_z = compute_succeeding_index("Z")
print(after_z) # Output: ZB
compute_intermediate_index(index_before: str, index_after: str) -> str
Computes the intermediate index between two given indices.
compute_preceding_index(index: str) -> str
Returns the preceding index value based on the given index.
compute_succeeding_index(index: str) -> str
Returns the succeeding index based on the given index.
This project is licensed under the MIT License - see the LICENSE file for details.
To set up the development environment:
python -m venv venv
source venv/bin/activate
pip install -e .[dev]
You can run tests using pytest:
pytest
This project uses ruff
for linting and formatting. To run ruff:
ruff check .
To automatically fix issues and format code:
ruff check --fix .
FAQs
A lexicographic indexing system for Kanban boards
We found that kanban-indexer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.