semvec/pypi-packages huggingface dataset:
filesplitor 0.2.0
Split file into small ones.
License: MIT
Keywords: filesplitor

# file-split

Split file into small ones.


## Install

```
pip install filesplitor
```

## Usage

```
E:\workspace\filesplitor>filesplitor split test.txt -s 2
Split file [test.txt] into 2B sized files...
test.txt.1
test.txt.2
Done!

E:\workspace\filesplitor>filesplitor merge b.txt test.txt.*
Merge files ['test.txt.1', 'test.txt.2'] into one file [b.txt]...
Done!
```

## Command Help

```
C:\workspace\filesplitor>filesplitor --help
Usage: filesplitor [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  merge  Merge samll files into one large file.
  split  Split a file into small ones.

C:\workspace\filesplitor>filesplitor split --help
Usage: filesplitor split [OPTIONS] SRC [DST]

  Split a file into small ones.

Options:
  -s, --size INTEGER  File slice size, default to 1G. Accepted units are B, K,
                      M, G, T.  [required]

  --help              Show this message and exit.

C:\workspace\filesplitor>filesplitor merge --help
Usage: filesplitor merge [OPTIONS] DST FILENAMES...

  Merge samll files into one large file.

Options:
  --help  Show this message and exit.

C:\workspace\filesplitor>
```


## Releases

### v0.1.0 2019/04/14

- First release.

### v0.2.0 2022/01/07

- Repack to fix license file missing problem.
- Add document.
bluelink 1.0.0
Unofficial API wrapper for Hyundais BlueLink.
License: MIT
Requires Python: >=3.7
Keywords: bluelink

# 🚙 BlueLink

Unofficial Python API wrapper for Hyundai's [Bluelink®](https://www.hyundaiusa.com/us/en/blue-link). Allows you to remotely control your Hyundai car via Python.

## Installing

```
pip install bluelink
```

## Documentation

Documentation can be found below. See code for more details.

## Using

You can use this module either through the built-in CLI, or directly through Python. `lock`, `unlock`, `start`, `stop`, `find`, and `odometer` are supported.

### CLI

Note that every individual command will sign-in in to BlueLink. If you plan on chaining commands, you should use the Python API.

```bash
$ export BLUELINK_EMAIL=<email>
$ export BLUELINK_PASSWORD=<password>
$ export BLUELINK_PIN=<pin>

$ bluelink cars
Elantra - <vin>
Santa Fe - <vin>

$ bluelink <vin> lock
Locking...

$ bluelink <vin> unlock
Unlocking...

# 'dsh' stands for 'driver seat heat'
# 'psh' stands for 'passenger seat heat'
$ bluelink <vin> start --duration=10 --temp="LO" --defrost --dsh=4 --psh=4
Starting...

$ bluelink <vin> stop
Stopping...

$ bluelink <vin> find
Latitude: <latitude>
Longitude: <longitude>

$ bluelink <vin> odometer
7,643
```

### Python

The Python wrapper comes with two classes: `BlueLink` and `Car`. The former is the main class that allows logging into the service, and the latter is a wrapper for specific cars linked to the account.

```python
from bluelink import BlueLink

# Logins to BlueLink. You may also choose to set the username, password, 
# and pin via environment variables (same convention as the CLI) and
# leave the arguments blank.
bl = BlueLink(email='<email>', password='<password>', pin='<pin>')
bl.login()

# Prints the BlueLink object.
print(bl) # BlueLink(email=<email>, is_logged=True)

# Print all of the cars in the account. 'cars' is a standard dictionary.
for vin, car in bl.cars.items():
    print(vin, car) # <vin> Car(nickname=<nickname>, bluelink=<has_bluelink>)

# Gets the first car.
elantra = bl.cars['<vin>']

elantra.lock() # Returns True if successful.
elantra.unlock() # Returns True if successful.
elantra.start(
    duration=10, 
    temp="LO", 
    defrost=True,
    driver_seat_heat=4,
    passenger_seat_heat=4,
) # Returns True if successful.
elantra.stop() # Returns True if successful.
elantra.find() # Returns a tuple of (latitude, longitude).
elantra.odometer # Returns an integer. Note this is a property, and not a method.
```