A Python package containing BVN brand values: colours, studio addresses, and company information.
The package is on PyPI and GitHub.
pip install bvn_values
from bvn_values import company_name, website_url, abn, acn, social_media
print(company_name) # "BVN"
print(website_url) # "https://www.bvn.com.au"
print(abn) # "46 010 724 339"
print(acn) # "010 724 339"
print(social_media) # {"instagram": "...", "linkedin": "..."}Colours match the official palette at brand.bvn.com.au, with hex, RGB, and CMYK values.
from bvn_values import get_brand_colours
colours = get_brand_colours()
print(colours["purple"]["hex"]) # "#6d67bd"
print(colours["purple"]["rgb"]) # (109, 103, 189)
print(colours["purple"]["cmyk"]) # (42, 46, 0, 26)from bvn_values import studios, get_studio_html
# Access studio data
sydney = studios["sydney"]
print(sydney["phone"]) # "+61 2 8297 7200"
print(sydney["email"]) # "sydney@bvn.com.au"
print(sydney["timezone"]) # "Australia/Sydney"
print(sydney["coordinates"]) # {"latitude": -33.8718, "longitude": 151.2085}
# Generate an HTML address snippet
html = get_studio_html("sydney")
print(html)Which gives:
<address>
<strong>BVN Sydney</strong><br>
Level 11<br>
255 Pitt Street<br>
Sydney NSW 2000<br>
Australia<br>
<a href="tel:+61282977200">+61 2 8297 7200</a><br>
<a href="mailto:sydney@bvn.com.au">sydney@bvn.com.au</a>
</address>Available studios: brisbane, sydney, london, new_york.
python -m bvn_values
- Make your changes
- Update the version in
src/bvn_values/__init__.py - Commit and push
- Create a git tag:
git tag v0.2.0 && git push origin v0.2.0 - The GitHub Action will build and publish to PyPI automatically