semvec/pypi-packages huggingface dataset:
hashcopy 1.0.4
Copy a file in the most efficient way possible while generating a SHA256 hash of the data

hashcopy
========

This module contains one class, `HashCopier`, which will copy data from an input file to
an output file with minimal memory copying, while computing a SHA256 hash of the data. It
can also be used without an output file if you just want the hash.

This module works by mapping the entire source file into memory using `mmap`, then using
`madvise` to tell the system that we will be reading sequentially. When `.update()` is
called, it will hash a certain amount of data (default: 4MB) directly from the memory
mapping, then (if an output file descriptor was passed). it will call `write` to write
that data to the output file. Then, it will call `madvise(..., MADV_DONTNEED)` to tell the
system that we no longer need this data, reducing the number of resident pages.

Because this module depends on mapping the entire source file, it will likely fail on
32-bit systems if the size of the file exceeds the usable address space.

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



Example
-------

```
from pathlib import Path
from hashcopy import HashCopier

with Path('hashcopy.c').open('rb') as inputfp, Path('output.c').open('wb') as outputfp:
    with HashCopier(inputfp.fileno(), outputfp.fileno()) as hasher:
        while (bytes_copied := hasher.update()) > 0:
            print(f'hashed {bytes_copied} bytes')
        print(f'hash result = {hasher.finalize().hex()}')
```
pywsay-Cafalchio 0.0.1
A small example package for the pywsay project. The main purpose is to show how to create a package with automated tests.
Requires Python: >=3.7

# Pythonsay

Simple Python Cowsay implementation.

## Installation

    pip install pythonsay

## Usage

### Arguments

- -h, --help show this help message and exit
- -c, --cow Print a cow
- -py, --python Print a python
- -pb, --big Print a big python

**Examples:**

    python pythonsay.py -c "Hello World"

    < Hello World! >
      ------------
           \   ^__^
            \  (oo)\_______
               (__)\       )\/\
                U  ||----w |
                   ||     ||

    python pythonsay.py -py "Hello World"


        < Hello World! >
        ____________
                \
                 \      /^\/^\
                  \   _|_O|  O|
              \/     /~     \_/ \
               \____|__________/  \
                    \_______      \
                            `\     \                 \
                             /     /                  \
                            /     /                    \
                          /     /                       \\
                        /     /                         \ \

    python pythonsay.py -pb "Hello World!"

    < Hello World! >
     ____________
          \
           \      /^\/^\
            \   _|_O|  O|
        \/     /~     \_/ \
         \____|__________/  \
               \_______      \
                       `\     \                 \
                        /     /                  \
                      /     /                    \
                    /     /                       \\
                   /     /                         \ \
                  /     /                            \  \
                 /     /             _----_            \   \
                /     /           _-~      ~-_         |   |
               (      (        _-~    _--_    ~-_     _/   |
                \      ~-____-~    _-~    ~-_    ~-_-~    /
                 ~-_           _-~          ~-_       _-~
                    ~--______-~                ~-___-~



                Art and idea by:  Tony Monroe

## About Cowsay

The original cowsay for GNU/Linux was written by Tony Monroe.

## About Pythonsay

The main idea is to use the cowsay program to complete the Python cicle from code to package, automated tests and documentation.
plagiarism-MCA2022temp 0.1
A Simple Plagiarism Checker
Requires Python: >=3.6

# Plagy  

A Simple Plagiarism detector. It supports .txt, .c, ,cpp, ,py, ,java or any other utf-8 encoded text files.  

It Provides 3 Scenarios to check the Plagiarism.  
1. **One2One** : Check the plagiarism score between two files. The files must be of same type.

2. **One2Many** : Checks the Plagiarism score betweem one query file and a list of source files. One typical use case would be a newly published journals vs a list of already published journals, to check if the new journal is plagiarized from other sources or not. 

3. **Many2Many** : Checks the similiarity between every pair of files in a collection of files.


## Installation

Install this package from pip directly

```
pip install plagiarism-MCA2022temp
```
or 
```
pip3 install plagiarism-MCA2022temp
```

or clone this repo in your local environment and

```
python setup.py
```


### Uses

```
from plagy.plagy import *
obj = One2One(path_to_file1, path_to_file2)
obj.preprocess_files()
obj.run()
obj.display()
```

```
obj = One2Many(path_to_source_folder, path_to_query_file)
obj.preprocess()
obj.run()
obj.display()
```

```
obj = Many2Many(path_to_collection_folder)
obj.preprocess()
obj.run(threshold = 0.7)
obj.display()
```
anylinux 0.0.1
Ultimate tool for installing any LINUX in termux.

<h1 align="center">ANYLINUX</h1>

### [+] Description :

***Ultimate tool for installing Any LINUX in termux.***

### [+] Installation

##### Install primary dependencies (git and python)

 - ```pkg install python -y```

##### Install this tool

 - ```pip install anylinux```

##### Run the tool
 - ```anylinux```

#### Or, directly run
```
pip install anylinux && anylinux

```

### Features:

 - Many platform Options Available(Supports most linux)
 - 14 different LINUX options available.
 - Easy to use

### Requirements

 - `Active Internet Connection`
 - `Python(3)`

If not found, all of the required packages will be installed on first run.

#### Tested on

 - `Termux (version 0.118)`

## Usage

1. Run the Tool
2. Choose a LINUX
3. Wait sometimes for setting up all
4. Start LINUX AND ENJOY 

## [+] LINUX OPTIONS AVAILABLE
 - `UBUNTU`
 - `DEBUAN`
 - `KALI`
 - `KALI NETHUNTER`
 - `PARROT SECURITY OS`
 - `BACKBOX`
 - `FEDORAX`
 - `CENT OS`
 - `OPEN SUSE LEAP`
 - `OPEN SUSE TUMBLEWEED`
 - `ARCH LINUX`
 - `BLACK ARCH`
 - `ALPINE`
 - `VOID LINUX`


### This repository is open source to help others. So if you wish to copy, consider giving credit !!!

####  If this tool helped you, consider staring repository. Your stars encourage me a lot !!!

 - `https://github.com/Nishant2009/anylinux`