You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

abadge

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abadge - pypi Package Compare versions

Comparing version
0.2.1
to
0.3.0
+10
-5
abadge.egg-info/PKG-INFO
Metadata-Version: 1.0
Name: abadge
Version: 0.2.1
Version: 0.3.0
Summary: Generate badges/shields with pure HTML/CSS.

@@ -9,4 +9,4 @@ Home-page: https://github.com/Gustra/abadge

License: UNKNOWN
Description: abadge
========
Description: abadge
======

@@ -61,3 +61,3 @@ Generate status badges/shields of pure HTML+CSS.

text for the value (right) part. Can also be given as keyword argument
``value=<text>``
``value=<text>``

@@ -70,2 +70,6 @@ Keyword arguments

:``font_family``: font to use in the badge (CSS "``font-family``")
:``font_size``: font size to use in the badge (CSS "``font-size``")
:``label``: the text in label part of the badge

@@ -82,3 +86,4 @@

:``font_family``: font to use in the badge (CSS "``font-family``")
:``link_decoration``:
decoration for the link (CSS "``text-decoration``")

@@ -85,0 +90,0 @@ :``padding``:

@@ -51,2 +51,4 @@ """

'border_radius': '4px',
'font_family': 'DejaVu Sans, Verdana, sans',
'font_size': '80%',
'label': '',

@@ -56,4 +58,3 @@ 'label_background': '#444',

'label_text_shadow': '1px 1px black',
'font_family': 'DejaVu Sans, Verdana, sans',
'font_size': '80%',
'link_decoration': 'none',
'padding': '4px 8px 4px 8px',

@@ -87,3 +88,4 @@ 'thresholds': {},

href_template = '<a href="{url}">'
href_template = '<a href="{url}"' \
' style="text-decoration:{link_decoration};">'

@@ -104,2 +106,4 @@ def __init__(self, *args, **kwargs):

(CSS "padding")
font_family -- font to use in the badge (CSS "font-family")
font_size -- size of the font (CSS "font-size")
label -- the text in label part of the badge

@@ -110,7 +114,13 @@ label_background -- background color for the label (left) part

(CSS "text-color")
font_family -- font to use in the badge (CSS "font-family")
label_text_shadow -- text shadow for the label part (CSS "text-color")
link_decoration -- the CSS "text-decoration" setting for the link
padding -- amount of space between the border and the badge
(CSS "padding")
text_shadow -- configuration for the text shadow (CSS "text-shadow")
thresholds -- threshold configuration
url -- make the badge link to the set URL
value -- the value part of the badge
value_background -- background color for the value part
(CSS "background")
value_text_color -- text color for the value part (CSS "text-color")
value_text_shadow -- text shadow for the value part (CSS "text-shadow")
"""

@@ -117,0 +127,0 @@ self.config.update(self._parse_args(args, kwargs))

Metadata-Version: 1.0
Name: abadge
Version: 0.2.1
Version: 0.3.0
Summary: Generate badges/shields with pure HTML/CSS.

@@ -9,4 +9,4 @@ Home-page: https://github.com/Gustra/abadge

License: UNKNOWN
Description: abadge
========
Description: abadge
======

@@ -61,3 +61,3 @@ Generate status badges/shields of pure HTML+CSS.

text for the value (right) part. Can also be given as keyword argument
``value=<text>``
``value=<text>``

@@ -70,2 +70,6 @@ Keyword arguments

:``font_family``: font to use in the badge (CSS "``font-family``")
:``font_size``: font size to use in the badge (CSS "``font-size``")
:``label``: the text in label part of the badge

@@ -82,3 +86,4 @@

:``font_family``: font to use in the badge (CSS "``font-family``")
:``link_decoration``:
decoration for the link (CSS "``text-decoration``")

@@ -85,0 +90,0 @@ :``padding``:

@@ -1,3 +0,3 @@

abadge
========
abadge
======

@@ -52,3 +52,3 @@ Generate status badges/shields of pure HTML+CSS.

text for the value (right) part. Can also be given as keyword argument
``value=<text>``
``value=<text>``

@@ -61,2 +61,6 @@ Keyword arguments

:``font_family``: font to use in the badge (CSS "``font-family``")
:``font_size``: font size to use in the badge (CSS "``font-size``")
:``label``: the text in label part of the badge

@@ -73,3 +77,4 @@

:``font_family``: font to use in the badge (CSS "``font-family``")
:``link_decoration``:
decoration for the link (CSS "``text-decoration``")

@@ -76,0 +81,0 @@ :``padding``:

@@ -0,1 +1,3 @@

from os import getenv
from setuptools import setup

@@ -6,2 +8,4 @@

version = getenv('ABADGE_RELEASE_VERSION', '')
setup(

@@ -11,3 +15,3 @@ name='abadge',

long_description=readme,
version='0.2.1',
version=version,
url='https://github.com/Gustra/abadge',

@@ -14,0 +18,0 @@ author='Gunnar Strand',