semvec/pypi-packages huggingface dataset:
hashkernel 2019.10
hashstore python kernel
License: Apache 2.0

# hashkernel

[![Build Status](https://dev.azure.com/sekash/Public/_apis/build/status/hashstore.hashkernel?branchName=master)](https://dev.azure.com/sekash/Public/_build/latest?definitionId=3&branchName=master)
[![pypi_version](https://img.shields.io/pypi/v/hashkernel.svg)](https://pypi.python.org/pypi/hashkernel)
[![pypi_support](https://img.shields.io/pypi/pyversions/hashkernel.svg)](https://pypi.python.org/pypi/hashkernel)

Kernel to build and run python code inside hashstore

## Installation

```shell
pip install hashkernel
```

## Setup dev environment with conda

```shell
#
# Cleanup old environments
. deactivate
conda env remove -n hk36
conda env remove -n hk37
#
# Create envs
conda create -y -n hk36 python=3.6
conda create -y -n hk37 python=3.7
. activate hk37
pip install -e .[dev]
. deactivate
. activate hk36
pip install -e .[dev]
#
#run smoke test watcher
sniffer
```
othertools 1.0.13
Other Tools
License: Apache 2.0

# Other Tools for Python

# To Publish

```
$ python setup.py sdist
$ twine upload dist/othertools-X.X.X.tar.gz
```

# Installation

```
$ pip install othertools

# other useful commands
$ pip show othertools | findstr "Version"
$ pip install othertools --upgrade
```

## Usage

```python
from othertools.path import chdir_by_anchor
chdir_by_anchor("environment.yaml", "src/.+")
#---
from othertools.path import path_add_by_anchor
path_add_by_anchor("environment.yaml", "src/.+")
```

# Examples

## Example 1

Before:
```
.
├── documents
└── projects
    └── python
        └── hello-world
            ├── environment.yaml
            └── src ### CURRENT DIRECTORY] ###
                └── root.package
                    └── main.py
```

```python
chdir_by_anchor("environment.yaml", "src/.+")
```

After:
```
.
├── documents
└── projects
    └── python
        └── hello-world
            ├── environment.yaml
            └── src
                └── root.package ### CURRENT DIRECTORY] ###
                    └── main.py
```

## Example 2

Before:
```
.
├── documents
└── projects
    └── python
        └── hello-world ### CURRENT DIRECTORY] ###
            ├── environment.yaml
            └── src
                └── root.package
                    └── main.py
```

```python
chdir_by_anchor("environment.yaml", "src/.+")
```

After:
```
.
├── documents
└── projects
    └── python
        └── hello-world
            ├── environment.yaml
            └── src
                └── root.package ### CURRENT DIRECTORY] ###
                    └── main.py
```