semvec/pypi-packages huggingface dataset:
django-bulmacss 0.0.4
django-bulmacss 是一个基于 Bulma CSS 的常用 HTML 模板库，为 Django 开发者提供了快速搭建 Django 应用程序的解决方案。
Requires Python: >=3.8
Keywords: bulma,django,django-bulma,django-bulmacss

# django-bulmacss：快速搭建 Django 应用程序的必备工具

`django-bulmacss` 是一个基于 `Bulma CSS` 的常用 HTML 模板库，为 Django 开发者提供了快速搭建 Django 应用程序的解决方案。

`django-bulmacss` 提供了以下功能：

* 基于 Bulma CSS 的常用 HTML 模板，包括表单、导航栏、页脚、消息、模态框等。
* 开箱即用的 Django 扩展模板，如 Django-allauth、Django-filters、Django.contrib.flatpages 等。
* 允许您通过 Bulma CSS 的官方方式来自定义 CSS，比如通过 node-sass 来自定义 CSS 主题颜色等。

## Screenshots

![Login Page](./login.jpeg)

![User Profile](./profile.jpeg)

## Quick Start

Install Package

``` {.bash}
pip install django-bulmacss
```

修改`settings.py`

``` {.bash}
INSTALLED_APPS = [
    'bulma',
    ...
]

FORM_RENDERER = 'django.forms.renderers.TemplatesSetting'
```

## Extra

### Feather Icons

Simply beautiful open source icons

<https://feathericons.com/>

### Jdenticon

Open source library for generating identicons.

<https://jdenticon.com/>
pyBusPirateLite 0.1.0
A Python driver for Bus Pirate
Requires Python: >=3.7


[![Documentation Status](https://readthedocs.org/projects/pybuspiratelite/badge/?version=latest)](http://pybuspiratelite.readthedocs.io/en/latest/?badge=latest)


pyBusPirateLite
===============

Python library for BusPirate based on code from Garrett Berg.
It tries to be more Pythonic than the original code.

This library allows using the following modes:
* SPI
* I2C
* UART
* Bitbang
* Onewire
* Rawwire
* ADC measurements

For more information about the BusPirate see http://dangerousprototypes.com/docs/Bus_Pirate 

Based on code from Garrett Berg <cloudform511@gmail.com>
(http://dangerousprototypes.com/2011/03/14/new-version-of-pybuspiratelite-python-library/)

**Note**: Python 3.6 is required, mainly due to the use of `f`-strings.

Examples
--------

### SPI

```python
from pyBusPirateLite.SPI import SPI

spi = SPI()
spi.pins = SPI.PIN_POWER | SPI.PIN_CS 
spi.config = SPI.CFG_PUSH_PULL | SPI.CFG_IDLE
spi.speed = '1MHz'

# send two bytes and receive answer
spi.cs = True
data = spi.transfer( [0x82, 0x00])
spi.cs = False
```

### Bitbang
```python
from pyBusPirateLite.BitBang import BitBang

bb = BitBang()
bb.outputs = bb.PIN_AUX
bb.pins = 0        # set aux pin = 0   
bb.pins = bb.PIN_AUX  # set aux pin = 1
```

### I2C
```python
from pyBusPirateLite.I2C import I2C
i2c = I2C()
i2c.speed = '400kHz'
i2c.configure(power=True)
i2c.write_then_read(2,0, [0xec, 0xf6])  # set write register
i2c.write_then_read(1,1,[ 0xed])        # read from register
```

### Detect port
```python
from pyBusPirateLite.BitBang import BitBang
bb = BitBang(connect=False)
port = bb.get_port()
print(port)
bb.connect()
```