semvec/pypi-packages huggingface dataset:
betterjsonfs 0.1.3
A horrible Idea
Requires Python: >=3.6

# JsonFS

a horrible idea

ᵖʸᵖᶦ ᵐᵃᵈᵉ ᵐᵉ ʳᵉⁿᵃᵐᵉ ᶦᵗ ˢᵐʰ

## usage

```python
import BetterJsonFS
jsfs = BetterJsonFS.jsonfs()

#write a file into fs
with open("otherstuff/KEKW.png", "rb") as f:
    jsfs.write("/KEKW.png", f.read())
    f.close()

#check if the file exists in fs
print(jsfs.checkifexists("/KEKW.png"))

#write file from fs
with open("fstest.png", "wb") as f:
    f.write(jsfs.read("/KEKW.png"))
    f.close()

#remove from fs
jsfs.remove("/KEKW.png")
```

## Installing

make sure you have python pip installed

if you can use bash you can install it via `pip install betterjsonfs`
IPloader 1.0.1
Check given IPlist against AbuseIPDB
Requires Python: >=3.6

# AbuseIPDB IPLoader

Abuse DB IP loader is a tool to check a list of given IP aginest abuseipDB (https://www.abuseipdb.com/) to determine which one is 100% attacker ips 

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install foobar.

```bash
pip3 install iploader
```

## Usage
after installation create a config.ini file in /opt/ like follow:
```bash
[DEFAULT]
Description = IPFloader
Version =1.0

[conf]
Infile = /tmp/ip_list.txt
DBPath = /opt/data.db
Outfile = /var/www/html/ip.txt
ExpirationDays = 60
LogDest = /var/log/ip_loader.log
Token = <YOUR ABUSEDB TOKEN>
```
Inflie:
csv list of IPS that you want to check against abuseipDB , should look like this :

```bash
1.1.1.1
2.2.2.2
3.4.5.2
....
```
outfile:
where to put the file 

LogDest:
All events will be dispplayed on console and logged into this log file for future refrence 

ExpirationDays:
put it 0 if you dont need ips to be expired and be remoevd form exported file:

DBpath: 
a location for sqllite3 DB

## How does it works ?
it uses a sqllite db to store ips which is read from file , DB is used for 2 reason 
1- Prevent from importing dupicate IPS from file 
2- Expire IPS after spsfice days .
second function is use if you want blacklist Abused ip for specific days not always , when IP is read from file it will insert into db with date and time 
each time you run program it checks expiration in config.ini date with insertion date in DB if date is passed will remove IP form outfile 
if you want to use expriation date you need to put program in crontab to run at-least once a day

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License
[MIT](https://choosealicense.com/licenses/MIT/)
ValidateUserInput-6outtaTen 0.0.1
A module that validates whether the input text is a string or an integer
Requires Python: >=3.6

This module contains 2 functions for user to use. It allows the user to validate whether the input is a string or an integer.
    Both functions have default values for the prompt text and the error message. These can be set while calling any function from the module. 
    These functions keep asking for the input and only finish when the input is correct. They of course return the input which can be assigned to a variable.
ValidateInput-6outtaTen 0.0.1
A module that validates whether the input text is a string or an integer
Requires Python: >=3.6

This module contains 2 functions for user to use. It allows the user to validate whether the input is a string or an integer.
    Both functions have default values for the prompt text and the error message. These can be set while calling any function from the module. 
    These functions keep asking for the input and only finish when the input is correct. They of course return the input which can be assigned to a variable.
ValidateInput 0.0.1
A module that validates whether the input text is a string or an integer
Requires Python: >=3.6

This module contains 2 functions for user to use. It allows the user to validate whether the input is a string or an integer.
    Both functions have default values for the prompt text and the error message. These can be set while calling any function from the module. 
    These functions keep asking for the input and only finish when the input is correct. They of course return the input which can be assigned to a variable.
    To correctly import this module: from ValidateInput import ValidateInput
    Then you'll be able to access 2 functions: ValidateInput.validate_str() and ValidateInput.validate_int()
InputValidation-6outtaTen 0.0.1
A module that validates whether the input text is a string or an integer
Requires Python: >=3.6

This module contains 2 functions for user to use. It allows the user to validate whether the input is a string or an integer.
    Both functions have default values for the prompt text and the error message. These can be set while calling any function from the module. 
    These functions keep asking for the input and only finish when the input is correct. They of course return the input which can be assigned to a variable.