Skip to content

Commit

Permalink
Merge pull request #23 from meanrin/updates-for-pypi
Browse files Browse the repository at this point in the history
Updates for pypi
  • Loading branch information
Alex Sokol authored Nov 29, 2021
2 parents b9d28f3 + eea915d commit 12dc14d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 15 deletions.
24 changes: 10 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CredSweeper

<img src="doc/images/Logo.png" width="500"/>
<img src="https://raw.githubusercontent.com/Samsung/CredSweeper/main/doc/images/Logo.png" width="500"/>

## Table of Contents

Expand Down Expand Up @@ -30,27 +30,23 @@ CredSweeper is a tool to detect credentials in any directories or files. CredSwe
### Installation
#### Via pip

Stable (release 1.0.0):
``` bash
# With Ml validation feature
$ pip install git+https://github.com/Samsung/[email protected]
Without Ml validation feature
```bash
pip install credsweeper
```

Latest (current master branch):
``` bash
# Without Ml validation feature
$ pip install git+https://github.com/Samsung/CredSweeper.git
# With Ml validation feature
$ pip install CredSweeper[ml]@git+https://github.com/Samsung/CredSweeper.git
With Ml validation feature
```bash
pip install credsweeper[ml]
```

#### Via git clone (dev install)

``` bash
$ git clone https://github.com/Samsung/CredSweeper.git
$ cd CredSweeper
git clone https://github.com/Samsung/CredSweeper.git
cd CredSweeper
# Annotate "numpy", "scikit-learn", and "tensorflow" if you don't want to use the ML validation feature.
$ pip install -qr requirements.txt
pip install -qr requirements.txt
```

### Run
Expand Down
17 changes: 16 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
]

setuptools.setup(
name="CredSweeper",
name="credsweeper",
version="1.0.0",
description="Credential Sweeper",
long_description=long_description,
Expand All @@ -43,4 +43,19 @@
"ml": ml_requires
},
include_package_data=True,
url="https://github.com/Samsung/CredSweeper",
project_urls={
"Bug Tracker": "https://github.com/Samsung/CredSweeper/issues",
},
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Security",
"Topic :: Software Development :: Quality Assurance"
],
)

0 comments on commit 12dc14d

Please sign in to comment.