semvec/pypi-packages huggingface dataset:
eightid 0.1.1
A short id based on 8 bytes (it fits in a PostgreSQL BigInt).
License: MIT
Requires Python: >=3.9,<4.0
Keywords: eightid,guid

EightID: A (really) short id, that fits in 8 bytes.
===============

[![Build Status](https://github.com/barrachri/gid/workflows/Test/badge.svg)](https://github.com/barrachri/eightid/actions)
[![Supported Python versions](https://img.shields.io/pypi/pyversions/eightid.svg)](https://pypi.python.org/pypi/eightid)

```EightID``` is a short ID that fits in 8 bytes. 4 bytes are dedicated to the timestamp (second resolution) and the other are 4 random bytes.

It's only 8 bytes and as such it fits in a BigInt column.

Installation
------------

Installation using pip:

    pip install eightid

Quick intro
-------------

```python
>>> from eightid import EightID
>>> short_id = EightID()

# Displays as base64 by default
>>> short_id
<EightID 'AH4jTMKtwrXCr8OQ'>
>>> print(short_id)
AH4jTMKtwrXCr8OQ
>>> short_id.integer
35504659304394704

# Access when the id was created
>>> short_id.datetime
datetime.datetime(2022, 4, 6, 17, 16, 12)

# Access with str() and .string
>>> str(short_id)
'AH4jTMKtwrXCr8OQ'
>>> short_id.string
'AH4jTMKtwrXCr8OQ'

# Recreate the EightID from a string
>>> EightID.from_string(short_id.string)
<EightID 'AH4jTMKtwrXCr8OQ'>

# Or from
>>> EightID.from_int(short_id.integer)
<EightID 'AH4jTMKtwrXCr8OQ'>
```

Django integration
-------------

```python
from eightid import django


class AppModel(models.Model):
    id = django.EightIDField(primary_key=True)
```

License
-------

EightID is licensed under the MIT license (see the ```LICENSE``` file for details).
dupeutil 1.0.0
A command-line program written in Python for detecting and removing duplicate files
License: MIT
Requires Python: >=3.6, <4
Keywords: duplicate,files,commandline,dupeutil

<h1 align="center">dupeutil</h1>

<p align="center">
    A command-line program written in Python for detecting and removing duplicate files
</p>

## Table of contents

- [Installation](#installation)
- [Usage](#usage)
  * [Arguments](#arguments)
    + [Files flag](#files-flag)
    + [Quiet flag](#quiet-flag)
    + [Recursive flag](#recursive-flag)

## Installation

To install **dupeutil**, enter the following command in your terminal:

```
python -m pip install dupeutil
```

## Usage

**dupeutil** is designed to be as effortless and as easy as possible to use. You can check for duplicate files in a directory by `cd`-ing into that directory and by simply entering the following command in your terminal:

```
dupeutil
```

That's it. The program will then check for duplicate files in the *current working directory* and provide you with a prompt that shows which duplicates were found and ask if you would like to remove them.

Alternatively, if you would like to check a particular directory without it being the current working directory, you can explicitly pass it a directory:

```
dupeutil <path to dir>
```

```
📝 NOTE: You may need to wrap the directory in quotes:

dupeutil "C:\Users\user\Downloads\folder"
```

### Arguments

These are the available command-line arguments that you can pass to **dupeutil**. You can enter `dupeutil -h` or `dupeutil --help` in your terminal to view them as well.

```
positional arguments:
  dir                           the directory to check

options:
  -h, --help                    show this help message and exit
  -f FILES [FILES ...],         the files to compare
  --files FILES [FILES ...]

  -q, --quiet                   suppress output to the console; this option will not ask for
                                permission to  remove files
  -r, --recursive               include files in subdirectories
  -v, --version                 print program version
```

#### Files flag

If you'd rather compare files instead of a directory, you can do so by using the `-f` or `--files` flag:

```
dupeutil -f <path to file1> <path to file2> <path to file3> ... <path to fileN>
```

If any of the paths contain a space, it's recommended that you wrap them in quotes.

#### Quiet flag

If you don't want to see any output in the console, you can pass the `-q` or `--quiet` flag when you run **dupeutil**:

```
dupeutil <path to dir> -q
```

If you include the quiet flag, the program will not provide you with an overview of duplicate files, nor will it ask you for permission to remove those files.

#### Recursive flag

If you would like to include subdirectories in the given directory, pass the `-r` or `--recursive` flag:

```
dupeutil <path to dir> -r
```

Including this flag will cause files in the top-level directory and files in any subdirectories to be compared as well.