Skip to content

Instantly share code, notes, and snippets.

$ PIP_AUDIT_LOGLEVEL=debug pip-audit -r requirements.txt
DEBUG:pip_audit._cli:parsed arguments: Namespace(local=False, requirements=[<_io.TextIOWrapper name='requirements.txt' mode='r' encoding='UTF-8'>], format=<OutputFormatChoice.Columns: 'columns'>, vulnerability_service=<VulnerabilityServiceChoice.Pypi: 'pypi'>, dry_run=False, strict=False, desc=<VulnerabilityDescriptionChoice.Auto: 'auto'>, cache_dir=None, progress_spinner=<ProgressSpinnerChoice.On: 'on'>, timeout=15)
/ Resolving the-package-not-in-pypi
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): pypi.org:443
DEBUG:urllib3.connectionpool:https://pypi.org:443 "GET /simple/the-package-not-in-pypi HTTP/1.1" 301 224
DEBUG:urllib3.connectionpool:https://pypi.org:443 "GET /simple/the-package-not-in-pypi/ HTTP/1.1" 404 13
Traceback (most recent call last):
File "/Users/daniel/projects/my_python_project/.venv/lib/python3.9/site-packages/pip_audit/_dependency_source/resolvelib
@dhuckins
dhuckins / default_arg.py
Created November 10, 2021 20:58
trivial example of a function with argument "defaults" resolved at call time
from __future__ import annotations
import os
import sys
from typing import Any
from typing import Protocol
from typing import TypeVar
_U = TypeVar("_U")
circleci@00ce56de7554:/$ curl --fail -I -v https://www.cloud66.com
* Rebuilt URL to: https://www.cloud66.com/
* Trying 167.172.139.120...
* TCP_NODELAY set
* Connected to www.cloud66.com (167.172.139.120) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
@dhuckins
dhuckins / designer.html
Created February 23, 2015 03:11
designer
<link rel="import" href="../../salesforce/mobile-ui-elements/elements/force-ui-app/force-ui-app.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@dhuckins
dhuckins / designer.html
Last active August 29, 2015 14:15
designer
<link rel="import" href="../../salesforce/mobile-ui-elements/elements/force-ui-app/force-ui-app.html">
<link rel="import" href="../../salesforce/s1-elements/s1StagedNavigationStageLeft.html">
<link rel="import" href="../../salesforce/s1-elements/scaffold/s1PageContainer.html">
<link rel="import" href="../../salesforce/s1-elements/s1HeaderPrimaryDefault.html">
<link rel="import" href="../../salesforce/s1-elements/s1ListSingleLineofText.html">
<link rel="import" href="../../salesforce/mobile-ui-elements/elements/force-sobject-collection/force-sobject-collection.html">
<polymer-element name="my-element">
<template>
@dhuckins
dhuckins / designer.html
Created February 13, 2015 13:25
designer
<link rel="import" href="../../salesforce/s1-elements/scaffold/s1AppScaffold.html">
<link rel="import" href="../../salesforce/s1-elements/scaffold/s1PageContainer.html">
<link rel="import" href="../../salesforce/s1-elements/s1StagedNavigationStageLeft.html">
<link rel="import" href="../../salesforce/s1-elements/s1StagedNavigationNotifications.html">
<link rel="import" href="../../salesforce/s1-elements/s1AnchorLightDefault.html">
<link rel="import" href="../../salesforce/s1-elements/s1ListWithLabels.html">
<link rel="import" href="../../salesforce/s1-elements/s1AnchorDark.html">
<link rel="import" href="../../salesforce/s1-elements/s1IndicatorDotsLightBackground.html">
<link rel="import" href="../../salesforce/s1-elements/s1ButtonGroups.html">
<link rel="import" href="../../salesforce/s1-elements/scaffold/s1DetailView.html">