semvec/pypi-packages huggingface dataset:
pycalculator-TomasJ 0.1.0
A small calculator that performs basic arithmetic with the number in its memory
Requires Python: >=3.7

# pycalculator_TomasJ
A simple calculator that can add, subtract, multiply, divide and extract roots 
from a number in the calculator's memory. This package was created as a project 
for evaluation purposes only.  
 
The calculator is meant to be used with integer numbers, however after division 
and root extraction it will result in a floating point number. It follows basic 
arithmetic rules, therefore it is impossible to divide by zero as well as extract 
an even number root from a negative number. If the calculation were to return a 
number too large for the memory to handle, it will not perform the calculation. 

To install the package go to your command shell 
and install it via:  

`pip install pycalculator-TomasJ  `

Testing was done with the Hypothesis  and pytest modules.  

To use the calculator you must first instantiate a Calculator object. 
Default memory after instantiation is 0. All possible operations are done with 
the object's memory. Here's an example of how the module can be used:  

    from pycalculator_TomasJ.calculator import Calculator
    
    calc = Calculator()  
    calc.add(5)  
    > 5  
    calc.subtract(1)  
    > 4  
    calc.multiply_by(8)  
    > 32  
    calc.divide_by(2)  
    > 16.0  
    calc.root_extraction(4)  
    > 2.0  

contact information: tomasitassss@gmail.com  
Project uses the MIT license
kkssh 0.13
ssh client
Keywords: ssh client

# kkssh

Kkssh is a user-friendly SSH client that simplifies the process of connecting to remote servers. With a built-in hostname prompt, you no longer need to memorize or search for the correct hostname.

## Install
Python 3.10.10

```bash
pip install --upgrade kkssh
```

## Usage

```bash
kkssh -c ~/.ssh/config HOST
```

## Develop

```bash
python setup.py sdist
twine upload dist/*
```
scrapy-bloomerfiler 0.1.2
新增 scrapy pipeline 对 item 目标字段组合除重


### 处理若干个pdf水印事项
* 项目PYPI地址 https://pypi.org/project/scrapy_bloomerfiler/
* 安装:
```
pip install scrapy-bloomerfilter
```

* scrapy 管道中添加配置
```
ITEM_PIPELINES = {'scrapy_bloomerfiler.bloomerfilerpipeline': 400},
```

* `scrapy.cfg` 添加配置`REDIS_HOST / REDIS_PORT / REDIS_DB / REDIS_PASSWORD`
```
测试环境
[redis_cfg_dev]
REDIS_HOST = ***
REDIS_PORT = ***
REDIS_DB = ***
REDIS_PASSWORD= ***

正式环境
[redis_cfg_prod]
REDIS_HOST = ***
REDIS_PORT = ***
REDIS_DB = ***
REDIS_PASSWORD= ***
```

* scrapy settings 中添加
```
IF_PROD 是否为正式环境配置 eg : True
Data_Size 数据体量 eg: 1000*10000/百万级/千万级/千万 
Aim_Set  除重依据字段 Aim_Set <dict>  eg: {"title","all_json"}
```

* 环境变量中参数(可选)
```
IF_PROD 是否为正式环境配置 eg : True
```
db-generator 1.0.4
A package which will create sqlite3 database code by configuring them in json file
Keywords: python,database,json configuration for database,json,sqlite3,mobile database



#Use for

This project allows user to define json structure for creating sqlite3 
database as defined in the json file.

#Use the following code


import os
from src.main import main

def generator():
    To generate the schema for us
    sr = input('Enter your source of json file> ')
    dis = input('Enter your destination for .db file> ')
    main(sr, dis)

if __name__ == '__main__':
    generator()

# make sure

that the json structure is same as the given structure.
Have following project structure

your project
    |
    |json_folder
        |
        |json_files
    main.py
googledriver 0.1.7
The Python package google drive facilitates access to files uploaded to Google Drive.
Requires Python: >=3.6
Keywords: Download,Googledrive

# Google-Driver
![YouTuber](https://img.shields.io/badge/pypi-googledriver-blue)
![Pypi Version](https://img.shields.io/pypi/v/googledriver.svg)
[![Contributor Covenant](https://img.shields.io/badge/contributor%20covenant-v2.0%20adopted-black.svg)](code_of_conduct.md)
[![Python Version](https://img.shields.io/badge/python-3.6%2C3.7%2C3.8-black.svg)](code_of_conduct.md)
![Code convention](https://img.shields.io/badge/code%20convention-pep8-black)
![Black Fomatter](https://img.shields.io/badge/code%20style-black-000000.svg)

The `Google-Driver` Python package simplifies downloading files and folders from Google Drive, with some constraints for model management through Hugging-Face and Git-Lfs. Issues may arise due to too many files, access permissions, or large file sizes. Be cautious with large files as they may contain viruses. The `gdown` package offers better exception handling and compatibility.

<br>


# Installation
```
pip install googledriver
```

<br>

# Features
## 1. File Download
`Download to specific path` <br>
To save a file from a shared Google Drive URL to local storage, use the following code.
```python
from googledriver import download

URL = 'https://drive.google.com/file/d/xxxxxxxxx/view?usp=share_link'
download(URL, './model/tf_gpt2_model')
```

<br>

`Download to cached folder` <br>
To download a cached file (or directory) from a URL and return its path, you can use the following method.

```python
from googledriver import download

URL = 'https://drive.google.com/file/d/xxxxxxxxx/view?usp=share_link'
cached_path = download(URL, None, 'tf_model')
```
Basically, torch cached is used, and the huggingface hub module is used as a reference and wrapped.

<br>

## 2. Folder Download
The return value returns the path of the saved files. However, it is different when using it as a cache folder. <br><br>
`Download to current working directory` <br>
```python
from googledriver import download_folder

URL = 'https://drive.google.com/file/d/xxxxxxxxx/view?usp=share_link'

download_folder(URL)
```
<Br>

`Download to specific directory` <br>
```python
from googledriver import download_folder

URL = 'https://drive.google.com/file/d/xxxxxxxxx/view?usp=share_link'
save_folder = './any/path/to/save/'

download_folder(URL, save_folder)
```

<br>

`Download to cached directory` <br>
```python
from googledriver import download_folder

URL = 'https://drive.google.com/file/d/xxxxxxxxx/view?usp=share_link'

download_folder(URL, cached=True)
```
In the case of the cache folder, the return value is the cache folder path of Google Drive. Therefore, it may be difficult to cache and use multiple folders.


<br>

# References
[1] https://github.com/huggingface/transformers <br>
[2] https://github.com/wkentaro/gdown
anonfiles-directlink 1.2
Generate anonfiles direct link
Requires Python: >=3

## Anonfiles.com direct link generator

Generate direct link for downloading file from anonfiles.com

## Requirements

At least Python 3, **beautifulsoup4**, and **requests** as well

## Usage

```
import anonfiles-directlink as d

link = 'some anonfiles link'
download_link = d.direct_link(link)
print(direct_link)
```