MCPcopy
hub / github.com/pantsbuild/pants

github.com/pantsbuild/pants @org.pantsbuild-args4j-0.0.22 sqlite

repository ↗ · DeepWiki ↗ · release org.pantsbuild-args4j-0.0.22 ↗
18,154 symbols 77,239 edges 2,208 files 4,584 documented · 25%
README

Pants Build System

Pants is a build system for software projects in a variety of languages. It works particularly well for a source code repository that contains many distinct projects.

Friendly documentation: http://www.pantsbuild.org/

We release to PyPI version license

We use Travis CI to verify the build Build Status.

We use Coveralls to monitor test coverage Coverage Status.

Requirements

At a minimum, Pants requires the following to run properly:

  • Linux or macOS.
  • Python 3.6+.
  • A C compiler, system headers, Python headers (to compile native Python modules) and the libffi library and headers (to compile and link modules that use CFFI to access native code).
  • Internet access (so that Pants can fully bootstrap itself)

Additionally, if you use the JVM backend to work with Java or Scala code (installed by default):

  • OpenJDK or Oracle JDK version 8 or greater.

Extension points exported contracts — how you extend this code

ItemParser (Interface)
A strategy for parsing an individual option value from a String. @param The type of the underlying option v [30 implementers]
src/java/org/pantsbuild/args4j/CollectionOptionHandler.java
NotATestInterface (Interface)
This test is intentionally under a java_library() BUILD target so it will not be run on its own. It is run by the Consol
tests/java/org/pantsbuild/tools/junit/lib/NotATestInterface.java
Source (Interface)
Identifies a source for jar entries. [2 implementers]
src/java/org/pantsbuild/tools/jar/JarBuilder.java
Entry (Interface)
Represents an entry to be added to a jar. [2 implementers]
src/java/org/pantsbuild/tools/jar/JarBuilder.java
Listener (Interface)
An interface for those interested in the progress of writing the target jar. [2 implementers]
src/java/org/pantsbuild/tools/jar/JarBuilder.java

Core symbols most depended-on inside this repo

format
called by 1435
src/python/pants/backend/docgen/targets/doc.py
join
called by 1266
src/python/pants/java/nailgun_io.py
register
called by 696
src/python/pants/testutil/option/fakes.py
get_options
called by 624
src/python/pants/task/task.py
items
called by 409
src/python/pants/testutil/option/fakes.py
temporary_dir
called by 395
src/python/pants/util/contextutil.py
extend
called by 350
src/python/pants/base/generator.py
get
called by 273
src/python/pants/engine/target.py

Shape

Method 13,179
Class 3,533
Function 1,376
Route 47
Interface 11
Enum 8

Languages

Python90%
Java9%
TypeScript1%
Go1%

Modules by API surface

src/python/pants/engine/target.py122 symbols
src/java/org/pantsbuild/tools/jar/JarBuilder.java117 symbols
src/python/pants/backend/jvm/ivy_utils.py108 symbols
src/python/pants/engine/rules_test.py104 symbols
src/python/pants/engine/internals/native.py103 symbols
src/python/pants/engine/target_test.py93 symbols
src/python/pants/option/options_test.py88 symbols
tests/python/pants_test/task/test_testrunner_task_mixin.py84 symbols
src/python/pants/option/config.py80 symbols
src/python/pants/build_graph/target.py80 symbols
src/python/pants/backend/jvm/tasks/jvm_compile/jvm_compile.py80 symbols
src/python/pants/scm/git.py74 symbols

Dependencies from manifests, versioned

com.google.protobuf:protobuf-java2.4.1 · 1×
junit:junit4.11 · 1×
add-onefile:add-one · 1×
add-two1.0.0 · 1×
babel-cli6.22.2 · 1×
babel-core6.22.1 · 1×
babel-eslint8.1.2 · 1×
babel-polyfill6.23.0 · 1×
babel-preset-latest6.22.0 · 1×
babel-register6.24.1 · 1×
child-process-promise2.2.1 · 1×
eslint4.14.0 · 1×

For agents

$ claude mcp add pants \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact