semvec/pypi-packages huggingface dataset:
sf-price-fetcher 0.1.0
Fetches MTG card price info from scryfall.com

# `sf_price_fetcher`

Simple Python API to pull pricing information from scryfall.com.

Provides caching of prices via an sqlite3 database.

*NOTE* that currently (as of v.0.1), the cache expiry time is set to 1 week.
This will change and become configurable in future versions.

### Usage

Typical usage is quite straightforward:

    >>> from sf_price_fetcher import fetcher
    >>> fetcher.get('mox amber')
    '29.98'

`sf_price_fetcher` returns the lowest USD price for any printing of that card
which is not from a promotional set.

### CLI

`sf_price_fetcher` also includes a command-line interface.  For syntax information:

    $ python -m sf_price_fetcher --help
    usage: __main__.py [-h] [-c] [-s] card_name

    Card price fetcher for scryfall.com

    positional arguments:
      card_name

    optional arguments:
      -h, --help    show this help message and exit
      -c, --card    Print full card data instead of just the price.
      -s, --search  Search for the card name and return all unique printings.

Usage examples:

    $ python -m sf_price_fetcher faerie\ vandal
    faerie vandal: $0.07
    $ python -m sf_price_fetcher "black lotus"
    black lotus: $8499.99

The `-c` and `-s` options are primarily used for debugging.
They output the full JSON data pulled from scryfall.

    $ python -m sf_price_fetcher -c 'blacker lotus' | head
    {'object': 'card',
     'id': '4c85d097-e87b-41ee-93c6-0e54ec41b174',
     'oracle_id': '41dd29b9-f08d-4ccc-8dc0-da11d2d456e9',
     'multiverse_ids': [9764],
     'tcgplayer_id': 830,
     'cardmarket_id': 11870,
     'name': 'Blacker Lotus',
     'lang': 'en',
     'released_at': '1998-08-11',
     'uri': 'https://api.scryfall.com/cards/4c85d097-e87b-41ee-93c6-0e54ec41b174',
clname 1.0.0
Cleans filenames to make them shell-friendly
Requires Python: >=3.6

# clname
```
usage: clname [OPTION]... FILE...

Clean the name(s) of the FILE(s) to make them shell-friendly
(i.e., get rid of characters for which escape characters `\` are necessary.)

optional arguments:
  -h, --help         show this help message and exit
  -e, --extension    also clean the file extension
  -f, --force        do not prompt before overwriting files
  -L, --dereference  follow symbolic links
  -i, --interactive  prompt before renaming 
  -r, --recursive    rename subdirectories and their contents recursively
  -s, --simulate     show what would be done without renaming anything
  -v, --verbose      explain what is being done
  --version          show copyright and version info and exit
```
## Example
```
$ ls
'[2021-07-07] - this is a  test    .txt'
$ clname \[2021-07-07\]\ -\ this\ is\ a\ \ test\ \ \ \ .txt
$ ls
2021-07-07_-_this_is_a_test.txt
```
## Requirements
* Python 3
* clname is written for GNU/Linux distributions.
## Installation
```
pip install clname
```
nalkinscloud-mqtt-python-client 1.0.3
Simple MQTT client implementation that fits nalkinscloud projects

# nalkinscloud-mqtt-python-client
[![](https://github.com/arielevs/nalkinscloud-mqtt-python-client/workflows/Python%20package/badge.svg)](https://pypi.org/project/nalkinscloud-mqtt-python-client/)
[![](https://img.shields.io/pypi/v/nalkinscloud-mqtt-python-client.svg)](https://pypi.org/project/nalkinscloud-mqtt-python-client/)
[![](https://img.shields.io/pypi/l/nalkinscloud-mqtt-python-client.svg?colorB=blue)](https://pypi.org/project/nalkinscloud-mqtt-python-client/)
[![](https://img.shields.io/pypi/pyversions/nalkinscloud-mqtt-python-client.svg)](https://pypi.org/project/nalkinscloud-mqtt-python-client/)

MQTT Client package for nalkinscloud project usage

## Usage
```python
## activate package logging by:
# logging.getLogger('nalkinscloud_mqtt_python_client')
from nalkinscloud_mqtt_python_client.devices import SwitchDevice

def set_switch_state(state):
    print("SET SWITCH STATE HERE")
    return state

device = SwitchDevice(set_data_function=set_switch_state)
device.init_broker(broker_host="mosquitto.alpha.nalkins.cloud",
                    broker_port=8883,
                    broker_cert=None,
                    broker_tls=True,
                    broker_tls_skip=True)

# this client will have default 'on_connect' function, but a custom 'on_message' function
device.init_device(device_id='some_device_id', device_type='sensor', device_password='none', qos=0)
device.connect()
device.subscribe("v1/devices/me/rpc/request/+", 1)

# Start the MQTT Mosquito process loop
device.do_loop_forever()
```
Wrapup 2.1
Help to make the python package and upload.
Requires Python: >=3.4

# Wrapup

帮助打包，并发布到pypi。

## Example

```python
from Wrapup import Wrapup

ipa = Wrapup("xxx")
ipa.setversion("v1.00")
ipa.setauthor("xxx", "xxx@yyy.com")
ipa.describe("xxxxxxxxx.")
ipa.setmin_python_version("3.4")
ipa.setsetupfile()
ipa.release()
ipa.Garbagecleaning()
```
arctan-rtsfred3 1.3.2
This is an arctan package
Requires Python: >=3.6

# Pyntegrate

![Run Unit Tests](https://github.com/rtsfred3/pyntegrate/workflows/Run%20Unit%20Tests/badge.svg)

[![CodeQL](https://github.com/rtsfred3/pyntegrate/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/rtsfred3/pyntegrate/actions/workflows/codeql-analysis.yml)

## What are C Extensions in Python?

C Extensions allow for native C/C++ code (with a small penalty) to be used within Python. The documentation can be found [here](https://docs.python.org/3/extending/index.html), [here](https://docs.python.org/3/extending/extending.html), and [here](https://docs.python.org/3/c-api/index.html).



## Why use C Extensions?

The main benefit of using C Extensions would be the speed of C, with a slight penalty, when translating between C and Python.

## How to Build or Install

To build the package, use `python3 setup.py build`.

To install the package, use `python3 setup.py install`.

## Installation

`git clone https://github.com/rtsfred3/pyntegrate.git`

`python3 setup.py install`

### License

```
Copyright 2021 Ryan Fredrickson

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```
aasaanjobs-notificationhub 1.4.0
Python client for Aasaanjobs/Waahjobs Notification Hub
Requires Python: >=3.5

# Python Aasaanjobs/Waahjobs NotificationHub Client

[![Build Status](https://travis-ci.org/aasaanjobs/notification-hub-py-sdk.svg?branch=master)](https://travis-ci.org/aasaanjobs/notification-hub-py-sdk)
[![codecov](https://codecov.io/gh/aasaanjobs/notifications-python-sdk/branch/master/graph/badge.svg)](https://codecov.io/gh/aasaanjobs/notifications-python-sdk)

Python SDK to communicate with Aasaanjobs/Waahjobs Notification Hub and send notifications to users.

## Supported Notification Channels
- Short Messaging Service (SMS)
- Email
- WhatsApp
- Mobile Push (FCM)

## Installation
```
pip install aasaanjobs-notificationhub
```

## Usage
Each notification is referred to as **Task** in this library. A single **Task** can contain
multiple channels, i.e., a single **Task** can contain both **Email** and **WhatsApp** notification data.
This **Task** is then validated via [Protocol Buffers](https://developers.google.com/protocol-buffers)
and pushed to corresponding Notification Hub Amazon SQS queue.

For **Transactional** notifications **NOTIFICATION_HUB_SQS_QUEUE_NAME** environment variable should be configured.

For **Marketing** notifications **NOTIFICATION_HUB_MARKETING_SQS_QUEUE_NAME** environment variable should be configured.

For **OTP** notifications **NOTIFICATION_HUB_OTP_SQS_QUEUE_NAME** environment variable should be configured.

### Configuration
Each application which uses this library must configure Amazon SQS configurations to successfully
send notification task to Hub.

The following keys can be defined in the settings module if Django application or can be defined as environment variables

| **Setting**                            | **Description**                                                   |
|----------------------------------------|-------------------------------------------------------------------|
| NOTIFICATION_HUB_SQS_ACCESS_KEY_ID     | Access Key of the IAM role which has access to the Hub SQS        |
| NOTIFICATION_HUB_SQS_SECRET_ACCESS_KEY | Secret Access Key of the IAM role which has access to the Hub SQS |
| NOTIFICATION_HUB_SQS_REGION            | AWS Region where the Hub SQS resides                              |
| NOTIFICATION_HUB_SQS_QUEUE_NAME        | Name of the Hub SQS Queue                                         |
| NOTIFICATION_HUB_MARKETING_SQS_QUEUE_NAME | Name of the Hub Marketing SQS Queue                            |
| NOTIFICATION_HUB_OTP_SQS_QUEUE_NAME    | Name of the Hub OTP SQS Queue                            |