semvec/pypi-packages huggingface dataset:
dqdl 0.2.0
Dune query result downloader
Requires Python: >=3.12

# dqdl

dqdl ("Dune Query DownLoader") is a simple tool that downloads
[Dune](https://dune.com/) query result.

## Quickstart

Let's fetch the result of [query #3945714](https://dune.com/queries/3945714) –
a simple table that lists the number of smart contracts created on each chain
over the last 7 days.
First, install `dqdl` from PyPI:

```shell
pip install dqdl
```

Ensure that there is an `.env` file in the current working directory
with the following line in it:

```env
DUNE_API_KEY=YourDuneAPIKeyHere
```

(Need an API key?  Sign up and log into [Dune](https://dune.com/),
then [create your own key](https://dune.com/settings/api).)

Then run:

```shell
dqdl 3945714
```

The result should be saved in `3945714.csv` in the current directory:

```
$ head -5 3945714.csv 
blockchain,count
polygon,1376013.0
base,758165.0
optimism,588968.0
bnb,80817.0
```

## Usage

```
dqdl [-k SPEC] [-e FILE] [-E] [-o FILE] [-f FORMAT] QUERY
```

`QUERY` is the query number,
that is, the `XXXXXX` part in `https://dune.com/queries/XXXXXXX`.

### Specifying API key

`dqdl` requires a Dune API key
and by default reads one from the environment variable named `DUNE_API_KEY`.

Use `-k SPEC` to specify somewhere else to read the key; see
[openssl-passphrase-options(1)](https://docs.openssl.org/3.3/man1/openssl-passphrase-options/)
for the `SPEC` syntax.

### API key in `.env`

If the API key is from an environment variable (as in the default)
and the variable does not exist in the environment, `dqdl` looks it up in
a file named `.env` in the current directory—if one exists.
This "dotenv" file contains environment variables in the `NAME=VALUE` format,
one per line.

You can choose another file instead of `.env` with `-e FILE`.
Note: absence of this file is silently ignored, so beware typos!

If you want to avoid using the `.env` file even if one exists,
you can disable dotenv processing altogether with `-E`.

### Output location

The result is saved into a file named after the query number and the format,
e.g. `3945714.csv`.
The filename can be changed with `-o FILE` (`-o -` means stdout).

### Output format

By default, the output is saved in `csv`
([comma-separated values](https://en.wikipedia.org/wiki/Comma-separated_values))
format.

You can change the output format with `-f FORMAT`.
The `FORMAT` may be `csv` or `pqt`
([Apache Parquet](https://parquet.apache.org/)).

## Limitation

`dqdl` loads the entire query result in memory (for now),
and may fail if the result is too big to fit in memory.
mogit 0.0.4
一个轻量级的分布式版本控制系统

# mogit

[![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)](LICENSE)
[![Build Status](https://img.shields.io/github/actions/workflow/status/moyanj/mogit/build.yml)](https://github.com/moyanj/mogit/actions/workflows/build.yml)
![PyPI - Downloads](https://img.shields.io/pypi/dm/mogit)
![GitHub repo size](https://img.shields.io/github/repo-size/moyanj/mogit)
![GitHub Repo stars](https://img.shields.io/github/stars/moyanj/mogit?style=flat)

## 目录

- [简介](#简介)
- [安装](#安装)
- [使用](#使用)
- [命令](#命令)
- [贡献](#贡献)
- [许可证](#许可证)

## 简介

`mogit` 是一个轻量级的分布式版本控制系统，用于跟踪文件的变化历史。它可以帮助你管理项目的源代码，并支持多个开发者的协作。

## 安装

### 下载可执行文件

打开 [释放]() 页面，下载适合您的系统的压缩包

### 从PyPi安装

```bash
pip install mogit
```

### 基于源码安装

1. 克隆仓库:
   ```bash
   git clone https://github.com/moyanj/mogit.git
   cd mogit
   ```

2. 构建并安装:
   ```bash
   make
   ```


## 使用

初始化一个新的 `mogit` 仓库:
```bash
mogit init
```

添加文件到暂存区:
```bash
mogit add <file>
```

提交更改:
```bash
mogit commit 提交信息
```

查看提交历史:
```bash
mogit log
```

## 命令

以下是 `mogit` 支持的一些基本命令:

- `mogit init`: 初始化一个新的仓库.
- `mogit add <file>`: 将文件添加到暂存区.
- `mogit commit "message"`: 提交更改.
- `mogit log`: 显示提交历史.
- `mogit branch <branch>`: 切换分支.
- `mogit checkout <hash>`: 切换提交.

完整命令帮助请使用 `mogit --help`查看

## 贡献

欢迎任何贡献！请遵循以下步骤来贡献代码或修复错误:

1. Fork 本仓库.
2. 创建一个新的分支 (`git checkout -b feature-name`).
3. 提交更改 (`git commit -m 'Add some feature'`).
4. 推送到你的分支 (`git push origin feature-name`).
5. 提交 Pull Request.

## 许可证

本项目采用 MIT 许可证发布。更多信息，请参阅 [LICENSE](LICENSE) 文件。
sysframe 0.4.1
A collection of modules useful for low-level development tasks.
Requires Python: <3.13,>=3.6

# Sysframe

A collection of modules useful for low-level development tasks.


## Introduction

This is a custom framework that provides the tools used by the various system services made by me. This includes modules such as for managing shared memory and other IPC operations, and serialization for converting values to bytes to store them in said shared memory.

This module is essentially a package providing tools for


## Current modules

This framework currently consists of the following modules:

- `pybytes`
- `membridge`

Usage explanations on these modules can be found under the `documentation` directory.


## Modules

Beside the module-specific explanations, here's a brief mention of each module and their functionality.


### Pybytes

Pybytes is a module that offers lossless serialization methods that aim to keep the serialized objects byte size small, while also maintaining fast and practically neglectible serialization speeds.
It aims to cover a wide variety of core Python datatypes. Here's a list of all (currently) supported datatypes:

- `str`
- `int`
- `float`
- `bool`
- `complex`
- `NoneType`
- `ellipsis`
- `bytes`
- `bytearray`
- `datetime`:
  - `timedelta`
  - `datetime`
  - `date`
  - `time`
- `uuid.UUID`
- `memoryview`
- `decimal.Decimal`
- `range`
- `collections`:
  - `deque`
  - `namedtuple`
  - `Counter`
  - `OrderedDict`

If you need support for additional datatypes, feel free to request them!

Apart from the 'regular' serialization that's widely used today, this module is in development of a storage system that uses the datatype-specific serialization techniques of the regular serializer to create and maintain a storage system, which is basically just SQL, but tailored to Python. This could have multiple different purposes, ranging from a simple cache to essentially a database-like storage.


### Membridge

Membridge is an IPC module that aims to simplify the sometimes complex usage of shared memory for you.
It automatically manages the shared memory size for you and (de-)serializes everything internally, so that you only have to input the value you want to store, and can retrieve it as well, without having to use a serializer anywhere.


## Contact

If you happen to find a problem or have a question or suggestion, feel free to contact me via:

- Discord: `sven_de_pen`,
- Email:   `boertjens.sven@gmail.com`

Alternatively, you can create an issue or start a discussion on the GitHub repository:

[sysframe github](https://github.com/svenboertjens/sysframe)
kubernetes-secrets-keyring 0.2.5
Keyring backend using Kubernetes secrets.
Requires Python: >=3.9

# Kubernetes Secrets Keyring Backend

Keyring backend that uses Kubernetes secrets. It uses `kubectl` commands to set, read, and delete credentials stored as Kubernetes secrets.

It automatically installs as backend with priority 20 (by default, can be adjusted with the `KUBERNETES_KEYRING_PRIORITY` environment variable) if installed on a system within a Kubernetes cluster, above any keyring present by default. This means after installing this package, you can use keyring exactly as usual without any need to reference this package. If installed on a system without Kubernetes, it should have no effect, as it checks if `KUBERNETES_SERVICE_HOST` is set and assigns itself a negative priority otherwise.

The usual `keyring` commands can be used with this package to set and manage the credentials. Kubernetes secrets are immutable, so you need to delete a secret before you can set a new password if the password changed.

The keyring package can be used as normal within code to get credentials saved as Kubernetes secrets, without any modifications to the code from what is done on regular Windows servers using the credential manager backend.

## Install Normally

To install use the command: `pip install kubernetes-secrets-keyring`

## Install for Debugging

The following describes how to install and use within the git repo (for instance, if making changes). Make sure to set the current directory to the root of the repo for the following commands.

To install as Python package use the command: `pip install .`

To test simply run `pytest` command.

To build use the command: `python -m build`