Metadata-Version: 2.1
Name: kttools
Version: 0.1.0
Summary: Kelvin's miscellaneous tools for python
License: MIT
Author: Zewen Kelvin Tuong
Author-email: z.tuong@uq.edu.au
Requires-Python: >=3.8,<4.0
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3
Requires-Dist: anndata (>=0.7.6,<0.8.0)
Requires-Dist: matplotlib (>=3.5.2,<4.0.0)
Requires-Dist: numpy (>=1.21.6,<2.0.0)
Requires-Dist: pandas (>=1.2.4,<2.0.0)
Requires-Dist: scanpy (>=1.7.1,<2.0.0)
Description-Content-Type: text/markdown

# tools
Miscellaneous python tools


### Install
```bash
pip install kttools

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

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

### Usage
```python
import tools
```


### 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:

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

add in the `$PATH` and `$PYTHONPATH` bits:
```bash
{
 "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"
}
```

