semvec/pypi-packages huggingface dataset:
bytededt 0.0.5
ecom debug trace python sdk
Requires Python: !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7
Keywords: boilerplate


#  使用说明：
https://bytedance.larkoffice.com/wiki/E8lgwm53UiLIV8k7wwfcCmStnIc

## Install
```bash
pip install bytededt ~= 
```
es-agent-client 0.0.1
A python implementation of an Elastic Agent Client
Requires Python: >=3.10

# Python Elastic Agent client

Looking for the [main Elastic Agent client (GoLang)](https://github.com/elastic/elastic-agent-client)?

This is a python implementation, and is a technical preview.

### Using an example

Agent needs a binary to run.
A simple executable shell script will do.

```shell
#!/bin/bash
PYTHON_PATH=/path/to/bin/python
PY_AGENT_CLIENT_PATH=/path/to/python-elastic-agent-client
$PYTHON_PATH $PY_AGENT_CLIENT_PATH/es_agent_client/examples/fake/component.py
```

Put those contents in a `elastic-agent*/data/elastic-agent*/components/python-elastic-agent-client` file, and
```shell
chmod 755 elastic-agent*/data/elastic-agent*/components/python-elastic-agent-client
```

You'll also need to create a specfile at `elastic-agent*/data/elastic-agent*/components/python-elastic-agent-client.spec.yml`
with the contents:
```yaml
version: 2
inputs:
  - name: fake-py
    description: "Fake Py component input"
    platforms: &platforms
      - linux/amd64
      - linux/arm64
      - darwin/amd64
      - darwin/arm64
      - windows/amd64
      - container/amd64
      - container/arm64
    outputs: &outputs
      - elasticsearch
    shippers: &shippers
      - shipper
    command: &command
      restart_monitoring_period: 5s
      maximum_restarts_per_period: 1
      timeouts:
        restart: 1s
      args: []
```

Then use this input in your `elastic-agent.yml` with:
```
inputs:
  - type: fake-py
    id: fake-py
    use_output: default
```

You can easily tail the logs by running:
```
sudo ./elastic-agent 2>&1 >/dev/null  | jq '.message'
```

### Developing

To get started, run:

```shell
make clean install
```


### What's happening?

##### Protobuf

The proto definitions for Elastic Agent live in the GoLang implementation repo.
To avoid duplicate code, they are not checked in here.
Instead, when `make generate` runs, it will:
1. download the raw `*.proto` files from the GoLang repo
2. use `grpc_tools.protoc` to generate python code from those specs
3. store that generated code in `es_agent_client/generated`
4. post-process them a bit (grpc_tools generates python2 imports, instead of python3 🤷)



### TODO List
- [ ] remove all inline TODOs
- [ ] write tests
- [ ] use ECS logging
- [ ] add NOTICE file
- [ ] push to pypi
- [ ] open source
- [ ] record a demo
- [ ] write a blog
- [ ] one day...
  - [ ] support "custom actions" to trigger a sync, test connection, etc
  - [ ] capture diagnostic metrics. See [suggested metrics](https://docs.google.com/document/d/1NaaoweevnylnGAPXzuwvwuFcC7dYSIDNUoBkf2SCR5I/edit#heading=h.gf5gk6n81441)
  - [ ] add automation to re-generate+PR if source protos are changed. GH action on elastic-agent-client repo?
kaquel 0.3.1
Tools for handling ElasticSearch queries in various languages
Requires Python: <4.0,>=3.9
Keywords: elasticsearch, es_query, es-query, kibana, kql, lucene, parsing, query

``kaquel`` -- Tools for handling ElasticSearch queries in various languages
===========================================================================

Kaquel, pronounced */kækyɛl/*, is a toolset for parsing and rendering
query languages for ElasticSearch.

As described in `Parsing queries`_, you can parse Kibana Query Language (KQL),
Apache Lucene and ElasticSearch queries, and render them using the
`ElasticSearch Query DSL`_. For example, with KQL:

.. code-block:: python

    from kaquel.kql import parse_kql

    query = parse_kql('identity: { first_name: "John" }')
    print(query.render())

The project is present at the following locations:

* `Official website and documentation at kaquel.touhey.pro <Kaquel website_>`_;
* `Kaquel repository on Gitlab <Kaquel on Gitlab_>`_;
* `kaquel project on PyPI <Kaquel on PyPI_>`_.

.. _Kaquel website: https://kaquel.touhey.pro/
.. _Kaquel on Gitlab: https://gitlab.com/kaquel/kaquel
.. _Kaquel on PyPI: https://pypi.org/project/kaquel/
.. _Parsing queries: https://kaquel.touhey.pro/guides/parse.html
.. _ElasticSearch Query DSL:
    https://www.elastic.co/guide/en/elasticsearch/reference/current/
    query-dsl.html
my-data-structure-package 1.0.0
A Python package for data structures and algorithms
Requires Python: >=3.4

# My Data Structure Package

A Python package that provides various data structures and algorithms including arrays, stacks, queues, linked lists, trees, graphs, and sorting algorithms.

## Features

- **Data Structures**:
  - Limited Array
  - Stack
  - Queue
  - Linked List
  - Circular Linked List
  - Binary Tree
  - Graph

- **Algorithms**:
  - Sorting Algorithms (Bubble Sort, Insertion Sort, Selection Sort, Quick Sort, Heap Sort)
  - Expression Conversion (Infix to Postfix, Infix to Prefix)
  - Graph Implementation

## Installation

You can install this package directly from the source. Clone the repository or download the files and run the following command in the terminal:

```bash
pip install .
rustiter 0.2.0
Rust iterator utilities for Python
Requires Python: >=3.6
Keywords: iter, iterator, rust

# Rustiter

Rust-inspired iterator utilities for Python. This library implements **most of** the functions from the [Rust Iterator trait](https://doc.rust-lang.org/std/iter/trait.Iterator.html).

## Why

I'm a big fan of chaining function calls, but Python's functional programming tools can be cumbersome. No one really wants to use the built-in `map`, `filter`, and `reduce` functions.

I previously experimented with [simpleufcs](https://github.com/lxl66566/simpleufcs), which allows for chainable function calls in Python.

This library offers an alternative: while it doesn't provide full UFCS (Uniform Function Call Syntax), it performs slightly better and brings many useful functions from Rust’s iterator design, such as `take`, `flat_map`, and more. If you're familiar with Rust and not too concerned about performance, you'll likely enjoy using this.

## Installation

```sh
pip install rustiter
```

## Example

Here are some commonly used functions:

```py
from rustiter import rter
ret = (
    rter(range(10))
    .filter(lambda x: x % 2 == 0)
    .map(lambda x: x + 1)
    .take(3)
    .collect()
)
assert ret == [1, 3, 5]
assert rter(range(10)).reduce(lambda x, y: x + y, 0) == 45
```

Additional Information: **Every function** includes a doctest to demonstrate its usage.

### Mutability

The mutability of Python's iterator is not ideal. Therefore, I marked the mutability of the functions as follows:

- `[Mut]`: The iterator may be modified after this operation. If there's not a `retains = ...`, the rest elements is undefined.
- `[UnMut]`: The iterator will not be modified.
- `[Consume]`: The iterator may be consumed after this operation. Note that this **does not** mean the iterator will become empty; there may still be elements in it. This means that you should not use this iterator again.

## benchmark

Windows 11, python 3.12.7

| Name (time in ns) | Min               | Max                 | Mean              | StdDev             | Median            | IQR             | Outliers   | OPS (Kops/s)     | Rounds | Iterations |
| ----------------- | ----------------- | ------------------- | ----------------- | ------------------ | ----------------- | --------------- | ---------- | ---------------- | ------ | ---------- |
| test_normal       | 524.9999 (1.0)    | 26,137.4998 (1.0)   | 600.2414 (1.0)    | 247.7502 (1.0)     | 575.0001 (1.0)    | 37.5001 (1.0)   | 2947;10025 | 1,665.9964 (1.0) | 169492 | 8          |
| test_rustiter     | 1,399.9997 (2.67) | 251,400.0007 (9.62) | 1,669.7782 (2.78) | 2,722.4341 (10.99) | 1,599.9995 (2.78) | 100.0008 (2.67) | 107;1465   | 598.8819 (0.36)  | 31646  | 1          |
flowsplit 1.0
将pcap文件按照session或者flow进行分隔
Requires Python: >=3.8

# flowsplit介绍

flowsplit 是一个用于分隔pcap网络流量的 Python 库，将流量按照session进行分隔，可以输出pcap格式和json格式。

## 安装

```bash
pip install flowsplit
```

## Quick Start

```python
from flowsplit import split_flow

origin_pcap = "/path/dir/filename"
output_dir = "/path/dir/output_dir"

# 分流之后以pcap格式输出，TCP流允许从中途开始（即没有握手过程）
split_flow(origin_pcap, output_dir, tcp_from_first_packet=False, output_type="pcap")

# 分流之后以json格式输出，输出一个json文件，其中每一个单元表示一条流，TCP流必须从握手阶段开始，从中途开始的TCP流会被丢弃
split_flow(origin_pcap, output_dir, tcp_from_first_packet=True, output_type="json")
```
mustash 0.3
Portable ingest pipelines for documents
Requires Python: <4.0,>=3.11
Keywords: elasticsearch, es_query, es-query, kibana, ingest, transform

mustash -- portable ingest pipelines for documents
==================================================

Mustash, composed of "mu" meaning "mutation" and "stash" referencing Logstash_,
is a Python module for coding and applying transformations to a document.

Using Mustash, you can:

* Read and render pipelines as ElasticSearch ingest pipelines or Logstash
  filters.
* Define and run pipelines and processors.
* Validate ElasticSearch ingest pipelines.

The project is present at the following locations:

* `Official website and documentation at
  mustash.touhey.pro <Mustash website_>`_;
* `Mustash repository on Gitlab <Mustash on Gitlab_>`_;
* `Mustash project on PyPI <Mustash on PyPI_>`_.

.. _Logstash: https://www.elastic.co/fr/logstash
.. _Mustash website: https://mustash.touhey.pro/
.. _Mustash on Gitlab: https://gitlab.com/kaquel/mustash
.. _Mustash on PyPI: https://pypi.org/project/mustash
robotframework-prometheus 0.8.0
Additional Robot Framework keywords
Requires Python: >=3.0

Package Description
===================

The interface library **prometheus\_interface** provides Robot Framework
keywords to communicate with the monitoring system **Prometheus**.

Package Documentation
---------------------

A detailed documentation of the **prometheus\_interface** can be found
here:

[PrometheusInterface.pdf](https://github.com/test-fullautomation/robotframework-prometheus/blob/develop/PrometheusInterface/PrometheusInterface.pdf)

Feedback
--------

To give us a feedback, you can send an email to [Thomas
Pollerspöck](mailto:Thomas.Pollerspoeck@de.bosch.com)

In case you want to report a bug or request any interesting feature,
please don\'t hesitate to raise a ticket.

Maintainers
-----------

[Holger Queckenstedt](mailto:Holger.Queckenstedt@de.bosch.com)

[Thomas Pollerspöck](mailto:Thomas.Pollerspoeck@de.bosch.com)

Contributors
------------

[Holger Queckenstedt](mailto:Holger.Queckenstedt@de.bosch.com)

[Thomas Pollerspöck](mailto:Thomas.Pollerspoeck@de.bosch.com)

License
-------

Copyright 2020-2024 Robert Bosch GmbH

Licensed under the Apache License, Version 2.0 (the \"License\"); you
may not use this file except in compliance with the License. You may
obtain a copy of the License at

> [![License: Apache
> v2](https://img.shields.io/pypi/l/robotframework.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an \"AS IS\" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.