semvec/pypi-packages huggingface dataset:
Marketingtool 1.0.11
A tool module to help you do marketing
Requires Python: >=3.9
Keywords: Marketingtool,video edit,Subtitle Translate

# Marketing Tool
This package is a tool help you do follow marketing job:

1. Transcribe the speech in video
2. Insert a video into antho video
3. Translate subtitle files
4. Insert text into video
5. Remove water mark from video
6. Convert video

### Install requirement
This program require python 3.9 installed

### How to install
```
pip install Marketingtool
```

### How to use

Transcribe the speech in video
```
Marketingtool --action transcribe -f /path/to/video -o /path/to/captions
```

Insert Video into another video
```
 Marketingtool -a insertVideo -f /path/to/video -o ~/result/video.mp4 --insert-video /insert/video.mp4
```

Translate subtitle files
```
Marketingtool --action translate -f /path/to/subtitle/file -o /path/to/output --source-lang zh-CN --target-lang en
```

Remove watermark from video
```
Marketingtool --action removeWatermark -f /path/to/video -o /path/to/output
```

Insert text into video
```
Marketingtool --action inserttextinvideo -f ./path/to/video --insert-text-path ./path/to/text.txt --insert-text-step 50 --insert-text-num 30 --insert-text-frontsize 20 --insert-text-color green --insert-text-duration 15 -o ./path/to/result
```

Convert video
```
Marketingtool --action convertvideo -f /path/to/video -o /path/video/output
```

### How to develop
You can also install python package comfortably with pip:

```
python3 -m venv path/to/project
cd path/to/project
source ./bin/activate
pip3 install -e .
```

#### Update depend python package for requirement.txt
```
pip3 freeze > requirements.txt
```

#### How to test
test edit movie function
```
python3 -m unittest Tests.test_videoedit.VideoeditTestCase.test_insert_text
```
test remove water mark
```
python3 -m unittest Tests.test_watermark.WatermarkTestCase.test_remove_watermark
```
sitemap-preloader 0.1.4
This package is used to read a sitemap and fetch all the urls in order to warm the cache of a website

# Website SiteMap Preloader :rocket:

[![py.test](https://github.com/andresgz/sitemap-preloader/actions/workflows/python.yml/badge.svg)](https://github.com/andresgz/sitemap-preloader/actions/workflows/python.yml)
[![codecov](https://codecov.io/gh/andresgz/sitemap-preloader/graph/badge.svg?token=LI47UU6BUA)](https://codecov.io/gh/andresgz/sitemap-preloader)
[![PyPI version](https://badge.fury.io/py/sitemap-preloader.svg)](https://badge.fury.io/py/sitemap-preloader)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/sitemap-preloader)](https://pypi.org/project/sitemap-preloader/)
[![PyPI - License](https://img.shields.io/pypi/l/sitemap-preloader)](https://pypi.org/project/sitemap-preloader/)

Package for preloading website URLS from a provided SITEMAP URL.
You can use this package to preload your website URLS in the background, so that your website will be faster for your users.
You can set the depth in case the sitemap has more than one level.

## Requirements :clipboard:
* Python 3.8+

## Installation :wrench:

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install preloader.

```
    pip install sitemap-preloader
```

## How to use :question:

Follow the steps below to use the package on a python project.

```
    from preloader import Preloader
    sitemap_url = 'https://www.example.com/sitemap.xml'
    preloader = Preloader(sitemap_url, depth=2)

    preloader.fetch_pages()
```

## Testing :white_check_mark:

We use pytest for testing. To run the tests, run the following command in the root directory of the project.
    
```
    pytest -s
    
```

## Contributing :handshake:

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.