semvec/pypi-packages huggingface dataset:
mongochecker 0.0.2
a tool to remove mongodb duplicate data or copy mongodb data

移除 mongodb 的重复数据的小工具
====

 - ### 可以去除重复数据 >>> mongochecker
 - ### 可以复制数据 >>> mongocopy

### 安装: 

```shell script
$ pip install mongochecker
```

## 1. 去重功能介绍:

### 运行:  

```shell script
$ mongochecker [mongodb setting file path]
```

### mongodb setting file 格式:

```json
[
    {"host": "127.0.0.1",
      "port": 27017,
      "name": "root",
      "password": "123456",
      "source": "admin",
      "db": "mydb1"
    },
    {"host": "111.123.234.321",
      "port": 27017,
      "name": "root",
      "password": "123456",
      "source": "admin",
      "db": "mydb1",
      "collection": "my_collection",
      "check_keys": ["key1", "key2"]
    }
]
```

### 说明:

```
 1. mongodb setting file 必须是 json 格式
 2. 一个 mongodb setting file 可以是一个 mongodb 设置的字典, 也可以是多个mongodb 设置组成的列表
 3. 配置里 host 和 port 是必须的, 如果开启了认证, 则 name, password, source 也是必须有的
 4. 除了上述的必须配置, db 是用来指定操作的数据库的, collection 是用来指定操作的集合的, check_keys 是用来指定集合过滤字段的
 5. 也可以不指定 mongodb setting file, 运行时跟着提示填写即可
```

## 数据贵无价 操作需谨慎


## 2. 复制功能介绍:


### 运行:  

```shell script
$ mongocopy [mongodb copy setting file path]
```

### mongodb copy setting file 格式:

```json
{
  "from": {
    "host": "127.0.0.1",
    "port": 27017,
    "user": "root",
    "password": "123456",
    "source": "admin",
    "db": "source_db",
    "from_collection": "source_collection",
    "condition": {
      "class": "1"
    }
  },
  "to": {
    "host": "127.0.0.1",
    "port": 27017,
    "user": "root",
    "password": "123456",
    "source": "admin",
    "db": "target_db",
    "to_collection": "target_collection",
    "filter": {
      "name": ""
    }
  }
}
```

### 说明:

```
 1. mongodb setting file 必须是 json 格式
 2. 一个 mongodb setting file 可以是一个 mongodb 设置的字典, 也可以是多个mongodb 设置组成的列表
 3. 配置里 host 和 port 是必须的, 如果开启了认证, 则 name, password, source 也是必须有的
 4. 除了上述的必须配置, db 是用来指定操作的数据库的, collection 是用来指定操作的集合的, check_keys 是用来指定集合过滤字段的
 5. 也可以不指定 mongodb setting file, 运行时跟着提示填写即可
```

## 数据贵无价 操作需谨慎
netaccess 1.0.2
CLI for IIT Madras netaccess

# IITM-Netaccess-Approval
Python code that utilizes the mechanize library for netaccess approval of the IIT Madras network from command line

## Installation
### Quick Installation
Use pip to install the package as follows
```sh
pip install netaccess
```
## Usage 
To perform a netaccess approval, run the following command
```sh
netaccess
```
or,
```sh
netaccess -u <username> -p <password>
```

## Original Author
[**Cibin Joseph**](https://github.com/cibinjoseph/), Aerospace Engineering, IIT Madras

## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE) file for details
BirDuster 1.0
A Dir bruteforect script imitating DirBuster's functionality

# BirDuster

## About
`BirDuster` is a Python based knockoff of the original DirBuster.

`BirDuster` is a multi threaded Python application designed to brute force directories
 and files names on web/application servers. Often is the case now of what looks
 like a web server in a state of default installation is actually not,
 and has pages and applications hidden within.

## Installation

Same as every other:
```bash
git clone https://www.github.com/ytisf/BirDuster
cd BirDuster
pip3 install --user -r requirements.txt
python3 BirDuster.py --help
```

## Usage

`BirDuster` has the following flags and options (which you can see with the `-h`
flag):

* `-h`/`--help`: Show help and exit.
* `-v`,`-vv`,`-vvv`/`--verbosity`: Verbosity level.
* `-p`/`--port`: Port to use while dirbusting. Default 80/443.
* `-P`/`--pfile`: If you want to test several ports just write them to a file with newlines.
* `-t`/`--threads`: Amount of concurrent threads. Default is 15.
* `-o`/`--output`: Output CSV of responses. Default is `domain_output.csv`.
* `-l`/`--dlist`: Directory list file. Default is `dir_list.txt`.
* `-w`/`--writereponse`: Will write HTTP/S responses to files. Default is False.
* `-i`/`--ignorecertificate`: Ignore SSL certificate errors. Default is False.
* `-u`/`--useragent`: User-Agent to use. Default is random user-agent.
* `--ssl`: Use SSL or not. `-i` flag will automatically turn on SSL.
* `--timeout`: Change default socket timeout. Default is 3 seconds.

```bash
usage: dirbus.py [-h] [-v] [-p PORT] [-P PFILE] [-t THREADS] [-o OUTPUT]
                 [-l DLIST] [-w] [-i] [-u USERAGENT] [--ssl]
                 [--timeout TIMEOUT]
                 domain

positional arguments:
  domain                domain or host to buster
```
pyvin 0.0.2
Python VIN decoder
Requires Python: >=3.6

# PyVIN
A Vehicle Identification Number (VIN) decoder for Python.  This leverages the NHTSA API to decode VINs into collections of vehicle data that can be easily explored (https://vpic.nhtsa.dot.gov/api/)

## Basic Usage:
```
In [0]: from pyvin import VIN

In [1]: vehicle = VIN('JT2AE09W4P0038539')

In [2]: (vehicle.Make, vehicle.Model, vehicle.ModelYear)
Out[2]: ('TOYOTA', 'Corolla', '1993')

In [3]: my_vins = ('JT2AE09W4P0038539', 'KMHD35LH5EU205042')

In [4]: my_vehicles = VIN(*my_vins)

In [5]: for veh in my_vehicles:
   ...:     print(veh.Make, veh.Model, veh.ModelYear)
TOYOTA Corolla 1993
HYUNDAI Elantra 2014
```

## Advanced Usage:
The user can also specify how invalid VINs are handled, be it raising an exception or ignoring them:
```
In [6]: import pyvin
In [7]: new_car = pyvin.VIN('Foo', error_handling=pyvin.RAISE)
Out[7]: VINError: Invalid char "o"the u
```

To simply clean a VIN list, with no decoding involved, the following can be called:
```
In [8]: import pyvin

In [9]: my_vins = ('JT2AE09W4P0038539', 'Foo')

In [10]: cleaned_vins = pyvin.clean_vins(my_vins)

In [11]: cleaned_vins
Out[11]: ['JT2AE09W4P0038539']
```
For simple validation, no calls to the NHTSA API are used, as there is a formula to validate VINs