Skip to main content

python maven pom info extractor

Project description

Py XH POM Mgmt

A library provide functionality to gather a list of pom.xml by path and collect in to pom list.

Installation

pip install pyXhPomMgmt

or

pip3 install pyXhPomMgmt

Demo

As Library

Scan a list of directory

from ScanDir import scan
from POMREPOS import POMRepos

paths_to_scan = [] # list of paths
repo = POMRepos() # new PomRepos instance or existing PomRepos instance
paths_to_skip = [] # list of key in path to skip e.g. target
scanMultiple(paths_to_scan, repo, paths_to_skip)

# repo will end up contain all dependencies found

Scan a list of directory

from ScanDir import scan
from POMREPOS import POMRepos

paths_to_scan = [] # list of paths
repo = POMRepos() # new PomRepos instance or existing PomRepos instance
paths_to_skip = [] # list of key in path to skip e.g. target
for path in paths_to_scan:
    scan(path, repo, paths_to_skip)

# repo will end up contain all dependencies found

As executable module

python -m pyXhPomMgmt --pom-paths C:\Users\01731363\Documents --filter abc --skip-path-with target
# all dependencies found will be displayed

Project details


Download files

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

Source Distribution

pyXhPomMgmt-0.0.2.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

pyXhPomMgmt-0.0.2-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

Supported by

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