semvec/pypi-packages huggingface dataset:
dot-to-osscript 0.3.1
Generate sh and ps1 scripts from .env files to apply for the process
License: MIT
Requires Python: >=3

# dot_to_osscript

The most universal way to work with .env files!

Generate script based on .env and files, so it could be imported to the current process

## Install

```
pip install dot-to-osscript
```

## Usage
Usage: `python -m dot_to_osscript [OPTIONS]`

Options:

```
`-p`, `--powershell`     Generate .env.ps1
`-s`, `--shell`          Generate .env.sh
`-e`, `--env-file TEXT`  Input file  [default: ./.env]
`-a`, `--path-append`    Appent to existing Path variable
```

## Example

We have some directory (./) with `.env` file:

```
MSYSTEM=mingw32
TEST_var="TEST VAL"
PATH=/my_app/bin
```

We execute: `python -m dot_to_osscript -psa` and get :

.env.ps1
```
Set-Variable -Name 'MSYSTEM' -Value 'mingw32'
Set-Variable -Name 'TEST_var' -Value '"TEST VAL"'
Set-Variable -Name 'Path' -Value '$env:Path;/my_app/bin'
```

.env.sh
```
MSYSTEM='mingw32'
TEST_var='"TEST VAL"'
PATH='$PATH:/my_app/bin'
```

We could import files to the current command line process:

For PowerShell: `. .env.ps1`

For bash: `source .env.sh`

## Tip
The best idea is to use oneliners.

Powershell:
```
python -m dot_to_osscript -pa; . .env.ps1; Remove-Item .env.ps1
```

bash:
```
python -m dot_to_osscript -pa; source .env.sh; rm ./.env.sh
```

It generate ps1/sh file, import it and remove the file.
no-manylinux1 1.2.0
Install this package to disable manylinux1 wheels when dowloading from pip.
License: MIT
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*

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

no-manylinux1
=============

Install this package to disable manylinux1 wheels when downloading from pip.

## Usage

```
# First install no-manylinux1
pip install no-manylinux1
# Now subsequent invocations of pip will ignore manylinux1 wheels
pip install ...
# To restore the original behaviour, simply `pip uninstall no-manylinux1`
```

## What? Why?

The manylinux1 spec requires compliant packages to vendor binary dependencies
inside the wheel that is distributed.  Take for example a library which would
(prior to manylinux1) dynamically link against `libssl`.  As `libssl` received
security patches, the system binaries would received updates from the OS's
package manager.  The python library which dynamically links would receive
these updates for free without need to recompile, reinstall, etc.  Under
manylinux1, `libssl` is vendored inside the wheel.  To receive security
updates, you have to wait for the upstream to produce a new wheel and need to
know to install a new version of that library.  There's almost no visibility
about these vendored wheels which makes managing them at scale impossible.  As
such, some may choose to ignore this standard.

## Links

- https://stackoverflow.com/q/37231799/812183
- https://github.com/pypa/pip/issues/3689
- https://github.com/pypa/pip/issues/3689#issuecomment-219437150