semvec/pypi-packages huggingface dataset:
bulma.py 0.8.0
Small Compiler for Bulma and Extensions.
License: MIT
Requires Python: >=3.6

bulma.py
========

.. image:: https://img.shields.io/pypi/l/bulma.py.svg
    :target: https://opensource.org/licenses/MIT
    :alt: Project License

.. image:: https://img.shields.io/pypi/v/bulma.py.svg
    :target: https://pypi.python.org/pypi/bulma.py
    :alt: Library Version

.. image:: https://img.shields.io/pypi/pyversions/bulma.py.svg
    :target: https://pypi.python.org/pypi/bulma.py
    :alt: Required Python Versions

.. image:: https://img.shields.io/pypi/status/bulma.py.svg
    :target: https://github.com/nekitdev/bulma.py
    :alt: Development Status

.. image:: https://img.shields.io/pypi/dw/bulma.py.svg
    :target: https://pypi.python.org/pypi/bulma.py
    :alt: Library Downloads / Week

.. image:: https://app.codacy.com/project/badge/Grade/bc4c4a28974e4eaca0a1930692f64153
    :target: https://app.codacy.com/gh/nekitdev/bulma.py/dashboard
    :alt: Code Quality

bulma.py is a library that provides small and nifty compiler for the Bulma framework and its extensions.

Installing
----------

**Python 3.6 or higher is required**

To install the library, you can just run the following command:

.. code:: sh

    # Linux/OS X
    python3 -m pip install --upgrade bulma.py

    # Windows
    py -3 -m pip install --upgrade bulma.py

Development Version
-------------------

You can install latest development version from GitHub:

.. code:: sh

    $ git clone https://github.com/nekitdev/bulma.py.git
    $ cd bulma.py
    $ python -m pip install --upgrade .

Quick example
-------------

Below is an example of compiling the default theme with all extensions.

.. code:: python

    from bulma import EXPANDED, FIND, Compiler

    folder = "."  # current directory

    compiler = Compiler(
        extensions=FIND,  # find all extensions
        output_style=EXPANDED,  # expand the output
    )

    include = compiler.save(folder)  # compile and save to the folder

    print(f"saved to {include.find_theme_relative()}")

Authors
-------

This project is mainly developed by `nekitdev <https://github.com/nekitdev>`_.
diffusor 1.3.0
A pure-python diffing utility using Google's diff-match-patch.
License: MIT
Requires Python: >=3.7,<4.0

# Diffusor
[![CircleCI](https://circleci.com/gh/kobaltcore/diffusor.svg?style=svg)](https://circleci.com/gh/kobaltcore/diffusor)
[![Downloads](https://pepy.tech/badge/diffusor)](https://pepy.tech/project/diffusor)

A pure-python diffing utility using Google's [diff-match-patch](https://github.com/google/diff-match-patch).

This is a utility script for a very specific purpose, namely easy generation and application of diffs for Python-centric projects, programmatically from within Python.

This tool serves exactly two functions:
1. Create diffs between two versions of the same file
2. Apply diffs to a file

It works on a per-file basis.

If you don't have a specific use case for this, you're probably better off using Git diffs and the ubiquitous Linux `patch` tool. Diffusor exists specifically for easing the patch-apply workflow within Python programs, nothing more, nothing less.

## Installation
Diffusor can be installed via pip:
```bash
$ pip install diffusor
```

Please note that Diffusor requires Python 3 and will not provide backwards compatibility for Python 2 for the foreseeable future.

## Usage
To create a diff:
```bash
diffusor diff <source_file> <modified_file> -n <target_file>
```

To apply a diff:
```bash
diffusor apply <patch_file> -t <target_file>
```

### Command Line Interface
```
Usage: diffusor.py [OPTIONS] COMMAND [ARGS]...

  A pure-python diffing utility using Google's diff-match-patch.

  This tool serves exactly two functions:
  1. Create diffs between two versions of the same file
  2. Apply diffs to a file

  Commands can be abbreviated by the shortest unique string.

  For example:
      diff -> d
      apply -> a

  Examples of full commands:
      diffusor diff <source_file> <modified_file> -n <target_file>
      diffusor apply <patch_file> -t <target_file>

Options:
  -d, --debug / -nd, --no-debug  Print debug information or only regular
                                 output

  --help                         Show this message and exit.

Commands:
  apply
  diff
```