Skip to main content

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:

  1. Setup PyPi api token locally using: nano ~/.pypirc
  2. Inside of .pypirc set this data (keep username as "token"): [pypi] username = token password = your-pypi-token
  3. In setup.py, increment the next release value to a new number
  4. Run: python setup.py sdist
  5. Delete older version of the distribution inside /dist
  6. Run: twine upload dist/*
  7. 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

asm_api_lib-1.2.4.tar.gz (3.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page