semvec/pypi-packages huggingface dataset:
dupechecker 1.0.1
Check for and delete duplicate files from the command line.
Requires Python: >=3.10
Keywords: cli,filecmp,filesystem

# dupechecker

Check for and delete duplicate files from the command line.

## Installation

Install with:

<pre>
pip install dupechecker
</pre>



## Usage

<pre>
>dupechecker -h

usage: dupechecker [-h] [-r] [-i [IGNORES ...]] [-d] [-ad] [-ns] [paths ...]

positional arguments:
  paths                 The paths to compare files in.

options:
  -h, --help            show this help message and exit
  -r, --recursive       Glob files to compare recursively.
  -i [IGNORES ...], --ignores [IGNORES ...]
                        Ignore files matching these patterns. e.g. `dupechecker -i *.wav` will compare all files in the current working directory except .wav files.
  -d, --delete_dupes    After finding duplicates, delete all but one copy. For each set of duplicates, the tool will ask you to enter the number corresponding to the copy you want to keep. Pressing 'enter' without entering a number will skip that set without deleting anything.
  -ad, --autodelete     Automatically decide which file to keep and which to delete from each set of duplicate files instead of asking which to keep.
  -ns, --no_show        Don't show printout of matching files.
</pre>
canarypy-airflow-plugin 0.0.1
CanaryPy Airflow Plugin - Airflow Integration Plugin for CanaryPy
Requires Python: >=3.8

# CanaryPy Airflow Plugin

This is a plugin for Apache Airflow that provides integration with CanaryPy. It modifies the task policies in Airflow, to send signals to CanaryPy on task success or failure. It also adds a custom Jinja template function that can be used to get the latest stable version of an artifact.

## Requirements

- Python 3.8+
- Apache Airflow 2.0+
- [CanaryPy](https://pypi.org/project/canarypy/) Library

## Installation

This plugin is available in Pypi so you can add to your Airflow installation by running the following command:

```
pip install canarypy_airflow_plugin
```

Alternatively, you can add the plugin to Airflow dependencies file.

Also disable lazy loading of plugins by setting `lazy_load_plugins` to `False` in your Airflow configuration file:

```ini
[core]
lazy_load_plugins = False
```

## Configuration

The plugin uses the environment variable `CANARYPY_URL` to set the base URL for CanaryPy. This environment variable must be set before the plugin is loaded by Airflow.

## How It Works

The plugin patches the `task_policy` function in Airflow's settings. If an existing `task_policy` function exists, it is wrapped, so that the original policy is applied first, followed by the policy provided by this plugin.

The plugin's policy adds custom `on_failure_callback` and `on_success_callback` functions to the tasks. These functions send a signal to CanaryPy, containing information about the task's image, run ID, task ID, and state.

If a task is a `MappedOperator`, the policy applies the custom callbacks via the `partial_kwargs` attribute, to work around the fact that these operators do not have `on_failure_callback` and `on_success_callback` properties.

Finally, the plugin adds a `get_latest_stable_version` function to the Jinja environment, which can be used in your DAGs. This function retrieves the latest stable version of an artifact from CanaryPy, given the artifact's URL.

## Usage

With this plugin installed, your tasks in Airflow will automatically send signals to CanaryPy when they start, succeed or fail. This happens without needing any changes to your DAGs.

To use the `get_latest_stable_version` function in a Jinja template, use the following syntax:

```
{{ get_latest_stable_version('artifact_url') }}
```

## Contributing

We welcome contributions! Please feel free to submit a Pull Request.
libdnf5-shim 0.1.0
libdnf5 shim module for usage in virtualenvs
Requires Python: >=3.7

<!--
Copyright (C) 2023 Maxwell G <maxwell@gtmx.me>
SPDX-License-Identifier: MIT
-->

# libdnf5-shim

[![builds.sr.ht status](https://builds.sr.ht/~gotmax23/libdnf5-shim/commits/main.svg)](https://builds.sr.ht/~gotmax23/libdnf5-shim/commits/main?)

libdnf5 shim module for usage in virtualenvs.

Inspired by <https://github.com/packit/rpm-shim>.

## Links

- [libdnf5-shim project hub](https://sr.ht/~gotmax23/libdnf5-shim)
- [libdnf5-shim git.sr.ht repo](https://git.sr.ht/~gotmax23/libdnf5-shim)
- [libdnf5-shim tracker](https://todo.sr.ht/~gotmax23/libdnf5-shim)
- [libdnf5-shim mailing list][archives] ([~gotmax/libdnf5-shim@lists.sr.ht][mailto])

[archives]: https://lists.sr.ht/~gotmax23/libdnf5-shim
[mailto]: mailto:~gotmax/libdnf5-shim@lists.sr.ht

## Contributing

See [CONTRIBUTING.md](https://git.sr.ht/~gotmax23/libdnf5-shim/tree/main/item/CONTRIBUTING.md).

## License

This repository is licensed under

    SPDX-License-Identifer: MIT
Mostats 0.1
Get the MongoDB database statistic to a local CSV file

# Mostats 📊

Get the MongoDB database statistic e.g : database name, collection, index size, and collection size to a local CSV file

#### Install

Run this command, please choose pip or pip3

```terminal
pip3 install mostats
pip install mostats
```

#### How to use

Please check on the guide below:

```terminal
usage: getCluster.py [-h] [-u URL] [-c CSV] [-n NAME]

Get the MongoDB database statistic to a local CSV file

options:
  -h, --help            show this help message and exit
  -u URL, --url URL     MongoDB cluster URL, default is "mongodb://127.0.0.1". Example:
                        mongodb+srv://<<username>>:<<password>>@cluster.zqqqy.mongodb.net/?retryWrites=true&w=majority
  -c CSV, --csv CSV     CSV filename, default "cluster-data.csv"
  -n NAME, --name NAME  Cluster name, default value first subdomain example: mongodb+srv://clustername.cl0.mongodb.net will be clustername
```

#### Example

For MongoDB Atlas please leave the cluster name empty

```python
mostats -u "mongodb+srv://username:password@cluster0.cluster.mongodb.net/?retryWrites=true&w=majority" -c "cluster-info.csv"
```

Specify custom cluster name for other MongoDB installation

```python
mostats -u "mongodb+srv://username:password@cluster0.cluster.mongodb.net/?retryWrites=true&w=majority" -c "cluster-info.csv"
```
Mostats-001 0.1
Get the MongoDB database statistic to a local CSV file

# Mostats 📊

Get the MongoDB database statistic e.g : database name, collection, index size, and collection size to a local CSV file

#### Install

Run this command

```terminal
pip3 install mostats
pip install mostats
```

#### How to use

Please check on the guide below:

```terminal
usage: mostats [-h] [-u URL] [-c CSV]

Get the MongoDB database statistic to a local CSV file

options:
  -h, --help         show this help message and exit
  -u URL, --url URL  MongoDB cluster URL, default is "mongodb://127.0.0.1". Example: mongodb+srv://<<username>>:<<password>>@cluster.zqqqy.mongodb.net/?retryWrites=true&w=majority
  -c CSV, --csv CSV  CSV filename, default cluster-data.csv
```

Example

```python
mostats -u "mongodb+srv://username:password@cluster0.cluster.mongodb.net/?retryWrites=true&w=majority" -c "cluster-info.csv"
```
django-tbase-theme-tailwind 2023.7.316883187
Terry django base post ,

# django-expand/tbase_theme_tailwind

集成tailwind

集成

在自己的模板文件中引用即可
安装
```bash
pip install django-tbase-theme-tailwind
```

```python
# settings.py
 INSTALLED_APPS = [   # 个人应用
     # 基本配置
    # 'tbase_page',
    'tbase_config',
    'tbase_theme_tailwind',
    
    'tbase_post',
    # 'markdownx'
    'martor',
    'taggit',

 ]
```


## Getting Started

Download links:

SSH clone URL: ssh://git@git.jetbrains.space/terrychanorg/django-expand/tbase_theme_tailwind.git

HTTPS clone URL: https://git.jetbrains.space/terrychanorg/django-expand/tbase_theme_tailwind.git



These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

## Prerequisites

What things you need to install the software and how to install them.

```
Examples
```

## Deployment

Add additional notes about how to deploy this on a production system.

## Resources

Add links to external resources for this project, such as CI server, bug tracker, etc.