semvec/pypi-packages huggingface dataset:
rename-dirs 1.2.0
A python script to rename multiple directories to lowercase words with underscore separators.
Requires Python: >=3.6

# Rename Dirs

A python script to rename multiple directories to lowercase words with underscore separators.

## Why?

I like to keep my PC's folder structure neat and uniform but, during intense hackathons, i mess up my project's folder name format. Automating the renaming process made my life a little easier.

## Format

`Example File.txt` -> `example_file.txt`

## Installation

```bash
pip install rename-dirs
```

## Example

* After installing, run `rename-dirs`
* Enter directory path:
<img width="669" alt="dir_path" src="https://media.discordapp.net/attachments/650996852623409152/805400604532408360/unknown.png">

* Enter Y/n for each file/folder:
<img width="718" alt="yes_or_no" src="https://media.discordapp.net/attachments/650996852623409152/805401321288499200/unknown.png">

* Initial folder structure:
<img width="669" alt="inital_structure" src="https://media.discordapp.net/attachments/650996852623409152/805400017359077426/unknown.png">

* Final folder structure:
<img width="669" alt="final_structure" src="https://media.discordapp.net/attachments/650996852623409152/805401340649799691/unknown.png">
globconf 0.0.7
global configparser object to be used across modules

[![pypi](https://img.shields.io/pypi/v/globconf.svg)](https://pypi.python.org/pypi/python-flex-cache)
[![versions](https://img.shields.io/pypi/pyversions/globconf.svg)](https://github.com/steffenschumacher/python-flex-cache)
[![license](https://img.shields.io/github/license/steffenschumacher/globconf.svg)](https://github.com/steffenschumacher/python-flex-cache/blob/master/LICENSE)

# globconf

* Creates a global configparser object, regardless of the project and module in need of it
* A docker container can be used to host protected config files, consumable by the parser object
* verify_required_options merges default options with the configparser ones, and optionally ENV 
  options while validating required options have been set either way.


## Getting Started
In a project using globconf:
```python
from globconf import config, verify_required_options, read_config, fetch_config
# when starting the app, the config can be loaded from a specific path:
read_config(path='flaf.ini', force=True)  # reloads config, even if it already is loaded

# or from the globconfd container - caching supported as convenience for offline devs:
fetch_config('http://127.0.0.1:5000/cfg.ini', 'user', 'pass', cache_timeout=86400, force=True)

# if config is not explicitly loaded, config.ini is read from current folder (if there).

# verify_required_options checks presence of options, yielding a dict with the merged options 
# for the section
DEFAULTS = {'required': None, 'optional_a': 1234}
cfg = verify_required_options('Some section', ['required', 'options', 'for', 'the', 'section'])
 
# beyond this, its still basic ConfigParser as you know it..
```

In modules:
```python
from globconf import verify_required_options
class cls(object):
    def __init__(self):
        self.cfg = verify_required_options('service now', ['host', 'user', 'pwd'])
        if self.cfg.get('verify_ssl', True) is False:
            import urllib3
            urllib3.disable_warnings(InsecureRequestWarning)
```

And your module is happy as long as someone has initialised the needed section in the global config.

## globconfd via docker
```
docker run -it -v ./users.conf:env_users.conf -v ./cfgs:/configs -p 5000:5000 ssch/globconfd:latest -d
```

### Prerequisites

configparser, diskcache, requests


### Building
Build:
```
sudo python setup.py sdist bdist_wheel
twine upload dist/*
```



## Authors

* **Steffen Schumacher** - *Initial work* - [steffenschumacher](https://github.com/steffenschumacher)

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

## Acknowledgments
Nahh..
regressionmodels 0.0.1
Gaussian distributions

Regressionmodels 
=======

#### A package which can be used to fit linear- as well as polynomial Regression Models to n-dimensional data.

# Installation 

The installation requires a Python Version of 3.6+.

You can install the package via:

`pip install regressionmodels`

If you already installed the package you can update it via:

`pip install --upgrade sdllib`

#Installation for Developers

Locally, the package and its development-dependencies can be installed via:

`pip install .[dev] `

and in the main directory of the package via 

`python setup.py sdist bdistwheel`

the package can be built as Source- and Binary-Distribution. 

# Unittests

You can run Unittests with `pytest`. You can conduct them locally via

```pytest test.py```

# Overview of the Modules

## model.py 

Includes a class Regression, which can be initialized via 

`Regression(deg=1)`

with the parameter deg (default =1) to determine which degree of Regression function should be fit on the data.

The beta vector can be estimated using the method:

`.fit(X,y)` 

After that, the fitted beta can be used to predict unseen data via:

`.predict(X)`