semvec/pypi-packages huggingface dataset:
wordslicer 0.1.0
A tool to separate truncated text.

Word Slicer
==========

Cut your unspaced (or 'too spaced') long texts.



Usage
-----
```python
import wordslicer

model = wordslicer.train('train_file')
text = open('input_file', 'r').read()
text = wordslicer.separate(model, text) # or wordslicer.join(model, text)
save('output_file', text)
```

Performance
-----------

For an input of:
* 161029 words to train
* 1000 lines to separate

The results:
* Text with 36889 words
* Time: real    0m1,368s


Example:
```
>>> wordslicer.separate(model, "Boromirhesitatedforasecond.'Yes,andno,'heansweredslowly.'Yes:Ifoundhimsomewayupthehill,andIspoketohim.IurgedhimtocometoMinasTirithandnottogoeast.Igrewangryandheleftme.Hevanished.Ihaveneverseensuchathinghappenbefore.thoughIhaveheardofitintales.HemusthaveputtheRingon.Icouldnotfindhimagain.Ithoughthewouldreturntoyou.'")

Boromir hesitated for a second. 'Yes, and no,' he answered slowly. 'Yes: I found him some way up the hill, and I spoke to him. I urged him to come to Minas Tirith and not to go east. I grew angry and he left me. He vanished. I have never seen such a thing happen before. though I have heard of it in tales. He must have put the Ring on. I could not find him again. I though the would return to you.'
```


How to Install
--------------

```
pip3 install wordslicer
```

Features
----------------------

* Train your model: with the training ability, this package works with every language.

* Evaluate your model: check if your training text is good enough for your input text:

![image](https://i.imgur.com/bnEqlEP.png)


Credits
----------------------
This project was inspired by Generic Human on http://stackoverflow.com/a/11642687/2449774 . 
Thank you!
botocredspath 0.0.1
enables you to directly set boto3 aws folder path.
Requires Python: >=3.7

botcredspath
============

because Boto3 should allow you to set the path to your `~/.aws` file without envars, but it doesn't (at least not that I can tell).

usage
========

.. code-block:: python

    import boto3_creds_path as bcp
    import boto3

    boto3=bcp.update_path(boto3,'/absolute/path/to/files') ## this replaces /.aws

    client=boto3.client('s3') # now use boto3 like normal reading from the new path
oxo-pkg 2.1.1
naughts and crosses game
Requires Python: >=3.6

# OXO

A naughts & crosses game.

##### *note: requires python version >= 3.6*

# Install

To install run command:

`python3 -m pip install --user --upgrade oxo_pkg`

if installing from [TestPyPi](https://test.pypi.org/project/oxo-pkg/) run:

`python3 -m pip install --user --index-url https://test.pypi.org/simple/ oxo_pkg`

# Run

oxo can either by ran as a commandline script or as a python package ran in the Python3 REPL.

#### - Run in python REPL :

Open the python3 REPL

`python3`

import and run the package

\>`import oxo_pkg`

\>`oxo_pkg.run()`

#### - Run in commandline :

run `oxo` in a commandline terminal.

#### run locally :

run `python3 ./oxo` from project home directory.

### options

See below text:

```text
here is a list of accepted arguments: 
    --hard     :  activates hard-mode
    --s-hard   :  activates super-hard-mode
    --version  :  show current version number
    --help     :  show help options
```

To see these at any point run `oxo --help`

#### troubleshooting

try `which oxo`

This should print something like `/Users/your.username/Library/Python/3.7/bin/oxo`

If not find the equivalent location in your filesystem (where pip installs applications to), check that `oxo` binary file is present, & add the location to your PATH.

# Tests

from project home directory run

`python3 -m unittest test.test_methods.TestMethods`

# Build

`python3 -m pip install --user --upgrade setuptools wheel` (install / update wheel & setuptools)

`python3 setup.py sdist bdist_wheel`

Produces a .whl built distribution & a tar file of the source code in `dist/` directory.

To install the locally built version run `python3 -m pip install --user --upgrade dist/*`

# Release

Increment release number in `oxo_pkg/resources/version.md` file.

Make sure the latest version is built with above build step.

Upload the build with [twine](https://pypi.org/project/twine/): 

`python3 -m pip install --user --upgrade twine` (install / update twine)

`python3 -m twine upload dist/*` 

To upload to [TestPyPi](https://test.pypi.org/project/oxo-pkg/) run:

`python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*`
oxo-2-pkg 1.0.1
naughts and crosses game
Requires Python: >=2.7

# OXO

**oxo_pkg ported for python 2.7**

A naughts & crosses game 

##### *note: requires python version >= 2.7*

# Install

To install run command:

`python -m pip install --user --upgrade oxo_2_pkg`

if installing from [TestPyPi](https://test.pypi.org/project/oxo-pkg/) run:

`python -m pip install --user --index-url https://test.pypi.org/simple/ oxo_2_pkg`

# Run

oxo can either by ran as a commandline script or as a python package ran in the Python REPL.

#### - Run in python REPL :

Open the python REPL

`python`

import and run the package

\>`import oxo_2_pkg`

\>`oxo_2_pkg.run()`

#### - Run in commandline :

run `oxo-2` in a commandline terminal.

#### run locally :

run `python ./oxo-2` from project home directory.

### options

See below text:

```text
here is a list of accepted arguments: 
    --hard     :  activates hard-mode
    --s-hard   :  activates super-hard-mode
    --version  :  show current version number
    --help     :  show help options
```

To see these at any point run `oxo-2 --help`

#### troubleshooting

try `which oxo-2`

This should print something like `/Users/your.username/Library/Python/2.7/bin/oxo-2`

If not find the equivalent location in your filesystem (where pip installs applications to), check that `oxo-2` binary file is present, & add the location to your PATH.

# Tests

from project home directory run

`python -m unittest test.test_methods.TestMethods`

# Build

`python3 -m pip install --user --upgrade setuptools wheel` (install / update wheel & setuptools)

`python3 setup.py sdist bdist_wheel`

Produces a .whl built distribution & a tar file of the source code in `dist/` directory.

To install the locally built version run `python -m pip install --user --upgrade dist/*`

# Release

Increment release number in `oxo_2_pkg/resources/version.md` file.

Make sure the latest version is built with above build step.

Upload the build with [twine](https://pypi.org/project/twine/): 

`python3 -m pip install --user --upgrade twine` (install / update twine)

`python3 -m twine upload dist/*` 

To upload to [TestPyPi](https://test.pypi.org/project/oxo-pkg/) run:

`python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*` 

*Note: it currently seems best to build & upload using python3*