semvec/pypi-packages huggingface dataset:
zplgen 0.0.6
A library to aid in generating ZPL2 code.
License: MIT
Keywords: zpl zpl2

zplgen
======

.. image:: https://travis-ci.org/kolonialno/zplgen.svg?branch=master
    :target: https://travis-ci.org/kolonialno/zplgen

zplgen is a utility library to aid in generating ZPL2 code.

The core idiom is the `Command` class, which subclasses `bytes`. Another helper is the `Font` class.

Example usage
-------------

.. code:: python

  f_default = Font('V', height=30)

  label = bytes()

  label += Command.label_start()
  label += Command.label_home(30, 0)

  label += Command.graphic_circle(x=550, y=15, diameter=100, border=6)
  label += Command.field('?', x=560, y=50, font=f_default(45))

  label += Command.field(name, x=0, y=135, font=f_default)

  label += Command.label_end()

  send_to_printer(label)

Running tests
-------------

In the base directory, run the following:

.. code:: bash

  python -m unittest discover -s tests

License
-------

zplgen is released under the `MIT License`_.

.. _Mit License: https://opensource.org/licenses/MIT
rpi-gpio-emu 0.0.1
Placeholder package to emulate RPi.GPIO package on non-Pi devices
License: MIT
Keywords: Raspberry Pi GPIO

This package provides placeholders to emulate the RPi.GPIO package functions on other devices.

The expected output from the functions "input", "getmode", "event_detected", and the delay time in seconds for "wait_for_edge" can be set using the "out" keyword argument.
The output for these functions is random otherwise, except for "wait_for_edge" which is 1 second.

The remaining functions "add_event_callback", "add_event_detect", "cleanup", "getmode", "gpio_function", "output", "remove_event_detect", "setmode", "setup", and "setwarnings" do nothing.

For examples and documentation of RPi.GPIO, visit http://sourceforge.net/p/raspberry-gpio-python/wiki/Home/

Project page: https://github.com/aharshac/rpi-gpio-emu

Change Log
==========

0.0.1
------
- Based on RPi.GPIO 0.6.5
jiri-gitlab 0.2.4
A tool to create a Jiri manifest file from Gitlab projects
License: MIT

# jiri-gitlab

This is a small utility that creates a [jiri manifest file](https://fuchsia.googlesource.com/jiri/) 
from Gitlab projects.

Use this if you want a complete and updated set of repositories from your private gitlab instance 
on your machine.

## Install

`pip3 install --user jiri-gitlab`

## Instructions

Ensure you've followed [the Jiri bootstrapping guide](https://fuchsia.googlesource.com/jiri/#quickstart).

Then, create a file called `~/.python-gitlab.cfg` in your home directory and add:

```cfg
[company-name-here]
url = https://your-gitlab-url/
private_token = your-private-token

```

You need to create a private token with read access to your repositories.

Once you've done that, run:

```
cd $MY_ROOT # Or wherever you've defined your project directory to be
jiri-gitlab --auth company-name-here "*" > .jiri_manifest
```

This will produce an XML file that Jiri can consume to pull all your projects:

```
jiri update -gc=true
```

There is also a utility tool to list projects:

```
jiri-list ~/projects/.jiri_manifest
```

You can combine this with `fzf` for quick project navigation:

```
jiri-list ~/projects/.jiri_manifest | fzf --ansi --preview "mdcat {}/README.md"
```