GangaCK
Improving Ganga for better productivity.
Features:
-
Jobtree: improved visualization ofjobtreefor better jobs organization. This can be called both inside/outsidegangainteractive session. -
IOUtils: Misc operations to convert to/from (collection of) PFN, LFN, Bookkeeping uri (evt+std://,sim+std://), PPL, xml, lfns, eos, ... There is a caching algorithm to help where it's usefully applicable. One particular application isLHCbDataset.newwhere it can accept arbitary argument from the list of support inputs above. For example:LHCbDataset.new( 'some/local/file.dst', # LOCAL 'root://some-remote-file.dst', # REMOTE 'file:///another-remote-file.dst', # REMOTE '/lhcb/MC/Dev/LDST/00041927/0000/00041927_00000002_1.ldst', # LFN 'evt+std://MC/2012/42100000/Beam4000GeV-2012-MagDown-Nu2.5-Pythia8/...', # BKQ 'sim+std://LHCb/Collision12/Beam4000GeV-VeloClosed-MagDown/...', # BKQ '$EOS_HOME/ganga/4083/000.dst', # EOS '/cvmfs/lhcb.cern.ch/.../pool_xml_catalog_Reco14_Run125113.xml', # XML open('text_file_with_url_per_line.txt'), # local list jobs(123), # output from another Ganga job. LHCbDataset(['foo', 'bar']), # another ds. ) # accept heterogenous input appropriately,
-
Magics: becausegangais embedded insideIPython, why not more magics?jv: show status of subjobs from all running jobs. Extremely useful for monitoring.jt: for improvedjobtreeoperation.peek: based onJob.peek, but look deeper when possible.jsh: provide shell-like syntax to operateJobwith less (no-shift) typing, for example,jsh 197.12 remove Trueinstead ofjobs("197.12").remove(True). Less typing saves your life's time...grun: similar to the built-in magicganga, but it'll pick the localganga*.pyimmediately or ask in case of ambiguity.resubmit: Smartly handle resubmission/backend.reset of failed Dirac jobs based on its failing status (e.g., "Pending Requests", "Job has reached the CPU limit of the queue", "Stalling for more than ...", etc.)
-
Additional instance methods:
Job:lfn_list,lfn_size,lfn_purge,pfn_size,ppl_list,eos_list,humansize,is_final.Gauss:nickname, to retrieve nickname from$DECFILESROOT.
Scripts:
-
ganga_cache_viewer: display the list of cache made by this package. -
ganga_cleaner: Complete all-in-one script for tidying your ganga environment. -
offline_ganga_reader: Quick script to read the content in Ganga's JobTree offline. -
xmlgensum: Report summary ofGeneratorLog.xmlfrom all subjobs of Ganga-Gauss-Job -
xmlmerge: Mergesummary.xmlfiles from Ganga's subjobs and neatly archive the dir.
Installation
It's available on pip: pip install gangack
Disclaimer
This package was written and used during my PhD in 2013-2017 at EPFL (Lausanne) and LHCb collaboration (CERN), for the work in Z->tau tau cross-section measurement and H->mu tau searches at LHCb (8TeV).
As such, it's developped during the period of Ganga 5.34 -- 6.0.44. Because of the fast-pace development and non-backward compat nature of Ganga, this package can be obsoleted against newer version of Ganga.
Metadata
Release files for GangaCK 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| GangaCK-1.0.0.tar.gz | 722.6 kB | Without provenance | Details for GangaCK-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| GangaCK-1.0.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for GangaCK-1.0.0-py2.py3-none-any.whl |
Total release size: 788.9 kB
Release files / GangaCK-1.0.0.tar.gz
| Download URL | GangaCK-1.0.0.tar.gz |
|---|---|
| Size | 722.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
316ed7fbcf13386c36557ee129e64eabc443c7ca407f7c0a57ba54c64cbe3e50
|
|
BLAKE2b-256 checksum How to use checksums |
ea42b69ff09a2f7dd49d0918235ed1253c61a9260b447717372e9efe348af0d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / GangaCK-1.0.0-py2.py3-none-any.whl
| Download URL | GangaCK-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 66.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
11e45b8dc1a7ae4a4aac65bdc85782478a1dca3aa39724447a52f0df34e1182d
|
|
BLAKE2b-256 checksum How to use checksums |
b5321322a61bebd98755dd8061fb6c911bc95509b30ebb56c4d0a4a39599325b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for GangaCK 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.