semvec/pypi-packages huggingface dataset:
ZeroSeg-Improved 0.3
Improved code library for the ZeroSeg display board for the Raspberry Pi.
License: MIT
Requires Python: >=3.6
Keywords: raspberry pi rpi led max7219 matrix seven segment zeroseg

# ZeroSeg

![ZeroSeg on a Raspberry Pi Zero](https://github.com/AverageMaker/Imagestore/blob/master/ZeroSeg-Main_zpsvzs47kds.JPG?raw=true)

A ***improved*** version of code library for the ZeroSeg Raspberry Pi Zero add-on board from [ThePiHut.com](https://thepihut.com/zeroseg).
**This version isn't fully compliant with original ZeroSeg library.** Have been created to simplify
usage of it.

The ZeroSeg contains two (4-character) 7-segment displays, giving you the ability to display
8-digit data on a tiny Pi Zero sized add-on board. It also holds 2 tactile buttons for
controlling data, brightness or any other element of your project.

The ZeroSeg works with any 40 GPIO pin Raspberry Pi – not just the Pi Zero - and is controlled by
a MAX7219CNG integrated circuit, which manages the display of each LED segment, requiring very few
GPIO pins to run the board.

This code library was originally cloned from Richard Hull's original open source MAX7219 library
[right here on GitHub](https://github.com/rm-hull/max7219). This has since been replaced with the [luma.led_matrix](https://github.com/rm-hull/luma.led_matrix) library.

# Getting started

Look at project [wiki](https://github.com/samedamci/ZeroSeg/wiki).

## References

[Original base GitHub Repository](https://github.com/rm-hull/max7219) \
[Official ZeroSeg library](https://github.com/AverageMaker/ZeroSeg)

## License

The MIT License (MIT)

Copyright (C) 2016 Richard Hull \
Copyright (C) 2016-2018 Richard Saville \
Copyright (C) 2020 samedamci \<samedamci@disroot.org\>
apex-legends-voicelines 1.0.0
Python program to get a random voiceline from an Apex Legend
License: MIT
Requires Python: >=3.8,<4.0
Keywords: entertainment,Apex Legends,game

# Apex Legends voicelines

[[_TOC_]]

## What is this package?

I love Apex Legends voice lines so much that I wanted to use it as my window title of my text editor so I created this.

You can also use it in your terminal too. 

Just run `apex-voicelines` in the terminal and it will randomly print one voiceline.

## Install

This package is available on [PyPI](https://pypi.org/project/apex-legends-voicelines/).

Recommended way to install is by using [pipx](https://github.com/pipxproject/pipx/).

Pipx will add isolation so that your system is always unaffected.

```sh
pipx install apex-legends-voicelines
```

But you can also install using your standard `pip`.

```sh
python3 -m pip install apex-legends-voicelines # or pip3 install apex-legends-voicelines
```

### Prerequsities

You need Python 3. 

Recommended version is Python 3.8.

## Usage

To use just run `apex-voicelines`

Example:

```sh
$ apex-voicelines
My squad must be very proud - MRVN aka Pathfinder                                                                                               
```

---

**TODO** Legend selection

Maybe some time later, I will work on specifying which Legend voicelines you need as some argument.

I am thinking of doing something like `apex-voicelines --legend wraith`.

---

**TODO** VSCode support

I don't use VSCode much so I don't know how to make it work with it. But maybe I will look into it.

---

*If anyone figured on how to use it for some other purpose let me know, I'm excited.*

### Using inside Emacs

These voicelines can be used inside Emacs.

You can use the voicelines as the frame title.

This is how I use it.

#### As frame title on startup

Add this to your config

```emacs-lisp
(setq frame-title-format (shell-command-to-string "apex-voicelines"))
```

#### Use interactively

You can also add this in your config and change the title on demand

```emacs-lisp
(defun change-emacs-title-apex ()
  (interactive)
  (setq frame-title-format (shell-command-to-string "apex-voicelines")))
```

Just run `M-x change-emacs-title-apex` to do so.

## License

MIT License
flightcontrol 0.2.0
Flight tracking resources
License: MIT

Flight Control
==============
Flight Control is a python package for storing, tracking, and analyzing flight data.
Example:

    import flightcontrol
    import time

    #Create a new instance of the AltitudeLogger class
    al = flightcontrol.AltitudeLogger()

    #Simulate altitude changing
    al.LogAltitude(50)
    time.sleep(0.5)
    al.LogAltitude(45)
    time.sleep(0.5)
    al.LogAltitude(40)
    time.sleep(0.5)
    al.LogAltitude(35)

    #Get rate of change
    roc = al.RateOfChange_cm_per_second()
    print(roc)

    #Get seconds until impact
    #This will only return a value if the altitude is dropping
    sui = al.SecondsUntilImpact()
    print(sui)