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 details)

Uploaded Source

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

Hashes for asm_api_lib-1.2.4.tar.gz
Algorithm Hash digest
SHA256 1eee9d4bd69fe4fbbb6945ff2404e6f1dc5bdbb935518e53dd79b1d7d235ea0a
MD5 d4c04ea4a26eeb96542ef029bd74db66
BLAKE2b-256 75e27382275b8ca627eb6a1dfab72eb1b2cda5fabce64419fc51aaa8b0b2c1f3

See more details on using hashes here.

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