semvec/pypi-packages huggingface dataset:
addtopath 1.2.0
CLI tool for adding things to the PATH on Windows
Requires Python: ~=3.6
Keywords: cli tool path windows

# addtopath

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![PyPI](https://img.shields.io/pypi/v/addtopath?color=brightgreen)](https://pypi.org/project/addtopath)

## Introduction

`addtopath` is a CLI program which allows you to easily add a directory to your PATH using the terminal on Windows. 

## Requirements

You need to have Python 3.6 or higher installed. This will allow you to install `addtopath` with Python's package manager, `pip`. 

## How to install 

To install `addtopath` with `pip`:

```bash
pip install addtopath
```

## How to use 

After installation with `pip`, the `addtopath` executable should be available on the PATH. It's very easy to use: just run it with a directory as an argument, to add that directory to the PATH.

To add the current working directory to the PATH, run:

```bash
addtopath .
```

It works with relative paths:

```bash
addtopath ..
```

It also works with the `~` symbol in Powershell, for example:

```bash
addtopath ~/scripts
```

You can, of course, supply the absolute path to your target directory:

```bash
addtopath "C:\Program Files\SomeProgram"
```

## User and system PATHs

`addtopath` adds to the *user* path by default. This doesn't require admin permissions, and is usually sufficient. However, you can instead add to the *system* path using the `-s` or `--system` flag.

For example:

```bash
addtopath . -s
```

> **Note:** This requires an administrator Powershell or Command Prompt.
parquet-to-root 0.3.0
Parquet-to-ROOT translator
Requires Python: >=3.6

# parquet_to_root
Simple translator from Parquet to ROOT TTree

Install: `pip3 install parquet_to_root`

Requires `PyROOT` and `pyarrow`. The latter can be installed via `pip`; the former is more complicated, but if you're reading this you probably know how to get it.  (The tests in this package use miniconda: `conda install -c conda-forge root`.)

To run from the command line:

`python3 -m parquet_to_root infile.parquet outfile.root [-t TREENAME] [--verbose]`

To run from your script,
```
    from parquet_to_root import parquet_to_root
    parquet_to_root(parquetfile, rootfile, treename='parquettree', verbose=False)
```
where the default values are shown for the optional arguments.

The `parquetfile` argument can either be a filename string or file-like object opened in binary mode. The `rootfile` argument can either be a filename string or an open `TFile`; if a string is provided any existing file will be overwritten, while if a `TFile` object is provided the new tree will be added to the existing file.