Skip to main content

The Laughing Robot

Or, how I learned not to rewrite bower in Python.

To answer the first, obvious question:

Why?

To allow Python developers/users access to bower components without requiring a node.js / npm infrastructure.

Very basic usage is implemented:

bower.py install <package> [version]

No dependencies are handled. Versions must be pinned.

INSTALLATION

This will work, preferably installed into a virtualenv:

pip install bower.py
bower.py <command>

This is even more self-contained:

pip install vex
vex -m bower pip install bower.py
vex bower bower.py <command>

Things I Learned About Bower

  1. bower supports git, svn, http static files, but in reality it supports github.com

  2. bower “packages” don’t even need to supply a bower.json


Copyright 2015, Richard Jones <richard@mechanicalcat.net> and Rackspace, US, Inc.

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Metadata

Release files for bower.py 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bower.py 1.0
File Size Uploaded
bower.py-1.0.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bower.py 1.0
File Interpreter ABI Platform
bower.py-1.0-py2-none-any.whl Python 2 none any Details

Total release size: 12.5 kB

Release files / bower.py-1.0.tar.gz

Download URL bower.py-1.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
392b895df9936b5f2a6e96f3700c41c4914f17a635ce2baace580e2924036225
BLAKE2b-256 checksum
How to use checksums
988d0e4b521aa5ddf8ee6f2fa50e86a575df7e727e63365a670235d939afaacc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / bower.py-1.0-py2-none-any.whl

Download URL bower.py-1.0-py2-none-any.whl
Size 8.4 kB
Tags Python 2
SHA-256 checksum
How to use checksums
fea9ceff01e82fd7226e75897b3ddfef73ca2930e13bee8a2ba3f3579dae3223
BLAKE2b-256 checksum
How to use checksums
77248693c175730ca4d8de8c94ec88c953ce75edc2ec5e000874072a3c66b03c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page