semvec/pypi-packages huggingface dataset:
DeadOrNot 1.0.2
A command-line tool for reporting on the status of links in a file
License: MIT
Requires Python: >=3.6

# DeadOrNot

DeadOrNot is a Python program that parses a file for URLs and returns information about the HTTP status of those links to the command line 

![DeadOrNot](https://i.imgur.com/zw850Cd.png)

## Usage

Use the -h option to see information and other options
```bash
python deadOrNot.py -h
```
![DeadOrNot](https://i.imgur.com/pbr75wt.png)
Check and output URL status  
```bash
python deadOrNot.py *fileName*
```
![DeadOrNot](https://i.imgur.com/zw850Cd.png)
Use the -g/-good option to check and output live URL statuses
```bash
python deadOrNot.py  *fileName* -g
```
![DeadOrNot](https://i.imgur.com/Cr4lMpn.png)
Use the -d/-dead option to check and output dead or unknown URL statuses
```bash
python deadOrNot.py  *fileName* -d
```
![DeadOrNot](https://i.imgur.com/WcqMzVM.png)
Use the -in option to check URL statuses and output overall status information for all links in file
```bash
python deadOrNot.py *fileName* -in
```
![DeadOrNot](https://i.imgur.com/u3Ve1RD.png)
Use the -i option to compare links with a single link provided in a separate text file
If the links partially match, the corresponding link will be excluded from being checked
```bash
python deadOrNot.py 
```

## License
Distributed under the [MIT](https://choosealicense.com/licenses/mit/) License. See LICENSE for more information.
w3utils 0.20.0
My short description for my project.
License: MIT
Requires Python: >=3.6.0

# W3U - web3 utils

Some convenience functions for web3 python developing.

Such as:

* Getting token address given token symbol and decimals
* Getting token symbol given token address and decimals 
* Getting all transactions involving a certain account from Etherscan
* Getting the abi for a certain address from Etherscan
xlogs 1.0.3
A logging toolkit
License: MIT
Requires Python: >=3.4.0
Keywords: python,logging,log

# python-xlogs
logging toolkit


# install
```commandline
pip install xlogs
```

# Usage
## 1. Use as decorator
```python
from xlogs import log

if __name__ == '__main__':
    # config_file: the logging config template, use the default if None
    @log(log_dir='./logs',config_file=None)
    def division():
        pass
```

## 2. Load from ini config file
```python
from xlogs import LogConfig
import logging

if __name__ == '__main__':
    LogConfig(config_file= '/xxx.ini', log_file = '/xxx/')

    logging.info('Default load to root')
    info = logging.getLogger('root')
    info.info('write msg to test.log')

    info = logging.getLogger('test')
    info.info('write msg to message.log')

    info = logging.getLogger('info')
    info.info('write msg to info.log')

    error = logging.getLogger('error')
    error.error('write msg to error.log')
    
    # reload a new config file 
    LogConfig(config_file= '/yyy.ini', log_file = '/yyy/').reset()
    logging.getLogger().info("info with new logger")
```

## 3. config with args
```python
from xlogs import get_logger

if __name__ == '__main__':
    logger = get_logger(debug=True, logfile='/message.log')
    logger.info("info oooooo")
    logger.debug("debug ggggg")
    logger.error("err rrrr")
```