Synopsis
Misc scripts and libraries to run junk against aka
Using this on your own
Use this module with the following in your script
import logging
from akapy import Colorer
from akapy.helpers import CredentialParser, cidr_to_netmask, is_pingable, wait_until_it_pings
from akapy.aka import Api
if os.environ.has_key('AKA_BASE_URL'):
AKA_BASE = os.environ['AKA_BASE_URL']
else:
AKA_BASE = "https://aka.oit.duke.edu"
cred_parser = CredentialParser(AKA_BASE)
cred = cred_parser.import_credentials()
AKA = Api(AKA_BASE, cred)
Setup
Make sure you have ~/.akarc set up like this:
[https://aka.oit.duke.edu]
user = joeuser
key = 11111111-2222-3333-4444-555555555555
[https://aka-test.oit.duke.edu]
user = joeuser
key = aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
The script will default to using 'https://aka.oit.duke.edu'. If you would like to change it to test (or any other URL), set your environment variable
export AKA_BASE_URL=https://aka-test.oit.duke.edu
Metadata
Release files for python-aka 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python-aka-0.0.9.tar.gz | 8.3 kB | Without provenance | Details for python-aka-0.0.9.tar.gz |
Release files / python-aka-0.0.9.tar.gz
| Download URL | python-aka-0.0.9.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5fb38aad8471ff374493a7c777a1c0c08431e31fc8d15e358b650994158f32f5
|
|
BLAKE2b-256 checksum How to use checksums |
43b77f266abbc88ae5988b1dac702864c7ba42dd00e1488d854f387289cc27fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.7.5
|
Security for python-aka 0.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.