semvec/pypi-packages huggingface dataset:
django-push-notification-service-firebash 0.0.1
Use for Firebash Phone Push Notification
License: MIT
Requires Python: >=3.6

django_firebash_push_service

Requirements

python >= 3.6
django >= 3
djangorestframework
requests

Installable App

This app can be installed and used in your django project by:

$ pip install django-firebash-push-service
Edit your settings.py file to include 'dj_push' in the INSTALLED_APPS listing.


INSTALLED_APPS = [
    ...

    'dj_push.apps.DjPushConfig',
]

also add SERVER_TOKEN in your setting.

you can get SERVER_TOKEN from firebash.

Edit your project urls.py file to import the URLs:
from dj_push.urls import urlpatterns

url_patterns = [
    ...
] + urlpatterns

Finally, add the models to your database:

$ ./manage.py migrate


The "project" Branch
The master branch contains the final code for the PyPI package. There is also a project branch which shows the "before" case -- the Django project before the app has been removed.

$ Guide

First save device token 

$ api_endpoint = domain + 'device/token/create', Use this endpoint for creating device token
$ payload = {
$    "token": device_token,
$    "device_os: "android"
$ }

$ api_endpoint = domain + 'device/token/get', Use this endpoint for get device token


after save token use this method for send notification
notice = NotificationSend(user=user_id, message=message, title=title)
response_msg = notice.send_device_notification()



Docs & Source
Article: https://pypi.org/user/bajpairitesh878/
Source: https://gitlab.com/bajpairitesh878/django_firebash_push_service
PyPI: https://pypi.org/user/bajpairitesh878/
bandage 1.2
Patching library.
License: MIT
Requires Python: >=3.6

# bandage
[![forthebadge](https://forthebadge.com/images/badges/contains-technical-debt.svg)](https://forthebadge.com) [![forthebadge](https://forthebadge.com/images/badges/made-with-python.svg)](https://forthebadge.com)

A Python patching library for updating software applications in deployments where package managers are unavailable.

## Documentation
To see documentation regarding installation and usage, please visit [https://dreamerslegacy.xyz/projects/bandage/docs/index.html](https://dreamerslegacy.xyz/prjects/bandage/docs/index.html).

## Releases & Dist.
With the released wheel file, after downloading:
```commandline
pip3 install /path/to/wheel/file/here/bandage-1.0-py3-none-any.whl
```
...Or available on PyPI through:
```commandline
pip3 install bandage
```
Please see documentation for more information.
youtube-channel-scraper 0.1.3
Scrape videos from YouTube channels.
License: MIT
Requires Python: >=2.7

# YouTube Channel Scraper

Scrapes videos from a YouTube channel using Python.

It takes a YouTube channel URL as an input and produces a list of videos as an output.

Video attributes:
* `url`
* `title`
* `description`
* `author`
* `published_at`
* `thumbnail`

## Requirements

Install chromedriver at `/chromedriver`. For more details refer to [scripts/install_chromedriver.sh](scripts/install_chromedriver.sh).

Alternatively you can use the library inside a Docker container. This way you don't need to manually install the chromedriver. Have a look at [Usage with Docker](#usage-with-docker).

## Install

```bash
pip install youtube-channel-scraper
```

## Usage

```python
from youtube_channel_scraper.scraper import YoutubeScraper

scraper = YoutubeScraper(channel_url)
crawled_videos = scraper.scrape()
```

### Optional parameters

* *stop_id:* stop scraping when this video ID is encountered. Older videos are always scraped first.
* *max_videos:* maximum amount of videos to scrape
* *proxy_ip:* proxy IP with port 


## CLI usage

```bash
youtube-channel-scraper "https://www.youtube.com/channel/CHANNEL_ID"
```

### Available arguments

```bash
positional arguments:
  channel_url           Youtube channel URL

optional arguments:
  -h, --help            show this help message and exit
  --filename FILENAME   Output file
  --stop_video_id STOP_VIDEO_ID
                        Youtube video ID that indicates to stop crawling
  --max_videos MAX_VIDEOS
                        Max videos to crawl
  --proxy PROXY         Proxy IP
  --screenshot_filename SCREENSHOT_FILENAME
                        Path to exceptions screenshot
```

## Usage with Docker

### Why?

When running `youtube-channel-scraper` in a Docker container there is no need to manually install chrome driver in your environment.

### How?

```bash
git clone https://github.com/hajkr/youtube-channel-scraper.git
cd youtube_channel_scraper

# Run the container and build it when running for the first time
make run

# Enter the container
make to_container

python youtube_channel_scraper "https://www.youtube.com/channel/CHANNEL_ID"
```