semvec/pypi-packages huggingface dataset:
pyleague 0.2.0
Pyleague is a cli tool that helps organizing competitions. After providing pyleague with a list of the competition's participants you will be able to get the matches for each day of the competition.
Requires Python: >=3.9,<4.0

# Pyleague

## Index

1. [Overview](#overview)
2. [Requirements](#requirements)
3. [Installation](#installation)
4. [Configuration](#configuration)
5. [Tests](#tests)
6. [Deployment](#deployment)
   7.[Getting started:](#getting_started)

## <a name="overview">Overview</a>

Pyleague is a cli tool that helps organizing competitions.
After providing pyleague with a list of the competition's participants
you will be able to get the matches for each day of the competition.

## <a name="requirements">Requirements</a>

* System requirements

python >= 3.9

* Package requirements

Listed in pyproject.toml under '[tool.poetry.dependencies]'

## <a name="installation">Installation</a>

### For use

Fetch it from pip

```bash
pip install pyleague
```

### For development

To install package dependencies, install [poetry](https://python-poetry.org/docs/), then run the following command:

```bash
poetry install
```

## <a name="tests">Tests</a>

From root directory run:

~~~
pytest pyleague/tests
~~~

## <a name="deployment">Deployment</a>

Use poetry

```commandline
poetry build
```

```commandline
poetry publish
```

## <a name="getting_started">Getting started</a>

To try the app:

* Install it

* On your terminal run

```commandline
pyleague init
```

Define your league participants as asked.

* Check the matches for today

```commandline
pyleague today
```

* Update the league to the next day

```commandline
pyleague next
```

```commandline
pyleague today
```
newrelic-grep 1.0.2
grep command for New Relic
Requires Python: >=3.7,<4.0

## grep command for New Relic Logs

This package provides a command `nrgrep` which is grep-like command for New Relic Logs.

New Relic can store plenty of logs and we can query it really fast on the very nice UI on the web site, but some of developers still prefer to use command line interface to query logs than modern UIs.
This command helps such kind of people.

## Install

```
pip install newrelic-grep
```

## Prereqiusits

Set environment variables to access New Relic API:

**NR_API_KEY**
    USER API key

**NR_ACCOUNT_ID**
    Account ID of New Relic User

## Usage

```
# nrgrep [--since DATETIME] [--until DATETIME] <KeyWord to search>
```

**Exapmple**

```
nrgrep --since 20230301140000 --until 20230301150000 'Failed to write'
```

### Options

**--since**
    Start time to be queried.
    Format is `YYYYmmddHHMMSS`.
    You can omit right part if you want.
    `2023030114` will be `20230301140000`
    Default is 3 days ago.

**--until**
    End time to be queried.
    Format is as same as `--since`

**-a**
    Show attibute before log message.
    You can use this option multiple times.

Ex.
```
nrgrep -a hostname -a logtype 'Failed to write'
```

**-q**
    Query to attributes. Format is `Attribute Name:Value`.
    You can use this option multiple times.

Ex.
```
ngrep -q hostname:myhost -q service=api 'Failed to write'
```

**-d**
    Show queries to be sent.