Skip to main content

No project description provided

Project description

# Unused Deps Py

unused_deps_py is a command line tool to determine any unused dependencies in [java_library](https://docs.bazel.build/versions/master/be/java.html#java_library) rules. targets. It outputs buildozer commands to apply the suggested prunings. It’s based on unused_deps but it also adds support for rules_jvm_external maven repositories.

## Installation

### Preferred way `shell $ pip install unused-deps-py $ unused_deps_py --help `

### Building from sources `shell $ bazel run //unused_deps_py --help `

## Usage

`shell unused_deps_py TARGET... `

Here, TARGET is a space-separated list of Bazel labels, with support for :all and

## Releasing to PyPI

In order to release a new version you first need to edit BUILD.bazel to bump the version number, then you need to run:

`shell $ bazel build //unused_deps_py:unused_deps_py_wheel $ twine upload bazel-bin/unused_deps_py/unused_deps_py-<version>-py3-none-any.whl `

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unused_deps_py-0.0.3-py3-none-any.whl (196.5 kB view details)

Uploaded Python 3

File details

Details for the file unused_deps_py-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: unused_deps_py-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 196.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.5

File hashes

Hashes for unused_deps_py-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 270f8baa51b2267b1c47803c909333c8162250ee9f957e0eebb6720a17b51242
MD5 286d7e8d1b7d072cdca0e00be97d8076
BLAKE2b-256 5486cd45f9db93a524a526e135d3ecae5a86db140ab23961cceeba47605e5bf1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page