semvec/pypi-packages huggingface dataset:
ohnoyoudidnt 0.1
doc8 linter for frc-docs

# ohnoyoudidnt
![ci](https://github.com/wpilibsuite/ohnoyoudidnt/workflows/ci/badge.svg)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

ohnoyoudidnt is a doc8 sphinx linter intended for use by [frc-docs](https://github.com/wpilibsuite/frc-docs). Its an expansion to the normal doc8 linter with custom checks intended to follow the frc-docs [styleguide](https://docs.wpilib.org/en/stable/docs/contributing/style-guide.html)

Project created by [TheTripleV](https://github.com/thetriplev)

## Usage

### Manual

1. Ensure [doc8](https://pypi.org/project/doc8/) is installed.
2. Install ohnoyoudidnt
```python
python -m pip install ohnoyoudidnt
```
3. Run the linter using
```
doc8
```

### VS Code

1. Follow instructions 1 and 2 from above
2. Install the `reStructuredText` VS Code extension
3. Add
```json
    "restructuredtext.linter.name": "doc8",
    "restructuredtext.linter.extraArgs": [
        "--ignore D001",
        "--ignore D004",
        "--ignore D002",
        "--ignore WUMBO002"
    ],
```
to your `settings.json` file.

## Contribution Guidelines
### Checks
- Checks can never yield a line number < 1
- Checks must compile regex patterns once per import, not once per file
walden 0.0.73
A .tex journaling system
Requires Python: >=3.5

# Goal

Develop a simple automated journaling system that removes the pain points of maintenance and
organization, allowing the user to focus on writing. 

# Install

Available via pip: `pip install walden`

# Usage

Walden will create a `journals/` folder in your home directory. This is where all your output and
.tex files will be stored. The commands are:

| Flag                  | Description                    |
|-----------------------|--------------------------------|
| walden -h                    | show help dialog               |
| walden delete <journal name> | Delete an existing journal     |
| walden today <journal name>  | New entry in specified journal |
| walden list                  | List names of journals         |
| walden build <journal name>  | Compile journal as .pdf        |
| walden view <journal name>   | View journal as .pdf           |


# TODO:
-  better support for journal names with spaces (replace " " with _ for path)
-  better cli support using click or argparse
-  change path where journals are stored
-  allow journal import/export
-  plug-in system for things like weather/question of the day
dict-logic 1.0.0
A library to query a player's overwatch stats from Battle.net
Keywords: dict logic

# dict-logic
## Usage
### Basic
```python
from dictlogic import Logic

logic = Logic()
result = logic.run({
    'sequence': [
        {'print': 'hello world!'},
        {'set': ['a', 10]},
        {'print': ['the value of a is', {'get': 'a'}]},
        {'select': [
            {'>': [{'get': 'a'}, 5]},
            {'print': 'this expression will be evaluated'},
            {'print': 'this expression will be ignored'},
        ]},
        {'set': ['a', {'*': [{'get': 'a'}, 2]}]},
        {'get': 'a'},
    ],
})
assert(result == 20)
```

### With given local variabls
```python
from dictlogic import Logic

logic = Logic()
result = logic.run({
    'sequence': [
        {'print': ['the value of a is', {'get': 'a'}]},
        {'set': ['c', {'+': [{'get': 'a'}, {'get': 'b'}]}]},
        {'print': ['the value of c is', {'get': 'c'}]},
    ],
}, {
    'a': 5,
    'b': 3,
})
```

### With custom functions
```python
from dictlogic import Logic

logic = Logic()

@logic.add('sqrt')
def sqrt(x):
    return x() ** 0.5

@logic.add('mean')
def power(*args):
    args = [arg() for arg in args]
    return sum(args) / len(args)


logic.run({'print': {'sqrt': 2}})
logic.run({'print': {'mean': [1, 2, 3, 4, 5, 6, 7]}})
```
eventtracer-py 0.0.2
A library for tracing code into the chrome Event Trace format
Requires Python: >=3.6

Generating Data:
----------------
Create tracer
```
from eventtracer import EventTracer
et = EventTracer("myeventlog.json")
```

Procedural API
```
et.begin("Eating Cake")
...
et.end()
```

Decorator API
```
@et.decorator
def foo():
    ...

foo()
```

Context Manager API
```
with et.context("doing stuff"):
    ...
```

Profiler API
```
et.set_profile(True)
```

If filename isn't specified, then data will be buffered
in-memory (`et.buffer`) and can be written to disk in
one go with `et.flush(filename)`.

Viewing Data:
-------------
Visit `chrome://tracing`

Load JSON file

![Screenshot](.github/readme/trace.png)


Format Spec:
------------
[Google Doc](https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU/edit)

Uses the JSON Array Format because that's the one which can be appended to from multiple threads


Packaging Howto:
----------------
Because I forget every time I need to do this...

```
vim setup.py  # change version
python3 setup.py sdist bdist_wheel
python3 -m twine upload dist/*
```
buildbot-abstract 0.3.12
Small buildbot abstraction
Requires Python: >=3.6
Keywords: vault

# Buildbot abstract

Small buildbot abstraction

## Status

| Source     | Shields                                                        |
| ---------- | -------------------------------------------------------------- |
| Project    | ![license][license] ![release][release]                        |
| Publishers | [![pypi][pypi]][pypi_link]                                     |
| Downloads  | ![pypi_downloads][pypi_downloads]                              |
| Raised     | [![issues][issues]][issues_link] [![pulls][pulls]][pulls_link] |

### Installing

To install the package from pypi:

```bash
pip install buildbot_abstract
```

Alternatively, you can clone the repo and build the package locally.

### Contributing

Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests.

### Versioning

[SemVer](http://semver.org/) is used for versioning. For a list of versions available, see the tags on this repository.

Bump2version is used to version and tag changes.
For example:

```bash
bump2version patch
```

Releases are made on every major change.

### Author

- **Joel Lefkowitz** - _Initial work_ - [Joel Lefkowitz](https://github.com/JoelLefkowitz)

See also the list of contributors who participated in this project.

### License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

### Naming converntion

- Package name: buildbot_abstract
- Project/Repository name: buildbot-abstract

### Acknowledgments

None yet!

<!--- Table links --->

[license]: https://img.shields.io/github/license/joellefkowitz/buildbot-abstract
[release]: https://img.shields.io/github/v/tag/joellefkowitz/buildbot-abstract
[pypi_downloads]: https://img.shields.io/pypi/dw/buildbot-abstract
[pypi]: https://img.shields.io/pypi/v/buildbot-abstract "PyPi"
[pypi_link]: https://pypi.org/project/buildbot-abstract
[issues]: https://img.shields.io/github/issues/joellefkowitz/buildbot-abstract "Issues"
[issues_link]: https://github.com/JoelLefkowitz/buildbot-abstract/issues
[pulls]: https://img.shields.io/github/issues-pr/joellefkowitz/buildbot-abstract "Pull requests"
[pulls_link]: https://github.com/JoelLefkowitz/buildbot-abstract/pulls
telemck 0.3.3
Python library for accessing telemd monitoring data

telemc-py
=========

[![PyPI Version](https://badge.fury.io/py/telemc.svg)](https://badge.fury.io/py/telemc)

Library and client tools for accessing and recording [telemd](https://github.com/edgerun/telemd) monitoring data.


CLI
---

run `make install` and `source .venv/bin/activate` install locally. 

    % telemc --help
    usage: telemc [-h] [--redis-host REDIS_HOST] [--redis-port REDIS_PORT]
                  {list,info,pause,unpause,follow} ...
    
    positional arguments:
      {list,info,pause,unpause,follow}
                            telemc command
        list                list nodes
        info                show node info
        pause               pause telemetry reporting
        unpause             start telemetry reporting
        follow              subscribe to the telemetry data
    
    optional arguments:
      -h, --help            show this help message and exit
      --redis-host REDIS_HOST
                            redis host
      --redis-port REDIS_PORT
                            redis port

Library
-------

Usage examples

### Print telemetry:

```python
import redis
import telemc

rds = redis.Redis(decode_responses=True)

with telemc.TelemetrySubscriber(rds) as sub:
    for telem in sub:
        print(telem.timestamp, telem.node, ...)
```

Or use the higher-level `TelemetryRecorder`, which is a thread and can be extended to implement various recording
tools.

```python
import telemc
recorder = telemc.recorder.TelemetryPrinter(rds)
recorder.start()
``` 

### Pause all telemetry daemons

```python
ctrl = telemc.TelemetryController(rds)
ctrl.pause_all()
```