semvec/pypi-packages huggingface dataset:
parkit 0.0.9
Package for multiprocessing programming

Status | Value
---|---
**Quality** | Pre-Alpha
**Tested** | Windows only
**Requires** | Python 3.8+

# Overview
The *parkit* package provides some basic Python classes that support multiprocessing programming. Dictionaries, queues, arrays (append-only lists), custom shared objects, and asynchronous tasks are supported. All classes in *parkit* support transactional, concurrent access from multiple processes. Data is stored in LMDB which offers good performance.

# Installation
```
python -m pip install parkit
```
weather-forecaster 0.0.1
Python based simple weather forecaster.
Requires Python: >=3.6

###Installation
```pip install weather-forcaster```
###Usage
###Input
```
import weather-forecaster as wf
wf.forecast("india","delhi")
```
###Output
```
Scraping Weather Data
---------------------
Temperature: 39 °C
Climate: Haze
Location: New Delhi / Safdarjung
Current Time: 10 Jun 2021, 17:20:18
Latest Report: 10 Jun 2021, 14:30
Visibility: 4 km
Pressure: 995 mbar
Humidity: 46%
Dew Point: 25 °C
```
seenovideo 1
Video editing in a text file

# SeeNoVideo

- A text based basic video editing program
- Created in python + ffmpeg backend
- Please do read this document for syntax and capbilites

# Installation
- pip install seenovideo
- Grab all the required programs from the list [Requirements]

## Features so far
- Simple text based syntax : just write down what you want
- Works for audio/video (Same syntax. Just change filenames)
- Video stabilization
- Add audio
- Merge videos with individual settings
- Remove audio or replace with another
- Resize the video
- Speed up/slow down audio and video

## Syntax
- Note: here testVideos is the folder where I have my video files (so I dont have to specify the full path)
- Note: commands.txt is the name of the file where I can have my string instead of directly passing it.
- The most basic way to run it is
```sh
python -m seenovideo -f testVideos/ -t commands.txt 
```
Here, commands.txt has the string required.
- If you want to directly supply the string instead
```sh
python -m seenovideo -f testVideos/ -d -t "{name:venus.mp4,A:0,}+{name:grassTutorialNew.mp4,A:0,resize:128;128,}"
```
- To specify an output file name if youre merging videos add -o "filename.mp4"

## Supported options
- example syntax: 
{
name: file.mp4,
resize: 128;128,
}
- stabilize:1       for video stabilization  (this requires [vidstab](https://github.com/georgmartius/vid.stab))
- resize: size1,size2        for resizing
- trim:00-01-00;00-5-10     format: hh:mm:ss; hh:mm,ss  for start and end time of trimming the video
- speedV: multiplier        speed up video by a factor of the multipler (eg: 2)
- speedA: multiplier        speed up audio by a factor of the multipler (eg: 2)
- Merge multiple videos by
```py
{name:file1.mp4}+{name:grassTutorialNew.mp4}
```
        - Note that each of these videos can have their own arguments

## Demos
- Do check the demo.ipynb notebook
- note that since the demos are in a notebook the function call is a bit different. For proper syntax check the above section

## Requirements
- Linux/MacOS/WSL
- python of course
- ffmpeg
- [vidstab](https://github.com/georgmartius/vid.stab) for video stabilization

## FAQ

- WTF are you nuts?
        - You know what. I probably am. But basic video edit is too much work.
- Why.
        - This is for basic video editing. Why bother getting a UI and everything when you can just write it in a text file and be done with it?

## Contribution Guidelines
- Can I contribute? YES
- What do I need to do? First file an issue with a suggestion. Fork it. Code. Drop a PR
- Suggestions? File a PR
django-track-affiliate 0.0.2
A Django app to help manage and track affiliate programmes
Requires Python: >=3.6

# diddemo-track-affiliate

Django track affiliate is a Django app that allows you to manage affiliate programmes

Quick start:


1) Ensure you have the following packages installed

pip install pyyaml ua-parser user-agent django-user-agent geoip2

2) Add "affiliate" and "django_user_agent" to your INSTALLED_APPS setting like this.

    INSTALLED_APPS = [
        ...
        'django_user_agent',
        'django_sus',
    ]

3) Add 'django_user_agents.middleware.UserAgentMiddleware', to middleware

	MIDDLEWARE = [
    
    ...
    'django_user_agents.middleware.UserAgentMiddleware',
    ...
    
]

4) Run "python manage.py makemigrations" to create the models.

5) Run "python manage.py migrate" to migrate your new models

6) Add the following decorator to your main url i.e. home. This will create the necessary AffiliateTracker object against a session key

from affiliate.decorators import affiliate_tracker

@method_decorator(affiliate_tracker, name='dispatch')
class HomeView(TemplateView):

    template_name = "main/index.html"


7) call the AFCreate class in your sign up view

from affiliate.manager import AFCreate
def sign_up(request):

    ...
       
    #add this before calling login()
    session_key = self.request.session.session_key
                
    login(self.request, user)

    #add after calling login()
    AFCreate(request, session_key = session_key, user = user)

    ...