Metadata-Version: 2.1
Name: impact-factor
Version: 1.1.0
Summary: Impact Factor Toolkits
Home-page: https://github.com/suqingdong/impact_factor
Author: suqingdong
Author-email: suqingdong1114@gmail.com
License: MIT License
Project-URL: Documentation, https://impact_factor.readthedocs.io
Project-URL: Tracker, https://github.com/suqingdong/impact_factor/issues
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development :: Libraries
Description-Content-Type: text/markdown
Requires-Dist: lxml
Requires-Dist: click
Requires-Dist: openpyxl
Requires-Dist: pygments
Requires-Dist: webrequests
Requires-Dist: sql-manager

[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.7539859.svg)](https://doi.org/10.5281/zenodo.7539859)

[![Downloads](https://pepy.tech/badge/impact-factor)](https://pepy.tech/project/impact-factor)
![PyPI - License](https://img.shields.io/pypi/l/mi?style=plastic)
![PyPI](https://img.shields.io/pypi/v/impact_factor)
![PyPI - Status](https://img.shields.io/pypi/status/impact_factor)


# ***最新SCI期刊影响因子查询系统***
- *已更新2022年数据*
- *包含JCR分区表数据*

## Installation
```bash
python3 -m pip -U install impact_factor
```

## Use in CMD
```bash
impact_factor -h
```
![](https://suqingdong.github.io/impact_factor/src/help.png)

### `build`
> build/update the database

```bash
# optional, only required when you need build or update the database
impact_factor build

# with api_key
impact_factor build -k YOUR_NCBI_API_KEY
```

### `search`
> search with `journal`, `journal_abbr`, `issn`, `eissn` or `nlm_id`

```bash
impact_factor search nature         # search journal
impact_factor search 'nature c%'    # like search journal
impact_factor search 0028-0836      # search ISSN
impact_factor search 1476-4687      # search eISSN
impact_factor search 0410462        # search nlm_id
impact_factor search nature --color # colorful output
```

![](https://suqingdong.github.io/impact_factor/src/search.png)

### `filter`
> filter `factor` with `min_value` and `max_value`

```bash
impact_factor filter -m 100 -M 200 --color

# output with pubmed filter format
impact_factor filter -m 100 -M 200 --pubmed-filter
```

![](https://suqingdong.github.io/impact_factor/src/filter.png)

## Use in Python
```python
from impact_factor.core import Factor

fa = Factor()

print(fa.dbfile)

fa.search('nature')
fa.search('nature c%')

fa.filter(min_value=100, max_value=200)
fa.filter(min_value=100, max_value=200, pubmed_filter=True)
```

## Documents
https://impact-factor.readthedocs.io


