semvec/pypi-packages huggingface dataset:
splitup 1.0.5
Splitting files in a folder

## Split the files in a directory!

This package aims to let a user partition the files in a directory to folders. E.g. one could use this package to split the images of a folder into Train, Validation, and Test. The ratio and the number of splits is customizable. One could also copy the files instead of merely moving them to a different folder.


## Installation 
`pip Install splitup`

## Usage
Move or copy files of a folder to another, based on a predefined split ratio.
#### Example: 
`Import splitup as sp`

`sp.split_custom(source_folder, destination_folder, 80, 20, copy = True)`

The above code would *copy* the files from the source to the destination folder in 80 : 20 ratio.
## Function
   ` split_custom(source_folder, destination_folder, *p, copy = False)`

## Parameters
**Source_folder** : The path of the folder containing the files to be split.
**Destination_folder**: The path of the folder where the directories with split files need to be stored.
**\*p**: The ratio of the split. E.g. "*80,20*", "*70, 15, 15*", "*40, 20, 20, 20*". The ratio must add upto 100, else an error message would be displayed. (*Note*: The function does not have a default split ratio.)
**copy**:  Set to 'False' by default, it could be set to 'True' in order to copy the file from the source to the destination folder insted of moving.

## Output
The files would be present in "Split_(i)" folders, where i = 1, 2, 3...n, depending on the number of splits.
split-up 1.0.2
Splitting files in a folder

## Split the files in a directory!

This package aims to let a user partition the files in a directory to folders. E.g. one could use this package to split the images of a folder into Train, Validation, and Test. The ratio and the number of splits is customizable. One could also copy the files instead of merely moving them to a different folder.


## Installation 
`pip Install split-up`

## Usage
Move or copy files of a folder to another, based on a predefined split ratio.
#### Example: 
`Import split-up as sp`

`sp.split_custom(source_folder, destination_folder, 80, 20, copy = True)`

The above code would *copy* the files from the source to the destination folder in 80 : 20 ratio.
## Function
   ` split_custom(source_folder, destination_folder, *p, copy = False)`

## Parameters
**Source_folder** : The path of the folder containing the files to be split.
**Destination_folder**: The path of the folder where the directories with split files need to be stored.
**\*p**: The ratio of the split. E.g. "*80,20*", "*70, 15, 15*", "*40, 20, 20, 20*". The ratio must add upto 100, else an error message would be displayed. (*Note*: The function does not have a default split ratio.)
**copy**:  Set to 'False' by default, it could be set to 'True' in order to copy the file from the source to the destination folder insted of moving.

## Output
The files would be present in "Split_(i)" folders, where i = 1, 2, 3...n, depending on the number of splits.
auto-reloader 0.1.3
Automatic reloading library for Jupyter
Requires Python: >=3.6,<4.0

<h1 align="center">Welcome to auto-reloader 👋</h1>
<p>
  <img alt="Version" src="https://badge.fury.io/py/auto-reloader.svg" />
  <a href="https://github.com/moisutsu/auto-reloader/blob/master/LICENSE" target="_blank">
    <img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" />
  </a>
  <a href="https://twitter.com/moisutsu" target="_blank">
    <img alt="Twitter: moisutsu" src="https://img.shields.io/twitter/follow/moisutsu.svg?style=social" />
  </a>
</p>

> Automatic reloading library for Jupyter

## Install

```sh
pip install auto-reloader
```

## Usage

```python
import module as _module
from auto_reloader import AutoReloader

module = AutoReloader(_module)

instance = module.Class()
```

The module is reloaded when an instance is created with `instance = module.Class()`.

Besides this, the module is reloaded every time you access the `module` attribute.

## Run tests

```sh
poetry run pytest tests
```

## Author

👤 **moisutsu**

* Twitter: [@moisutsu](https://twitter.com/moisutsu)
* Github: [@moisutsu](https://github.com/moisutsu)

## Show your support

Give a ⭐️ if this project helped you!

## 📝 License

Copyright © 2020 [moisutsu](https://github.com/moisutsu).<br />
This project is [MIT](https://github.com/moisutsu/auto-reloader/blob/master/LICENSE) licensed.

***
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_
pyenvar 1.0.6
.env loader for python
Requires Python: >=3.5
Keywords: env variable,.env,config,dotenv

## pyenvar

[![Build Status](https://travis-ci.org/wuriyanto48/pyenvar.svg?branch=master)](https://travis-ci.org/wuriyanto48/pyenvar)


Python's `.env` is a loader based on https://github.com/motdotla/dotenv (`dotenv` module for `nodejs`) with zero dependency

### Install
```shell
$ pip install pyenvar
```

### Unit test
Make sure to running `unit tests` before pushing
```shell
$ make test
```

### Usage

Make sure the `.env` file is in your project's `root` folder
```
myproject
   - src/
     - __init__.py
   - main.py
   - .env
```

Assumed the `.env` file looks like this
```.env
USERNAME=admin
PASSWORD='12345'
```

#### Basic usage
```python
import os
import pyenvar

pyenvar.load()
print(os.environ.keys())
username = os.environ.get('USERNAME')
print(username)
```

#### Custom .env path

```python
import os
import pyenvar

pyenvar.load(path='./config/.env', encoding='utf-8')
print(os.environ.keys())
username = os.environ.get('USERNAME')
print(username)
```

#### Pyenvar CLI
```shell
$ pyenvar-cli /path/to/.env
```