semvec/pypi-packages huggingface dataset:
gslibutils 0.1.0
Contains utilities to load/save GSLIB files, such as
Requires Python: >=3.6

# gslibutils
Python utilities for GSLIB parameter, input and output files

GSLIB executables use parameter, input and output files in a specific format.
gslibutils comes with the modules for importing/exporting those files and with
CLI commands for pipeline executions.

## Install

```bash
python -m pip install gslibutils
```

## Usage as Python package

For the use of gslibutils as a Python package, a simple example is:

```python
from gslibutils.parser import load_input_df

title, df = load_input_df("data/simple.gslib")

print(df["var1"])

0      1.0
1     10.0
2    100.0
Name: var1, dtype: float64
```
## Usage as CLI

gslibutils can run as CLI to facilitate pipelines.
To covert a gslib file into a CSV:
```bash
gslib2csv data/simple.gslib
gslib2csv data/simple.gslib --delimiter " "
gslib2csv data/simple.gslib --delimiter "," > my.csv
gslib2csv data/simple.gslib --delimiter "," --output my.csv
```
abhiprime 6.0.0
A program to check if the given number is a prime number or not
Keywords: primenumber

### Summary:
* This is an efficient prime number tester program created to check if the given number is a prime number or not. 
* The file is availabe on https://pypi.org/project/abhiprime/#files

### Steps to use:
* Open the code editor like jupyter or google colab where you can install packages. Like in Jupyter type- 
```
!pip install abhiprime

```
* One can also use command prompt. Open the path where python is installed and type- 
```
pip install abhiprime

```
* Once installation is done open your IDE and type-

``` 
import abhiprime 
```
or 

```
import abhprime as ap
```
* Press enter 
* Now type- abhiprime.test_prime(any number which you want to check) 
* If you are using alias name for abhiprime then type- ap.test_prime(any number which you want to check)
* If you get ModuleNotFoundError (It may happen if you install via command prompt), then make sure that path specified for python is correct and is added in environment path variable.

#### If you are already using abhiprime then please upgrade it, using 
```
$ pip install --upgrade abhiprime

```

#### If upgradation is throwing error, then uninstall the previous version and install the latest version.

* After upgradation, type
```
import abhiprime as ap
from abhiprime import *

```
* Now you can use it to check the following operations:

```
ap.test_prime(n)- This is an efficient prime number tester program created to check if the given number is a prime number or not.
ap.prev_prime(n)- used to give the just previous prime number value from the given number n.
ap.next_prime(n)- used to give the just next prime number value from the given number n. 
ap.prime_upto(n)- gives a list of prime numbers upto the given number n.
ap.range_prime(n,m)- gives a list of prime numbers between numbers n and m.
ap.fib_prime(n)- gives a list of numbers which are prime and fibonacci also.
ap.prime_factor(n)- gives a list of numbers which are prime prime factors of the given number.
 
```


Change Log
==========

6.0.0(15/07/2021)
------------------
- Eighth Release
one-readme 0.3
Only CLI Package you need to manage all your Readme.
Requires Python: >=3.7.0
Keywords: one_readme,one_readme,Github

# Readme

Only CLI Package you need to manage all your Readme.

![PyPI version](https://img.shields.io/pypi/v/Readme?color=orange&logo=pypi&logoColor=orange&style=flat-square)
![Language](https://img.shields.io/badge/python-3.7%2B-blue?logo=python&style=flat-square)
[![GitHub issues](https://img.shields.io/github/issues/sarvesh4396/Readme)](https://github.com/sarvesh4396/Readme/issues)
[![GitHub forks](https://img.shields.io/github/forks/sarvesh4396/Readme)](https://github.com/sarvesh4396/Readme/network)
[![GitHub stars](https://img.shields.io/github/stars/sarvesh4396/Readme)](https://github.com/sarvesh4396/Readme/stargazers)
[![GitHub license](https://img.shields.io/github/license/sarvesh4396/Readme)](https://github.com/sarvesh4396/Readme/blob/main/LICENSE)
![GitHub last commit (branch)](https://img.shields.io/github/last-commit/sarvesh4396/Readme/main?label=updated)
![Pull Requests](https://img.shields.io/badge/PRs-welcome-organge.svg?logo=git&logoColor=organge&style=flat-square)

## What it Does

> It creates a repository named `Readme` in your local storage with all readme of your github account.

## Requirements

- Github Account
- Github Access Token

## Installation

Readme requires [python3.7+](https://www.python.org/downloads/) to run.

### Windows

```sh
pip install one-readme
or
pip install --upgrade one-readme
```

### Linux

```sh
pip3 install one-readme
or 
pip3 install --upgrade one-readme
```

## CLI Usage

```sh
usage: readme [-h] -u U --secret SECRET [--forked] [-p P]

Only CLI Package you need to your all Readme.

optional arguments:
  -h, --help       show this help message and exit
  -u U             Github username.
  --secret SECRET  Github secret.
  --forked         Includes forked repositories.
  -p P             Set Path to store Readme files.
```

## Example

```sh

readme -u sarvesh4396 --secret ************

```
pywin-input 0.0.2
A lightweight library to simulate keyboard and mouse input
Requires Python: >=3.6

# Introduction


# Installation
install the package 
```bash
pip install py-wininput
```


# Examples
## Send text
```python
import wininput.keyboard as kb
kb.send_text("hello world")
kb.send_text("안녕하세요 세계")
```

The above program produces the following output
```bash
hello world
안녕하세요 세계
```

## Send the virtual key

```python
import wininput.keyboard as kb
import wininput.common as common
kb.send_virtual_key(common.VK_A) # Send the 'a' chacter
kb.send_virtual_key(common.VK_RETURN) # Send the return character
```
The above program produces the following output
```bash 
a
<ENTER>
```
alstom 0.0.1
Minio Client API library
Requires Python: >=3.6

alstom
-------------

Alstom Library for Minio Api's
### Installation
```sh
$ pip install alstom
```

### Import 
```sh
from alstom import MinioClient
```

### make Object of MinioClient class
```sh
obj = MinioClient(endpoint_url, access_key, secret_key, logger, secure=True)
```

### Run Any module
```sh

obj = MinioClient(endpoint_url, access_key, secret_key, logger, secure=True)

obj.get_file_path( bucket, folder_prefix, file_pattern, recursive=False)

```


### MinioClient All Methods  
```sh 

get_file_path( bucket, folder_prefix, file_pattern, recursive=False)
        This method will get the path of file from minio bucket
```

```sh
get_file_object( bucket: str, filepath: str)
        This method will saves file locally keeping the same relative path
```

```sh
put_file_object( bucket, local_filepath, minio_filepath)
        This method will saves file locally keeping the same relative path
```

```sh
remove_file_object( bucket, minio_filepath)
        This method will remove file object in minio
```

```sh
copy_object_within_storage( src_bucket, src_filepath, targetbucket, target_filepath)
        This method will copy object from a location to other in within minio
```

```sh
compose_to_minio( bucket_name, filepath, sources)
        This method will compose in minio
```

```sh
html_save( bucketname, fullpath, filename)
        This method save html to minio
```

```sh
get_object_from_storage( bucket_name, filepath)
        This method will get object from minio
```

```sh
get_bytes_data( bucket_name: str, filename: str)
        this method read data as bytes from minio bucket
```

```sh
create_bucket_if_not_exist( bucket_name: str)
        this method checks if bucket exists otherwise create it
```

```sh
write_df_to_storage( df: pd.DataFrame, bucket_name: str, outname: str)
        this method writes pandas dataframe to minio bucket with given object path
```

```sh
write_pickled_df_to_storage( df: pd.DataFrame, bucket_name: str, outname: str)
        this method writes pickled pandas dataframe to minio bucket with given object path
```

```sh
write_dict_to_storage( dict_obj: Dict, bucket_name: str, outname: str)
        this method writes dictionary to minio bucket with given object path as json object
```

```sh
write_df_as_xls( df: pd.DataFrame, bucket_name: str, outname: str)
        this method write dataframe to minio bucket as xls file
```

```sh
save_event_to_storage( df: pd.DataFrame, metadata, outname: str, bucket_name: str)
        this method pickle object to minio bucket
```

```sh
get_dataframe( bucket_name: str, filename: str, index_col: Union[str, bool, int] = None)
        this method Read files from bucket as dataframe
```

```sh
get_pickle( bucket_name: str, filename: str)
        this method Read files from bucket as pickle object
```

```sh
get_dict( bucket_name: str, filename: str)
        this method Read files from bucket as dict

```