semvec/pypi-packages huggingface dataset:
srtseg 0.5.0
Extend srt by splitting the videos
Requires Python: >=3.10

# srtseg

Extend srt lib and allow video to be segmented according to subtitle. Also provide m3u8, webttv etc

The simplest file format is .srt, and it can be handled pretty well with srt lib.
srtseg provides the additional feature on top of srt:

- Get duration of each video (cut in the middle of the space between two subtitle)
- Segment selection
- M3U8 export
- WebVTT export
download-organizer 1.6
A Python script to organize your downloads folder by file extensions and watch for new files.
Requires Python: >=3.6

# Download Organizer

A Python script to organize your downloads folder by file extensions.
<!--It can also watch the folder for new files and automatically sort them.-->

## Installation

> [!WARNING]
> If you get this error: `error: externally-managed-environment`, run the command `pip install . --break-system-packages` (this may break stuff)

### Using PIP

```
pip install download-organizer
```

### Manual

1. Clone the repository:

    ```sh
    git clone https://github.com/at-pyrix/download-organizer.git
    cd download-organizer
    ```

2. Install the dependencies and the CLI tool:

    ```sh
    pip install .
    ```

## Usage

<!-- ### Manual Sorting -->

<!--To sort your downloads folder manually, run:-->

```sh
dlorg
```
<!--
### Watching Downloads Folder

To watch the downloads folder and sort new files automatically, run:

```sh
dlorg --watch
```-->
<!--
## Running the script at startup (linux)

To ensure the `--watch` script runs automatically at system startup, follow these steps:

1. **Open Crontab for Editing**

   Open your crontab configuration file in edit mode:

   ```sh
   crontab -e
   ```

2. **Add an Entry to Run the Script at Startup**

   Add the following line to the crontab file to run the `dlorg` command at startup:

   ```sh
   @reboot ~/.local/bin/dlorg --watch
   ```

3. **Verify Crontab Entry**

   Ensure that the new entry is added to the crontab:

   ```sh
   crontab -l
   ```-->

### Custom Downloads Folder

If your downloads folder is different from the default (`~/Downloads`), update the `folder` variable in `organizer.py` to the desired path.

## Folder Categories

The script sorts files into the following categories:

- **Audio**: aif, cda, mid, midi, mp3, mpa, ogg, wav, wma, flac, alac, aac, m4a
- **Archive**: 7z, deb, pkg, rar, rpm, tar.gz, z, zip, tar.bz2, tar.xz, gz, bz2, xz
- **Code**: js, jsp, html, ipynb, py, java, css, c, cpp, cs, php, rb, rs, go, pl, r, swift, ts, sql, json, yaml, xml
- **Documents**: ppt, pptx, pdf, xls, xlsx, doc, docx, txt, tex, epub, odt, ods, odp, rtf, md, csv
- **Images**: bmp, gif, ico, jpeg, jpg, png, jfif, svg, tif, tiff, webp, heic, heif, raw, psd, ai, eps
- **Programs**: apk, bat, bin, jar, msi, exe, appimage, run, sh
- **Videos**: 3gp, avi, flv, h264, mkv, mov, mp4, mpg, mpeg, wmv, webm, vob, m4v, divx, xvid
- **Fonts**: ttf, otf, woff, woff2, eot, pfa, pfb
- **Others**: any other file types


## License

This project is licensed under the GNU General Public License v3.0 - see the `LICENSE` file for details.
drf-misc 0.5.0
A small Django DRF extension library which includes some useful utilities, APIs, Serializers and Services.
Requires Python: >=3.7

# drf-misc

drf-misc is a Django DRF (Django Rest Framework) extension library that provides additional functionality to enhance your REST API development experience. This library offers features such as caching, service provision, and various REST API enhancements.

## Features

- **Caching:** drf-misc simplifies caching in Django DRF by providing easy-to-use caching decorators and utilities. You can easily cache the responses of your API views or individual methods to improve performance and reduce unnecessary database queries.

- **Service Provision:** With drf-misc, you can leverage the service provision pattern to encapsulate business logic and separate it from your views. This promotes code reusability, maintainability, and testability. By utilizing services, you can keep your views lean and focused on handling request/response operations.

- **REST API Enhancements:** drf-misc offers various enhancements to Django DRF for building robust REST APIs. It provides additional mixins, serializers, and utility classes to streamline common tasks such as filtering, pagination, sorting, and more. These enhancements aim to reduce boilerplate code and enhance the development process.

## Installation

You can install drf-misc using pip:

```
pip install drf-misc
```

Make sure you have Django and Django Rest Framework installed as well.

## Usage

Once installed, you can import and use the functionalities provided by drf-misc in your Django DRF projects.

For detailed usage instructions and available features, please refer to the [documentation](https://github.com/abhishm20/drf-misc).

## Contributing

Contributions to drf-misc are welcome! If you encounter any issues, have suggestions, or would like to contribute new features, please feel free to open an issue or submit a pull request on the [GitHub repository](https://github.com/abhishm20/drf-misc).

When contributing, please ensure that you follow the existing coding style, write tests for new functionality, and update the documentation accordingly.

## License

This project is licensed under the [MIT License](LICENSE).

```

```