A library for AsmApi
Project description
asm_api_lib
asm_api_lib
is a Python library serving as a proof of concept to promote greater code reuse across ASM scanners. This library contains a class for interacting with the ASM API. Other code for logging and testing across scanners can be added in the future.
This library was created by following these directions: https://medium.com/analytics-vidhya/how-to-create-a-python-library-7d5aea80cc3f
I installed the library to PyPi using instructions here: https://www.turing.com/kb/how-to-create-pypi-packages#pypi:-a-pillar-for-python-projects
Publishing to PyPi
Note that right now the library is scoped to only John Cloeter's PyPi api token, but this can be changed in the future.
To upload new library using twine:
- Setup PyPi api token locally using:
nano ~/.pypirc
- Inside of
.pypirc
set this data (keep username as "token"): [pypi] username = token password = your-pypi-token - In
setup.py
, increment the next release value to a new number - Run:
python setup.py sdist
- Delete older version of the distribution inside
/dist
- Run:
twine upload dist/*
- Rebuild any scanner container relying on this library
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file asm_api_lib-1.2.4.tar.gz
.
File metadata
- Download URL: asm_api_lib-1.2.4.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1eee9d4bd69fe4fbbb6945ff2404e6f1dc5bdbb935518e53dd79b1d7d235ea0a |
|
MD5 | d4c04ea4a26eeb96542ef029bd74db66 |
|
BLAKE2b-256 | 75e27382275b8ca627eb6a1dfab72eb1b2cda5fabce64419fc51aaa8b0b2c1f3 |