semvec/pypi-packages huggingface dataset:
prolice 0.2.4
Command line interface for flashing iCE40HX1K-EVB
Requires Python: >=3.5

[![pipeline status](https://gitlab.com/stefan.mavrodiev/prolice/badges/master/pipeline.svg)](https://gitlab.com/stefan.mavrodiev/prolice/commits/master)

## Description

This tool can be used for uploading generated bit-stream to ether
[iCE40HX1K-EVB] or [iCE40HX8K-EVB].

Supported tools are:
* [ARM-USB-OCD-H]
* [ARM-USB-TINY-H]

## Hardware connection

Connect the flashing tool with the target board as shown:

| Name         | JTAG          | UEXT | Description  |
| ------------ |:------------: | :--: | ------------ |
| **VCC**      | 1             | 1    | Power supply (*see Note*)|
| **GND**      | 4             | 2    | Ground       |
| **CDONE**    | 11            | 5    | iCE40 status indication |
| **CRESET**   | 3             | 6    | iCE40 reset signal |
| **MISO**     | 13            | 7    | Serial data from the board to the PC |
| **MOSI**     | 5             | 8    | Serial data from the PC to the board |
| **SCK**      | 9             | 9    | Serial clock |
| **CS**       | 7             | 10   | Chip select |

**Note** : In order to work properly ARM-USB-OCD-H must have target voltage
feedback. One simple way is to solder **3.3V_E1** jumper, found on the bottom
of the board. If you're getting the voltage from somewhere else make sure
it's **3.3V**!

## Installation

The recommended way is:

```sh
pip3 install prolice
```

If you chose building from sources:

```sh
git clone https://gitlab.com/stefan.mavrodiev/prolice.git
cd prolice
python3 setup.py install
```

## Usage

Assuming you have bit-stream file called hardware.bin:

```sh
prolice /path/to/file/hardware.bin
```


[iCE40HX1K-EVB]: https://www.olimex.com/Products/FPGA/iCE40/iCE40HX1K-EVB/
[iCE40HX8K-EVB]: https://www.olimex.com/Products/FPGA/iCE40/iCE40HX8K-EVB/
[ARM-USB-OCD-H]: https://www.olimex.com/Products/ARM/JTAG/ARM-USB-OCD-H/
[ARM-USB-TINY-H]: https://www.olimex.com/Products/ARM/JTAG/ARM-USB-TINY-H/
## Changelog

#### Prolice 0.2.4
* Fix distribution bug
* Enable support for ARM-USB-TINY-H

#### Prolice 0.2.2
* Fix PyPi distribution

#### Prolice 0.2.1
* Updated documentation

#### Prolice 0.2.0
* Initial release
bfd.py 1.0.2
A simple API wrapper for botsfordiscord.com written in Python.
Requires Python: >= 3.5
Keywords: api wrapper discord bot bots stats statistics

[![PyPI](https://img.shields.io/pypi/v/bfd.py.svg)](https://pypi.org/project/bfd.py/)

# Warning: bfd.py has been deprecated
 Please consider using [discordlists.py](https://github.com/MattIPv4/discordlists.py/) instead which is also available on [PyPi](https://pypi.org/project/discordlists.py/).

# bfd.py
**A simple API wrapper for botsfordiscord.com written in Python.**

## Installation

Install via pip (recommended)

    pip install bfd.py

## Features

* POST server count
* AUTOMATIC server count updating
* GET bot info
* GET global bot list
* GET bot list for a specific user
* GET widgets url
* SEARCH for bots

## Example Discord.py Rewrite cog


```Python
    import bfd
    import discord
    from discord.ext import commands


    class BotsForDiscord:
        def __init__(self, bot):
            self.bot = bot
            self.token = 'token'  # set this to your BFD token
            self.bfd = bfd.Client(self.bot, self.token)  # Create a Client instance
            self.bfd.start_loop()  # Posts the server count every 30 minutes

        @commands.command()
        async def botinfo(self, ctx, bot: discord.User): # unfiltered botinfo demo
            info = await self.bfd.get_bot(bot.id)
            if info is None:
                await ctx.send("Can't find this bot on BFD")
                return

            embed = discord.Embed(title="BotInfo")
            for key, value in info.as_dict().items():
                if key == "" or value == "":
                    continue

                embed.add_field(name=key, value=str(value))

            await ctx.send(embed=embed)


    def setup(bot):
        bot.add_cog(BotsForDiscord(bot))
```

## Discussion, Support and Issues
For general support and discussion of this project, please join the Discord server: https://discord.gg/qyXqA7y \
[![Discord Server](https://discordapp.com/api/guilds/204663881799303168/widget.png?style=banner2)](https://discord.gg/qyXqA7y)

To check known bugs and see planned changes and features for this project, please see the GitHub issues.\
Found a bug we don't already have an issue for? Please report it in a new GitHub issue with as much detail as you can!