Skip to main content

Docs PyPI

kttools

Kelvin’s miscellaneous python tools

Install

pip install kttools

# or
pip install git+https://github.com/tuonglab/kttools.git

# or
git clone https://github.com/tuonglab/kttools.git
cd kttools; pip install -e .

Usage

import tools

Please checkout the documentation api for details about the functions you can use to make your life easier.

jupyterhub issue

On jupyterhub, If you find yourself trying to import from local directory, i.e. git clone, and finding that you can’t import it, you will need to edit your your kernel.json file like so:

vi /home/jovyan/.local/share/jupyter/kernels/<condaenvironmentname>/kernel.json

add in the $PATH and $PYTHONPATH bits:

{
 "argv": [
  "/home/jovyan/my-conda-envs/<condaenvironmentname>/bin/python",
  "-m",
  "ipykernel_launcher",
  "-f",
  "{connection_file}"
 ],
 "env": {
     "PATH": "/home/jovyan/scripts/kttools:$PATH",
     "PYTHONPATH": "/home/jovyan/scripts/kttools:$PYTHONPATH"
 },
 "display_name": "Python (<condaenvironmentname>)",
 "language": "python"
}

Metadata

Release files for kttools 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kttools 0.2.2
File Size Uploaded Provenance Actions
kttools-0.2.2.tar.gz 9.4 kB Without provenance Details for kttools-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kttools 0.2.2
File Interpreter ABI Platform Actions
kttools-0.2.2-py3-none-any.whl Python 3 none any Details for kttools-0.2.2-py3-none-any.whl

Total release size: 19.4 kB

Release files / kttools-0.2.2.tar.gz

Download URL kttools-0.2.2.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
43c211d5edf88ef86e1cb3bd48926188b351ec81756f09cfb4bc1779eb33afc7
BLAKE2b-256 checksum
How to use checksums
797d6aba1b7e78fcff5148e0f9e7646821c7f3f643ab629c19e711a94677d120
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.9.13 Linux/5.15.0-1037-azure

Release files / kttools-0.2.2-py3-none-any.whl

Download URL kttools-0.2.2-py3-none-any.whl
Size 10.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
121c2ac135c974b95d394917532fde7785abb2e3261b54f8d67bbc4acd005204
BLAKE2b-256 checksum
How to use checksums
40da988fa91b273c9f4746c8bb3808bba3caa2f381ac0c3ca36930badb8f268e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.9.13 Linux/5.15.0-1037-azure

Security for kttools 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page