semvec/pypi-packages huggingface dataset:
cmdOptions 0.0.5
A package making it easier to create small command-line option pickers
License: MIT
Requires Python: >=3.7
Keywords: command line,command-line,options,simple

# cmdOptions (Command-Line Options)
A package making it easier to create small command-line option selectors.

See on [PyPi](https://pypi.org/project/cmdOptions/).
<br>See on [GitHub](https://github.com/EricWoll/Command-Line-Options).

## Packages to Install
- None

## Installation
This package uses pip for installation.
```
pip install cmdOptions
```

## Example of Use
For a barebones example see [This Barebones Repo](https://github.com/EricWoll/cmdOptions-Example).
<br>For a more integrated example see [This Integrated Repo](https://github.com/EricWoll/shoppingCart_cmdOptions).
subprocessmonkey 0.10
Monkey patch for subprocess to use 8.3 filenames - Windows only (no dependencies)
License: MIT
Keywords: subprocess,8.3,subproc


# Monkey patch for subprocess to use 8.3 filenames - Windows only (no dependencies)

## Tested against Windows 10 / Python 3.10 / Anaconda

## pip install subprocessmonkey

The module automatically converts long paths to their short 8.3 equivalents


```python
import subprocess
from subprocessmonkey import patch_subprocess,subprocconfig
subprocconfig.minlen = None # minimum path length - calculated automatically if None
subprocconfig.convert_to_abs_path = True # \Windows to c:\\Windows
patch_subprocess() # updates subprocess.list2cmdline and subprocess.Popen._execute_child 


# Works like a charm :)

subprocess.Popen(r"ffplay C:\Users\hansc\Videos\sdf dsf sdf .mkv")

subprocess.Popen(r'cat C:\Users\hansc\Downloads\hosts (1)')

subprocess.run('ls C:\\Program Files')
```
s3manifestcollectstatic 0.2.2
Optimized collectstatic for S3ManifestStaticStorage
License: MIT
Requires Python: >=3.6.1,<4.0.0
Keywords: django,collectstatic,S3,manifest

# s3manifestcollectstatic

Optimized collectstatic for S3ManifestStaticStorage

## Installation

1. Install the package
```
pip install s3manifestcollectstatic
```
2. Add `s3manifestcollectstatic` to `INSTALLED_APPS`

## Description

`collectstatic` can take a long time. When used with
`storages.backends.s3boto3.S3ManifestStaticStorage`, `collectstatic` uploads
the files twice, once without the hash at the end of the file name, and once
with the hash.  Also, it doesn't use multiple threads to upload to s3.

`s3manifestcollectstatic` uploads the files only once, uses threads to speed
things up, and doesn't upload the files that are already on S3.

collectstatic: (Around 20 minutes)

```
$ time ./manage.py collectstatic --noinput

604 static files copied, 646 post-processed.
./manage.py collectstatic --noinput  29,94s user 2,27s system 2% cpu 20:25,06 total
```

s3manifestcollectstatic: (Around 30 seconds)
```
$ time ./manage.py s3manifestcollectstatic

604 static files copied to '/tmp/tmpbw0q_5lq', 646 post-processed.
Start the upload of 604 files
Uploading the manifest
./manage.py s3manifestcollectstatic  10,95s user 1,92s system 49% cpu 26,269 total
```

If you want to reupload the files use `-f`:
```
./manage.py s3manifestcollectstatic -f
```

Tested with Python 3.9, Django 3.2, django-storages 1.11