semvec/pypi-packages huggingface dataset:
iploader 1.0.3
AbuseIPDB Ip Checker
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/)
cgroup-parser 0.0.2
cgroup parser for python
Requires Python: >=3.6

# Python解析cgroup（支持容器）
1. 获取CPU核数
2. 获取CPU使用率
3. 获取内存限量
4. 获取内存占用量

```
import cgroup_parser
cgroup_parser.get_max_procs()
cgroup_parser.get_cpu_usage()
cgroup_parser.get_memory_limit()
cgroup_parser.get_memory_usage()
```
mlgeo 0.0.3
Repository for Machine Learning in Geotechnics
Requires Python: >=3.7

# Repository for Machine Learning in Geotechnics

<div style="text-align:center;">
    <img src="https://img.shields.io/badge/Python-3.7%2B-brightgreen" alt="Python version">
    <a href="https://pypi.org/project/mlgeo" target="_blank">
        <img src="https://img.shields.io/pypi/v/mlgeo?style=flat&color=brightgreen&label=PyPI%20Package" alt="Package version">
    </a>
    <br><br>
</div>


This is the beginning of an exciting effort in lowering the barrier of entry to 
Machine Learning for Geoprofessionals by:

1. Distributing relevant and interesting toy datasets to practice with (now)
2. Offering tools that can make applying ML easier, especially for beginners (soon)


### TRB2021 AKG70 Presentation

Click on the image below to review the presentation introducing MLgeo given by 
[Nick Machairas](https://groundwork.ai/nickmachairas) during the committee 
meeting of AKG70 at TRB Annual Meeting 2021.

<a href="https://docs.google.com/presentation/d/e/2PACX-1vSY3gSpaS7dOQrtrwouNKZKm000_uMI1CmtuR94HZ9tR_54U7C3IGHaRDbe9QE2V6xUCBPYMx2iD7Xc/pub?start=false&loop=false&delayms=3000">
    <img src="https://storage.googleapis.com/mlgeo/TRB2021_Presentation_Cover_MLgeo.jpg" alt="TRB Presentation">
</a>


---

<div>
    <h3><img src="https://mirrors.creativecommons.org/presskit/buttons/88x31/png/by-sa.png" alt="CC-BY-SA-4.0" height="30px"><br>License: Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
    </h3>
    <p>
        You are free to <strong>Share</strong> (copy and redistribute the material 
        in any medium or format) and <strong>Adapt</strong> (remix, transform, and 
        build upon the material for any purpose, even commercially), under the 
        following terms: <strong>Attribution</strong> — You must give appropriate 
        credit, provide a link to the license, and indicate if changes were made. 
        You may do so in any reasonable manner, but not in any way that suggests 
        the licensor endorses you or your use. <strong>ShareAlike</strong> — If 
        you remix, transform, or build upon the material, you must distribute 
        your contributions under the same license as the original. More details 
        <a href="https://creativecommons.org/licenses/by-sa/4.0/">here</a>.
    </p>
</div>