semvec/pypi-packages huggingface dataset:
dizbot 1.0.3
A command line tool to seamlessly build discord bots in python
License: MIT
Requires Python: >=3
Keywords: dizbot,discord,discord.py,bot

# dizbot

[![Build Status](https://travis-ci.org/eishan05/dizbot.svg?branch=master)](https://travis-ci.org/eishan05/dizbot) 
[![PyPI Version](https://img.shields.io/pypi/v/dizbot.svg)](https://pypi.org/project/dizbot/)

A command line tool to seamlessly build discord bots in python

## How to install
Run `pip install dizbot`

Note: Requires python version 3 or more

## How to use

![Demo](demo/demo.gif)

1. Go into the directory you want to have the bot code in
2. Run command `dizbot run` and walk through the prompts to add commands and event handlers and create the bot
3. Add your bot's client token in the `client_token.txt` file if you didn't already add it through the CLI
4. Run `python3 bot.py` and test out your bot!

dizbot saves your bot's configurations into `dizbot_config.json` file and reads from it if you run `dizbot run` again

dizbot also appends `dizbot_config.json` and `client_token.txt` to your `.gitignore` to make sure that you do not accidently push sensitive info to github or other websites

After dizbot generates the python code, you can add more code to it!

The python file generated by the bot after going through the CLI shown in the demo gif:

```python
from discord.ext import commands

bot = commands.Bot(command_prefix='>')

@bot.command()
async def test(ctx, *args):
	await ctx.send('hi test!')

@bot.command()
async def ping(ctx, *args):
	await ctx.send('pong!')

@bot.event
async def on_member_join(member):
	channel = await member.create_dm()
	await channel.send('Hello new member!')

f = open('client_token.txt', 'r')
print('Running the bot...')
bot.run(f.read())
```
magicrf 1.2
Library for UHF RFID Soc Reader Chip M100 and QM100
License: MIT
Keywords: UHF,M100,QM100,rfid,magicrf

MagicRF
=======

MagicRF is a library for M100 and QM100 modules.


Installation
------------

* Compile and install the library::

    pip3 install magicrf

* After installation you can run unit tests to make sure that the library works fine.  Execute::

    python -m magicrf.case1

Usage
-----

  In Python 3::
    from magicrf import m100

    reader = m100('COM14')

    def receive_callback(data):
        for item in data[:-1].split(';'):
            epc, rssi = item.split(',')
            print('{0} RSSI: -{1} dBm'.format(epc, int(rssi, 16)))

    reader.rxcallback( receive_callback )
    reader.start()

    # reader.power(22)
    # reader.param(q=4)
    reader.query(100)

Example
-------

    from magicrf import m100

    # Get PA Power
    m100.power()
    # Set PA Power
    m100.power(22.0)


V1.0.1 (2018-11-26)
+++++++++++++++++++
* Release ver1.0.1


V1.0 (2018-08-15)
+++++++++++++++++++
* Initialization

V1.1 (2018-10-24)
+++++++++++++++++++
* New query\power etc. functions.