semvec/pypi-packages huggingface dataset:
AES-Encryptor 2.0
Encrypt Strings And Files With AES Encryption
Requires Python: >=3.0

# AES Encryptor
## What's New
```
* Now Its Version 2.0
* Added File Encryption
* Added Doc For Every Function
* Many Bugs Fixed
* Added Default IV [ Initializing Vector ]
* Many Exceptions Catched Under Try Except
```
## Installation
```
pip install AES-Encryptor
```
## Using git
```
git clone https://github.com/pmk456/AES-Encryptor
cd AES-Encryptor
python setup.py install
```
## Usage
### Encrypt File
```
from Encryptor import AES_Encryption
cipher = AES_Encryption(key='keytouse', iv='this is iv 45611')
print(cipher.file_encrypt(path))
### OUTPUT
File Successfully Encrypted With Given Key
In Case Of any exception:
Something Went Wrong During Encryption Of The File
path.enc // THIS IS ENCRYPTED FILE WHICH IS SAVED IN THE GIVEN PATH
```
### Decrypt File
```
from Encryptor import AES_Encryption
cipher = AES_Encryption(key='keytouse', iv='This is iv 45611')
print(cipher.file_decrypt(path))
### OUTPUT
File Successfully Decrypted With Given Key
In Case Of any exception:
Something Went Wrong During Decryption Of The File
If nothing went wrong:
path // THIS IS DECRYPTED FILE WHICH IS SAVED IN THE GIVEN PATH
```
### Encrypt String
```
from Encryptor import AES_Encryption
cipher = AES_Encryption(key='keytouse', iv='this is iv 45611')
cipher.encrypt("Hello")
### OUTPUT
b'}%\x99\x00b3\xb0?\xe5\t\x07wc\xa8\xc6\x8d'
```
### Decrypt String
```
from Encryptor import AES_Encryption
cipher = AES_Encryption(key='keytouse', iv='this is iv 45611')
cipher.decrypt(b'}%\x99\x00b3\xb0?\xe5\t\x07wc\xa8\xc6\x8d')
### OUTPUT
'Hello'
```
### About
```
Hi, I Am Patan Musthakheem I Am The Author Of This Package.
I Created This Tool For Beginners Who Want to encrypt their string or file
using any encryption but they dont know how to use it because 
for beginners it is bit of difficult for using Encryption like AES from scratch.
I Faced Many issues when learning how to encrypt strings and files in python when
i am beginner so i decided to create a very simple tool which will encrypt strings and files
in one line of code.
That day has came, Now you can encrypt and decrypt strings in one line of code.
Thanks To Me.
```
clustar 1.2.1
A python package for processing and analyzing protostars/ protoplanetary disks in astronomical data in Flexible Image Transport System (FITS) images.
Requires Python: >=3.6, <4
Keywords: cluster,astronomy,protostars

# Clustar

Release: 1.2.1

Date: June 27, 2021

## Overview

A python package for processing and analyzing protostars/protoplanetary disks
in astronomical data in Flexible Image Transport System (FITS) images. 

These files contain grayscale images represented as two-dimensional arrays,
with each pixel containing the intensity values, and headers containing the
telescope observational parameters.

Clustar simplifies and expediates the identification pipeline of FITS files
by automating the preprocessing, grouping, and fitting for a large amount of
FITS files.

## Requirements

Clustar 1.2.1 requires

* GEOS >= 3.3
* Shapely >= 1.7.1

Both of these dependencies are available on <https://anaconda.org/conda-forge>.
```
conda install -c conda-forge geos
conda install -c conda-forge shapely 
```

## Installation

Clustar is available on [PyPI](https://pypi.org/project/clustar/) and can be installed using `pip`:

```
pip install clustar
```

## Singular Usage

Detect celestial objects in a singular FITS image by creating a `ClustarData`
object.

```
from clustar.core import ClustarData

# Create the 'ClustarData' object by specifying the path to FITS file.
cd = ClustarData(path='~/data/example.fits', threshold=0.025)

# Visualize the detected groups.
cd.identify()

# Access individual 'Group' objects.
cd.groups
```

## Multiple Usage

Detect celestial objects in a directory containing multiple FITS images by
creating a `Clustar` object.

```
from clustar.search import Clustar

# Setup 'Clustar' object.
cs = Clustar(radius_factor=0.95, threshold=0.025)

# Execute pipeline on directory containing FITS files.
cs.run(directory='~/data/')

# Access individual 'ClustarData' objects.
cs.data

# Check which FITS files raised an error.
cs.errors

# Inspect 'ClustarData' variables for all groups in each FITS file.
cs.display(category='all')
```

## Modules

1. `base.py`
    
    Internal module for testing clustar modules.

2. `core.py`
    
    Contains the `ClustarData` class, which is responsible for executing
    the entire project pipeline for detecting groups in a single FITS image.

3. `denoise.py`
    
    Clustar module for denoising-related methods.

4. `fit.py`
    
    Clustar module for fitting-related methods.

5. `graph.py`
    
    General module for graphing-related methods.

6. `group.py`
    
    Clustar module for grouping-related methods.

7. `search.py`
    
    Contains the `Clustar` hierarchical class, which is responsible for 
    transforming all available FITS images in a specified directory into their 
    respective `ClustarData` objects.

## Notes

Visit <https://clustar.github.io/> for additional information.