text stringlengths 0 1.05M | meta dict |
|---|---|
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgreflect"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgUtil
from osgpypp import osgViewer
# Translated from ... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgreflect.py",
"copies": "1",
"size": "12859",
"license": "bsd-3-clause",
"hash": -3258393080156001300,
"line_mean": 32.5744125326,
"line_max": 122,
"alpha_frac": 0.6967882417,
"autogenerated": false,
"ratio": 3.52... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgrobot"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgViewer
# Translated from file 'osgrobot.cpp'
# OpenSce... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgrobot.py",
"copies": "1",
"size": "15942",
"license": "bsd-3-clause",
"hash": 194864436884518660,
"line_mean": 31.6680327869,
"line_max": 103,
"alpha_frac": 0.6578848325,
"autogenerated": false,
"ratio": 3.266133... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgscreencapture"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgGA
from osgpypp import osgText
from osgpypp impor... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgscreencapture.py",
"copies": "1",
"size": "23737",
"license": "bsd-3-clause",
"hash": -5647974592304683000,
"line_mean": 34.5877061469,
"line_max": 296,
"alpha_frac": 0.5962842819,
"autogenerated": false,
"ratio"... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgscribe"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgUtil
from osgpypp import osgViewer
# Translated from f... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgscribe.py",
"copies": "1",
"size": "4927",
"license": "bsd-3-clause",
"hash": 1433839145367243000,
"line_mean": 34.9635036496,
"line_max": 95,
"alpha_frac": 0.7316825655,
"autogenerated": false,
"ratio": 3.554834... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgsequence"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgText
from osgpypp import osgViewer
# Translated from... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgsequence.py",
"copies": "1",
"size": "7281",
"license": "bsd-3-clause",
"hash": -3771389031458995000,
"line_mean": 27.5529411765,
"line_max": 81,
"alpha_frac": 0.6264249416,
"autogenerated": false,
"ratio": 3.918... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgshadercomposition"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgViewer
# Translated from file 'osgshadercom... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgshadercomposition.py",
"copies": "1",
"size": "5981",
"license": "bsd-3-clause",
"hash": -8254274177121124000,
"line_mean": 31.6830601093,
"line_max": 140,
"alpha_frac": 0.6756395252,
"autogenerated": false,
"rat... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgshadergen"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osgDB
from osgpypp import osgGA
from osgpypp import osgUtil
from osgpypp import osgViewer
# Translated f... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgshadergen.py",
"copies": "1",
"size": "5609",
"license": "bsd-3-clause",
"hash": -5846586067623084000,
"line_mean": 32.7891566265,
"line_max": 113,
"alpha_frac": 0.7209841326,
"autogenerated": false,
"ratio": 4.0... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgshaders"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgGA
from osgpypp import osgUtil
from osgpypp import osgV... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgshaders.py",
"copies": "1",
"size": "15875",
"license": "bsd-3-clause",
"hash": -3681766263957586000,
"line_mean": 32.3508403361,
"line_max": 99,
"alpha_frac": 0.666015748,
"autogenerated": false,
"ratio": 3.4533... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgshadow"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgGA
from osgpypp import osgShadow
from osgpypp import osg... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgshadow.py",
"copies": "1",
"size": "132814",
"license": "bsd-3-clause",
"hash": -4236371374330463000,
"line_mean": 41.0164504904,
"line_max": 208,
"alpha_frac": 0.6261538693,
"autogenerated": false,
"ratio": 2.40... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgshape"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgUtil
from osgpypp import osgViewer
# Translated from fi... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgshape.py",
"copies": "1",
"size": "3995",
"license": "bsd-3-clause",
"hash": 5137496837035155000,
"line_mean": 29.2651515152,
"line_max": 97,
"alpha_frac": 0.662077597,
"autogenerated": false,
"ratio": 3.11865729... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgsharedarray"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgViewer
# Translated from file 'osgsharedarray.cpp'
# OpenSceneGraph exampl... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgsharedarray.py",
"copies": "1",
"size": "11182",
"license": "bsd-3-clause",
"hash": 1403654580446930700,
"line_mean": 34.3860759494,
"line_max": 113,
"alpha_frac": 0.491057056,
"autogenerated": false,
"ratio": 3.... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgsidebyside"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgGA
from osgpypp import osgSim
from osgpypp import os... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgsidebyside.py",
"copies": "1",
"size": "9569",
"license": "bsd-3-clause",
"hash": 4364397144091155500,
"line_mean": 31.5476190476,
"line_max": 117,
"alpha_frac": 0.6675723691,
"autogenerated": false,
"ratio": 3.7... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgsimplegl3"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgViewer
# Translated from file 'osgsimplegl3.cpp'
#... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgsimplegl3.py",
"copies": "1",
"size": "5848",
"license": "bsd-3-clause",
"hash": 5398959485318358000,
"line_mean": 31.1318681319,
"line_max": 108,
"alpha_frac": 0.6766415869,
"autogenerated": false,
"ratio": 3.37... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgsimpleshaders"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgViewer
# Translated from file 'osgsimpleshaders.cpp'
# OpenSceneGraph ex... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgsimpleshaders.py",
"copies": "1",
"size": "5489",
"license": "bsd-3-clause",
"hash": 8975006630023495000,
"line_mean": 35.3509933775,
"line_max": 85,
"alpha_frac": 0.6503916925,
"autogenerated": false,
"ratio": 3... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgsimplifier"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osgDB
from osgpypp import osgGA
from osgpypp import osgUtil
from osgpypp import osgViewer
# Translated ... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgsimplifier.py",
"copies": "1",
"size": "5275",
"license": "bsd-3-clause",
"hash": 1884059979790827000,
"line_mean": 32.3860759494,
"line_max": 141,
"alpha_frac": 0.6686255924,
"autogenerated": false,
"ratio": 4.1... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgsimulation"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgGA
from osgpypp import osgParticle
from osgpypp impo... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgsimulation.py",
"copies": "1",
"size": "15857",
"license": "bsd-3-clause",
"hash": 7077288635257670000,
"line_mean": 34.3950892857,
"line_max": 147,
"alpha_frac": 0.6399066658,
"autogenerated": false,
"ratio": 3.... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgslice"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgUtil
# Translated from file 'osgslice.cpp'
# OpenScene... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgslice.py",
"copies": "1",
"size": "8925",
"license": "bsd-3-clause",
"hash": 5471226228825513000,
"line_mean": 36.8177966102,
"line_max": 201,
"alpha_frac": 0.6555742297,
"autogenerated": false,
"ratio": 3.902492... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgspacewarp"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgUtil
from osgpypp import osgViewer
# Translated fro... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgspacewarp.py",
"copies": "1",
"size": "4018",
"license": "bsd-3-clause",
"hash": 1654081042098476800,
"line_mean": 27.2957746479,
"line_max": 87,
"alpha_frac": 0.6908909905,
"autogenerated": false,
"ratio": 3.600... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgspheresegment"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgParticle
from osgpypp import osgSim
from osgpypp ... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgspheresegment.py",
"copies": "2",
"size": "24043",
"license": "bsd-3-clause",
"hash": 2009451636374776600,
"line_mean": 35.5395136778,
"line_max": 167,
"alpha_frac": 0.5600798569,
"autogenerated": false,
"ratio":... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgspotlight"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgUtil
from osgpypp import osgViewer
# Translated fro... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgspotlight.py",
"copies": "1",
"size": "8704",
"license": "bsd-3-clause",
"hash": 7191571593757822000,
"line_mean": 28.0133333333,
"line_max": 124,
"alpha_frac": 0.6545266544,
"autogenerated": false,
"ratio": 3.23... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgstaticviewer"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgGA
from osgpypp import osgText
from osgpypp import... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgstaticviewer.py",
"copies": "1",
"size": "8691",
"license": "bsd-3-clause",
"hash": 3319904123984629000,
"line_mean": 42.0247524752,
"line_max": 178,
"alpha_frac": 0.7541134507,
"autogenerated": false,
"ratio": 3... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgstereoimage"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgUtil
from osgpypp import osgViewer
# Translated f... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgstereoimage.py",
"copies": "1",
"size": "21195",
"license": "bsd-3-clause",
"hash": 1803393910426797000,
"line_mean": 34.0910596026,
"line_max": 227,
"alpha_frac": 0.6924746402,
"autogenerated": false,
"ratio": 3... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgstereomatch"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgViewer
# Translated from file 'osgstereomatch.cpp... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgstereomatch.py",
"copies": "1",
"size": "35975",
"license": "bsd-3-clause",
"hash": -1556408696190022700,
"line_mean": 33.3272900763,
"line_max": 224,
"alpha_frac": 0.7152744962,
"autogenerated": false,
"ratio": ... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgteapot"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgViewer
# Translated from file 'osgteapot.cpp'
# OpenS... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgteapot.py",
"copies": "1",
"size": "12452",
"license": "bsd-3-clause",
"hash": 3126439442029271000,
"line_mean": 34.375,
"line_max": 102,
"alpha_frac": 0.5542081593,
"autogenerated": false,
"ratio": 2.60884139953... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgterrain"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgGA
from osgpypp import osgTerrain
from osgpypp import o... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgterrain.py",
"copies": "1",
"size": "7619",
"license": "bsd-3-clause",
"hash": 9202853203095365000,
"line_mean": 33.6318181818,
"line_max": 147,
"alpha_frac": 0.682241764,
"autogenerated": false,
"ratio": 3.78301... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgtessellate"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgText
from osgpypp import osgUtil
from osgpypp import... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgtessellate.py",
"copies": "1",
"size": "29710",
"license": "bsd-3-clause",
"hash": 8367313401738088000,
"line_mean": 39.8665749656,
"line_max": 170,
"alpha_frac": 0.6193200942,
"autogenerated": false,
"ratio": 3.... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgtessellationshaders"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgGA
from osgpypp import osgViewer
# Translated from file 'osgtessell... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgtessellationshaders.py",
"copies": "1",
"size": "8196",
"license": "bsd-3-clause",
"hash": -1351093017079840500,
"line_mean": 30.4022988506,
"line_max": 93,
"alpha_frac": 0.633601757,
"autogenerated": false,
"rat... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgtext"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgGA
from osgpypp import osgText
from osgpypp import osgUtil... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgtext.py",
"copies": "1",
"size": "22595",
"license": "bsd-3-clause",
"hash": -4061731356879297000,
"line_mean": 32.3259587021,
"line_max": 140,
"alpha_frac": 0.6391236999,
"autogenerated": false,
"ratio": 3.67697... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgtexture1D"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgViewer
# Translated from file 'osgtexture1D.cpp'
#... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgtexture1D.py",
"copies": "1",
"size": "6904",
"license": "bsd-3-clause",
"hash": -7195908372118587000,
"line_mean": 34.0456852792,
"line_max": 129,
"alpha_frac": 0.6859791425,
"autogenerated": false,
"ratio": 3.5... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgtexture2D"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgText
from osgpypp import osgViewer
# Translated fro... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgtexture2D.py",
"copies": "1",
"size": "22970",
"license": "bsd-3-clause",
"hash": -7748545487336031000,
"line_mean": 31.1258741259,
"line_max": 144,
"alpha_frac": 0.6486721811,
"autogenerated": false,
"ratio": 3.... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgtexturecompression"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgGA
from osgpypp import osgText
from osgpypp ... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgtexturecompression.py",
"copies": "1",
"size": "7089",
"license": "bsd-3-clause",
"hash": 919692436587490800,
"line_mean": 30.9324324324,
"line_max": 117,
"alpha_frac": 0.6771053745,
"autogenerated": false,
"rati... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgtexturerectangle"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgText
from osgpypp import osgViewer
# Transla... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgtexturerectangle.py",
"copies": "1",
"size": "7758",
"license": "bsd-3-clause",
"hash": -8997078356266146000,
"line_mean": 27.1086956522,
"line_max": 157,
"alpha_frac": 0.6410157257,
"autogenerated": false,
"rati... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgthirdpersonview"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgGA
from osgpypp import osgViewer
# Translated... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgthirdpersonview.py",
"copies": "1",
"size": "6884",
"license": "bsd-3-clause",
"hash": 7226653971713181000,
"line_mean": 33.9441624365,
"line_max": 128,
"alpha_frac": 0.6670540383,
"autogenerated": false,
"ratio"... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgthreadedterrain"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import OpenThreads
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgGA
from osgpypp... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgthreadedterrain.py",
"copies": "1",
"size": "26620",
"license": "bsd-3-clause",
"hash": -6564689537645342000,
"line_mean": 33.7066492829,
"line_max": 130,
"alpha_frac": 0.5940270473,
"autogenerated": false,
"rati... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osguniformbuffer"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgUtil
from osgpypp import osgViewer
# Translated... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osguniformbuffer.py",
"copies": "1",
"size": "6494",
"license": "bsd-3-clause",
"hash": -7070719751020498000,
"line_mean": 29.4882629108,
"line_max": 82,
"alpha_frac": 0.6445950108,
"autogenerated": false,
"ratio": ... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osguserdata"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgViewer
# Translated from file 'osguserdata.cpp'
# O... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osguserdata.py",
"copies": "1",
"size": "8080",
"license": "bsd-3-clause",
"hash": 4762144723289981000,
"line_mean": 30.9367588933,
"line_max": 209,
"alpha_frac": 0.6155940594,
"autogenerated": false,
"ratio": 3.800... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osguserstats"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osgDB
from osgpypp import osgGA
from osgpypp import osgUtil
from osgpypp import osgViewer
# Translated f... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osguserstats.py",
"copies": "1",
"size": "14539",
"license": "bsd-3-clause",
"hash": 1805757145787043000,
"line_mean": 39.9549295775,
"line_max": 162,
"alpha_frac": 0.6737739872,
"autogenerated": false,
"ratio": 4.0... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgvertexprogram"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgUtil
from osgpypp import osgViewer
# Translated... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgvertexprogram.py",
"copies": "1",
"size": "16766",
"license": "bsd-3-clause",
"hash": -4528885930601163000,
"line_mean": 39.206235012,
"line_max": 111,
"alpha_frac": 0.5283311464,
"autogenerated": false,
"ratio":... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgviewerCocoa"
# !!! This program will need manual tuning before it will work. !!!
import sys
# Translated from file 'ViewerCocoa.h'
# -*-c++-*-
#*
#* OpenSceneGraph example, osgviewerCacoa.
#*
#* Permission is h... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgviewerCocoa.py",
"copies": "1",
"size": "8163",
"license": "bsd-3-clause",
"hash": -6792119804906139000,
"line_mean": 38.8195121951,
"line_max": 267,
"alpha_frac": 0.7558495651,
"autogenerated": false,
"ratio": 3... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgviewerFLTK"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import FL
from osgpypp import osgDB
from osgpypp import osgGA
from osgpypp import osgViewer
# Translated from ... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgviewerFLTK.py",
"copies": "1",
"size": "6178",
"license": "bsd-3-clause",
"hash": -7119171865241966000,
"line_mean": 30.8453608247,
"line_max": 139,
"alpha_frac": 0.656846876,
"autogenerated": false,
"ratio": 3.6... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgviewerGLUT"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgGA
from osgpypp import osgViewer
# Translated from... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgviewerGLUT.py",
"copies": "1",
"size": "4429",
"license": "bsd-3-clause",
"hash": 121391452512388340,
"line_mean": 28.9256756757,
"line_max": 98,
"alpha_frac": 0.692932942,
"autogenerated": false,
"ratio": 3.6037... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgviewerMFC"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osgDB
from osgpypp import osgGA
from osgpypp import osgUtil
from osgpypp import osgViewer
# Translated f... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgviewerMFC.py",
"copies": "1",
"size": "24360",
"license": "bsd-3-clause",
"hash": 1346664201282015700,
"line_mean": 24.2959501558,
"line_max": 204,
"alpha_frac": 0.7083743842,
"autogenerated": false,
"ratio": 3.0... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgviewerQt"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osgDB
from osgpypp import osgGA
from osgpypp import osgQt
from osgpypp import osgViewer
# Translated from... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgviewerQt.py",
"copies": "1",
"size": "4332",
"license": "bsd-3-clause",
"hash": -1649679250718022000,
"line_mean": 32.84375,
"line_max": 171,
"alpha_frac": 0.702677747,
"autogenerated": false,
"ratio": 3.68054375... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgviewerSDL"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osgDB
from osgpypp import osgGA
from osgpypp import osgViewer
# Translated from file 'osgviewerSDL.cpp'
... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgviewerSDL.py",
"copies": "1",
"size": "7207",
"license": "bsd-3-clause",
"hash": 6948132650402932000,
"line_mean": 32.2119815668,
"line_max": 111,
"alpha_frac": 0.6657416401,
"autogenerated": false,
"ratio": 3.76... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgviewerWX"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osgDB
from osgpypp import osgGA
from osgpypp import osgViewer
from osgpypp import wx
# Translated from fi... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgviewerWX.py",
"copies": "1",
"size": "10741",
"license": "bsd-3-clause",
"hash": -3838069645247866400,
"line_mean": 26.7545219638,
"line_max": 89,
"alpha_frac": 0.6828042082,
"autogenerated": false,
"ratio": 3.43... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgvirtualprogram"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgText
from osgpypp import osgViewer
# Translate... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgvirtualprogram.py",
"copies": "1",
"size": "45343",
"license": "bsd-3-clause",
"hash": -4987941928583838000,
"line_mean": 45.5533880903,
"line_max": 111,
"alpha_frac": 0.4589242,
"autogenerated": false,
"ratio": ... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgvolume"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgGA
from osgpypp import osgManipulator
from osgpypp impor... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgvolume.py",
"copies": "1",
"size": "38910",
"license": "bsd-3-clause",
"hash": -6119845332836739000,
"line_mean": 38.4224924012,
"line_max": 202,
"alpha_frac": 0.6408892316,
"autogenerated": false,
"ratio": 3.771... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgwidgetaddremove"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osgWidget
# Translated from file 'osgwidgetaddremove.cpp'
# -*-c++-*- osgWidget - Code by: Jeremy... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgwidgetaddremove.py",
"copies": "1",
"size": "3422",
"license": "bsd-3-clause",
"hash": -3190797152955517000,
"line_mean": 22.7638888889,
"line_max": 83,
"alpha_frac": 0.6113383986,
"autogenerated": false,
"ratio"... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgwidgetbox"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgWidget
# Translated from file 'osgwidgetbox.cpp'
#... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgwidgetbox.py",
"copies": "1",
"size": "3612",
"license": "bsd-3-clause",
"hash": 6031424054801786000,
"line_mean": 25.7555555556,
"line_max": 83,
"alpha_frac": 0.657807309,
"autogenerated": false,
"ratio": 3.1299... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgwidgetcanvas"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osgWidget
# Translated from file 'osgwidgetcanvas.cpp'
# -*-c++-*- osgWidget - Code by: Jeremy Moles... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgwidgetcanvas.py",
"copies": "1",
"size": "3862",
"license": "bsd-3-clause",
"hash": 4892062612743966000,
"line_mean": 23.7564102564,
"line_max": 91,
"alpha_frac": 0.6602796479,
"autogenerated": false,
"ratio": 3.... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgwidgetframe"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osgDB
from osgpypp import osgWidget
# Translated from file 'osgwidgetframe.cpp'
# -*-c++-*- osgWidget... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgwidgetframe.py",
"copies": "1",
"size": "4228",
"license": "bsd-3-clause",
"hash": 8970126639934074000,
"line_mean": 28.5664335664,
"line_max": 67,
"alpha_frac": 0.6556291391,
"autogenerated": false,
"ratio": 3.0... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgwidgetinput"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osgDB
from osgpypp import osgViewer
from osgpypp import osgWidget
# Translated from file 'osgwidgetinp... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgwidgetinput.py",
"copies": "1",
"size": "1947",
"license": "bsd-3-clause",
"hash": 6221161122769486000,
"line_mean": 23.6455696203,
"line_max": 69,
"alpha_frac": 0.6949152542,
"autogenerated": false,
"ratio": 3.3... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgwidgetinput_"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osgDB
from osgpypp import osgViewer
from osgpypp import osgWidget
# Translated from file 'osgwidgetinp... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/osgwidgetinput.py",
"copies": "2",
"size": "1692",
"license": "bsd-3-clause",
"hash": 561881189662310660,
"line_mean": 28.6842105263,
"line_max": 69,
"alpha_frac": 0.6814420804,
"autogenerated": false,
"ratio": 3.3111545988258317,
... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgwidgetlabel"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgWidget
# Translated from file 'osgwidgetlabel.cpp'
# -*-c++-*- osgWidget -... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgwidgetlabel.py",
"copies": "1",
"size": "3800",
"license": "bsd-3-clause",
"hash": -1144565638578228700,
"line_mean": 26.1428571429,
"line_max": 83,
"alpha_frac": 0.6834210526,
"autogenerated": false,
"ratio": 2.... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgwidgetmenu"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osgDB
from osgpypp import osgWidget
# Translated from file 'osgwidgetmenu.cpp'
# -*-c++-*- osgWidget -... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgwidgetmenu.py",
"copies": "1",
"size": "3493",
"license": "bsd-3-clause",
"hash": -9066233367632562000,
"line_mean": 23.95,
"line_max": 84,
"alpha_frac": 0.6312625251,
"autogenerated": false,
"ratio": 3.368370298... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgwidgetmessagebox"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgAnimation
from osgpypp import osgDB
from osgpypp import osgWidget
# Tr... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgwidgetmessagebox.py",
"copies": "1",
"size": "17468",
"license": "bsd-3-clause",
"hash": -3730490419811970000,
"line_mean": 27.1288244767,
"line_max": 102,
"alpha_frac": 0.5806617815,
"autogenerated": false,
"rat... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgwidgetnotebook"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgGA
from osgpypp import osgViewer
from osgpypp import osgWidget
# Transla... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgwidgetnotebook.py",
"copies": "1",
"size": "4316",
"license": "bsd-3-clause",
"hash": -2420582478384488400,
"line_mean": 26.3164556962,
"line_max": 139,
"alpha_frac": 0.6049582947,
"autogenerated": false,
"ratio"... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgwidgetperformance"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osg
from osgpypp import osgDB
from osgpypp import osgWidget
# Translated from file 'osgwidgetper... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgwidgetperformance.py",
"copies": "1",
"size": "3972",
"license": "bsd-3-clause",
"hash": 4132071249612626400,
"line_mean": 21.9595375723,
"line_max": 90,
"alpha_frac": 0.5979355488,
"autogenerated": false,
"ratio... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgwidgetprogress"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osgDB
from osgpypp import osgWidget
# Translated from file 'osgwidgetprogress.cpp'
# -*-c++-*- osg... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgwidgetprogress.py",
"copies": "1",
"size": "2695",
"license": "bsd-3-clause",
"hash": -6070033228093007000,
"line_mean": 23.9537037037,
"line_max": 78,
"alpha_frac": 0.6367346939,
"autogenerated": false,
"ratio":... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgwidgetscrolled"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osgDB
from osgpypp import osgWidget
# Translated from file 'osgwidgetscrolled.cpp'
# -*-c++-*- osg... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgwidgetscrolled.py",
"copies": "1",
"size": "4295",
"license": "bsd-3-clause",
"hash": 5750920291555106000,
"line_mean": 27.2565789474,
"line_max": 90,
"alpha_frac": 0.6616996508,
"autogenerated": false,
"ratio": ... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgwidgetshader"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osgDB
from osgpypp import osgWidget
# Translated from file 'osgwidgetshader.cpp'
# -*-c++-*- osgWidg... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgwidgetshader.py",
"copies": "1",
"size": "1901",
"license": "bsd-3-clause",
"hash": -5802579490206352000,
"line_mean": 19.8901098901,
"line_max": 67,
"alpha_frac": 0.647553919,
"autogenerated": false,
"ratio": 3.... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgwidgetstyled"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osgWidget
# Translated from file 'osgwidgetstyled.cpp'
# -*-c++-*- osgWidget - Code by: Jeremy Moles... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgwidgetstyled.py",
"copies": "1",
"size": "2110",
"license": "bsd-3-clause",
"hash": -5610673969453932000,
"line_mean": 20.7525773196,
"line_max": 75,
"alpha_frac": 0.6578199052,
"autogenerated": false,
"ratio": 3... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgwidgettable"
import sys
from osgpypp import osgWidget
# Translated from file 'osgwidgettable.cpp'
# -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008
# $Id: osgwidgettable.cpp 43 2008-04-17 03:40:05Z ... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/debugging2/osgwidgettable.py",
"copies": "1",
"size": "3099",
"license": "bsd-3-clause",
"hash": -2106434124861003800,
"line_mean": 45.2537313433,
"line_max": 91,
"alpha_frac": 0.6782833172,
"autogenerated": false,
"ratio": 3.1398176... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgwidgettable"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osgWidget
# Translated from file 'osgwidgettable.cpp'
# -*-c++-*- osgWidget - Code by: Jeremy Moles (... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgwidgettable.py",
"copies": "1",
"size": "3275",
"license": "bsd-3-clause",
"hash": 4541066046192155000,
"line_mean": 36.2159090909,
"line_max": 91,
"alpha_frac": 0.6751145038,
"autogenerated": false,
"ratio": 3.1... |
#!/bin/env python
# Automatically translated python version of
# OpenSceneGraph example program "osgwindows"
# !!! This program will need manual tuning before it will work. !!!
import sys
from osgpypp import osgDB
from osgpypp import osgUtil
from osgpypp import osgViewer
# Translated from file 'osgwindows.cpp'
#... | {
"repo_name": "JaneliaSciComp/osgpyplusplus",
"path": "examples/rough_translated1/osgwindows.py",
"copies": "1",
"size": "4055",
"license": "bsd-3-clause",
"hash": -1051910869292169900,
"line_mean": 32.5123966942,
"line_max": 90,
"alpha_frac": 0.6927250308,
"autogenerated": false,
"ratio": 4.0509... |
#!/bin/env python
#
# AutoPyfactory batch history plugin for Condor
#
import commands
import subprocess
import logging
import os
import sys
import time
import threading
import traceback
import xml.dom.minidom
from datetime import datetime
from pprint import pprint
from autopyfactory.interfaces import BatchStatusInter... | {
"repo_name": "btovar/autopyfactory",
"path": "autopyfactory/plugins/queue/batchhistory/Condor.py",
"copies": "1",
"size": "6713",
"license": "apache-2.0",
"hash": -7467167687464757000,
"line_mean": 34.7074468085,
"line_max": 135,
"alpha_frac": 0.5246536571,
"autogenerated": false,
"ratio": 4.439... |
#!/bin/env python
#
# AutoPyfactory batch plugin for Condor
#
from CondorBase import CondorBase
from autopyfactory.apfexceptions import InvalidProxyFailure
from autopyfactory import jsd
class CondorGrid(CondorBase):
def __init__(self, apfqueue, config, section):
qcl = config
newqcl = qcl.c... | {
"repo_name": "PanDAWMS/autopyfactory",
"path": "autopyfactory/plugins/queue/batchsubmit/CondorGrid.py",
"copies": "1",
"size": "2534",
"license": "apache-2.0",
"hash": 6065012817330619000,
"line_mean": 32.3421052632,
"line_max": 95,
"alpha_frac": 0.591554854,
"autogenerated": false,
"ratio": 3.8... |
#!/bin/env python
#
# AutoPyfactory batch plugin for Condor
#
from CondorBase import CondorBase
from autopyfactory import jsd
from libfactory.htcondorlib import HTCondorSchedd
import subprocess
import time
import commands
import logging
import traceback
class CondorEC2(CondorBase):
id = 'condorec2'
def... | {
"repo_name": "PanDAWMS/autopyfactory",
"path": "autopyfactory/plugins/queue/batchsubmit/CondorEC2.py",
"copies": "1",
"size": "11045",
"license": "apache-2.0",
"hash": -7876027300692639000,
"line_mean": 45.6033755274,
"line_max": 135,
"alpha_frac": 0.5441376188,
"autogenerated": false,
"ratio": ... |
#!/bin/env python
#
# AutoPyfactory batch plugin for Condor
#
from CondorBase import CondorBase
from autopyfactory import jsd
class CondorLocal(CondorBase):
id = 'condorlocal'
"""
This class is expected to have separate instances for each PandaQueue object.
"""
def __init__(self, apfqueue, ... | {
"repo_name": "PanDAWMS/autopyfactory",
"path": "autopyfactory/plugins/queue/batchsubmit/CondorLocal.py",
"copies": "1",
"size": "1900",
"license": "apache-2.0",
"hash": 7585957751518179000,
"line_mean": 32.9285714286,
"line_max": 103,
"alpha_frac": 0.5994736842,
"autogenerated": false,
"ratio": ... |
#!/bin/env python
#
# AutoPyfactory batch plugin for Condor
#
from CondorBase import CondorBase
from autopyfactory import jsd
class CondorLocal(CondorBase):
id = 'condorlocal'
"""
This class is expected to have separate instances for each PandaQueue object.
"""
def __init__(self, apfqueue,... | {
"repo_name": "btovar/autopyfactory",
"path": "autopyfactory/plugins/queue/batchsubmit/CondorLocal.py",
"copies": "1",
"size": "1940",
"license": "apache-2.0",
"hash": 2417707537094851000,
"line_mean": 30.2903225806,
"line_max": 103,
"alpha_frac": 0.5917525773,
"autogenerated": false,
"ratio": 3.... |
#!/bin/env python
#
# AutoPyfactory batch plugin for Condor
#
from CondorCE import CondorCE
from autopyfactory import jsd
class CondorGRAM(CondorCE):
def __init__(self, apfqueue, config, section):
qcl = config
newqcl = qcl.clone().filterkeys('batchsubmit.condorgram', 'batchsubmit.condorce'... | {
"repo_name": "PanDAWMS/autopyfactory",
"path": "autopyfactory/plugins/queue/batchsubmit/CondorGRAM.py",
"copies": "1",
"size": "2539",
"license": "apache-2.0",
"hash": 4689739078527330000,
"line_mean": 34.7605633803,
"line_max": 106,
"alpha_frac": 0.5699094132,
"autogenerated": false,
"ratio": 3... |
#!/bin/env python
#
# AutoPyfactory batch plugin for Condor
#
from CondorCE import CondorCE
from autopyfactory import jsd
class CondorOSGCE(CondorCE):
id = 'condorosgce'
"""
This class is expected to have separate instances for each PandaQueue object.
"""
def __init__(self, apfqueue, config,... | {
"repo_name": "PanDAWMS/autopyfactory",
"path": "autopyfactory/plugins/queue/batchsubmit/CondorOSGCE.py",
"copies": "1",
"size": "1502",
"license": "apache-2.0",
"hash": -774406063714504300,
"line_mean": 34.7619047619,
"line_max": 109,
"alpha_frac": 0.6318242344,
"autogenerated": false,
"ratio": ... |
#!/bin/env python
#
# AutoPyfactory batch plugin for Condor
#
from CondorCE import CondorCE
import autopyfactory.utils as utils
from autopyfactory import jsd
class CondorCREAM(CondorCE):
id = 'condorcream'
"""
This class is expected to have separate instances for each PandaQueue object.
"""
... | {
"repo_name": "PanDAWMS/autopyfactory",
"path": "autopyfactory/plugins/queue/batchsubmit/CondorCREAM.py",
"copies": "1",
"size": "2002",
"license": "apache-2.0",
"hash": 6666141510572087000,
"line_mean": 39.04,
"line_max": 156,
"alpha_frac": 0.6418581419,
"autogenerated": false,
"ratio": 3.451724... |
#!/bin/env python
#
# AutoPyfactory batch plugin for Condor
#
from CondorCE import CondorCE
import autopyfactory.utils as utils
from autopyfactory import jsd
class CondorNordugrid(CondorCE):
id = 'condornordugrid'
"""
This class is expected to have separate instances for each PandaQueue object.
""... | {
"repo_name": "PanDAWMS/autopyfactory",
"path": "autopyfactory/plugins/queue/batchsubmit/CondorNordugrid.py",
"copies": "1",
"size": "4246",
"license": "apache-2.0",
"hash": 6924786194948408000,
"line_mean": 33.2419354839,
"line_max": 107,
"alpha_frac": 0.5527555346,
"autogenerated": false,
"rati... |
#!/bin/env python
#
# AutoPyfactory batch plugin for Condor
#
import commands
import datetime
import logging
import os
import re
import string
import time
import traceback
from autopyfactory import condor
from autopyfactory.condor import mynewsubmit, killids
from autopyfactory import jsd
from autopyfactory.interfa... | {
"repo_name": "btovar/autopyfactory",
"path": "autopyfactory/plugins/queue/batchsubmit/CondorBase.py",
"copies": "1",
"size": "15754",
"license": "apache-2.0",
"hash": 3026932721765808600,
"line_mean": 39.2915601023,
"line_max": 150,
"alpha_frac": 0.5569379205,
"autogenerated": false,
"ratio": 3.... |
#!/bin/env python
#
# AutoPyfactory batch plugin for Condor
#
import commands
import logging
import os
import re
import string
import subprocess
import time
from autopyfactory.interfaces import BatchSubmitInterface
import autopyfactory.utils as utils
from autopyfactory import jsd
from autopyfactory.persistence impo... | {
"repo_name": "PanDAWMS/autopyfactory",
"path": "attic/EucaBatchSubmitPlugin.py",
"copies": "3",
"size": "13038",
"license": "apache-2.0",
"hash": -1766636671324906000,
"line_mean": 37.1228070175,
"line_max": 182,
"alpha_frac": 0.5377358491,
"autogenerated": false,
"ratio": 3.779130434782609,
"... |
#!/bin/env python
#
# AutoPyfactory batch status plugin for Condor
# Dedicated to handling VM job submissions and VM pool startds.
import commands
import subprocess
import logging
import os
import sys
import time
import threading
import traceback
import xml.dom.minidom
from datetime import datetime
from pprint im... | {
"repo_name": "PanDAWMS/autopyfactory",
"path": "attic/CondorEC2.py",
"copies": "2",
"size": "26571",
"license": "apache-2.0",
"hash": 2433780149617693700,
"line_mean": 35.7510373444,
"line_max": 120,
"alpha_frac": 0.4924918144,
"autogenerated": false,
"ratio": 4.5412749957272265,
"config_test"... |
#!/bin/env python
#
# AutoPyfactory batch status plugin for Condor
#
import commands
import getopt
import subprocess
import logging
import os
import sys
import time
import threading
import traceback
import xml.dom.minidom
from datetime import datetime
from pprint import pprint
# Added to support running module as scr... | {
"repo_name": "PanDAWMS/autopyfactory",
"path": "autopyfactory/plugins/queue/batchstatus/Condor.py",
"copies": "1",
"size": "19373",
"license": "apache-2.0",
"hash": -5982473025399695000,
"line_mean": 32.0597269625,
"line_max": 140,
"alpha_frac": 0.5487018015,
"autogenerated": false,
"ratio": 3.9... |
#!/bin/env python
#
# AutoPyfactory batch status plugin for Condor
#
import commands
import subprocess
import logging
import os
import sys
import time
import threading
import traceback
import xml.dom.minidom
from datetime import datetime
from pprint import pprint
from autopyfactory.interfaces import BatchStatusInterfa... | {
"repo_name": "btovar/autopyfactory",
"path": "autopyfactory/plugins/queue/batchstatus/Condor.py",
"copies": "1",
"size": "11691",
"license": "apache-2.0",
"hash": 8823877235192543000,
"line_mean": 35.4205607477,
"line_max": 111,
"alpha_frac": 0.4854161321,
"autogenerated": false,
"ratio": 4.5401... |
#!/bin/env python
#
# AutoPyfactory batch status plugin for Condor
#
import subprocess
import logging
import time
import threading
import traceback
import xml.dom.minidom
from autopyfactory.info import SiteInfo
from autopyfactory.interfaces import WMSStatusInterface, _thread
from libfactory.htcondorlib import HTCond... | {
"repo_name": "PanDAWMS/autopyfactory",
"path": "autopyfactory/plugins/queue/wmsstatus/Condor.py",
"copies": "1",
"size": "10761",
"license": "apache-2.0",
"hash": 523849092680601150,
"line_mean": 36.4947735192,
"line_max": 135,
"alpha_frac": 0.5583124245,
"autogenerated": false,
"ratio": 3.93743... |
#!/bin/env python
#
# AutoPyfactory batch status plugin for Condor
#
import subprocess
import logging
import time
import threading
import traceback
import xml.dom.minidom
from autopyfactory.interfaces import BatchStatusInterface
from autopyfactory.factory import Singleton
from autopyfactory.info import InfoContaine... | {
"repo_name": "btovar/autopyfactory",
"path": "attic/CloudWMSStatusPlugin.py",
"copies": "3",
"size": "22316",
"license": "apache-2.0",
"hash": 1398150029453617200,
"line_mean": 38.7081850534,
"line_max": 112,
"alpha_frac": 0.4587739738,
"autogenerated": false,
"ratio": 4.533008328255129,
"conf... |
#! /bin/env python
#
# BigQuery/Resource participant summary validator.
# # TODO: Delete this tool after BigQuery DAO files are removed from project.
#
import argparse
import logging
import sys
from rdr_service.dao.bq_participant_summary_dao import BQParticipantSummaryGenerator
from rdr_service.resource.generators.pa... | {
"repo_name": "all-of-us/raw-data-repository",
"path": "rdr_service/tools/tool_libs/bq_res_validator.py",
"copies": "1",
"size": "7500",
"license": "bsd-3-clause",
"hash": 7189417646680333000,
"line_mean": 41.1348314607,
"line_max": 116,
"alpha_frac": 0.5834666667,
"autogenerated": false,
"ratio"... |
#!/bin/env python
"""
Build a histogram for a processed geolife dataset
"""
import sys
import pickle
import argparse
from os import listdir
from os.path import join, userexpand
from tracktotrip import Track
def extract_features(points):
max_bin = -1
for point in points:
max_bin = max(max_bin, point.vel... | {
"repo_name": "ruipgil/TrackToTrip",
"path": "scripts/test/build_histogram.py",
"copies": "1",
"size": "2249",
"license": "mit",
"hash": -2357533251981060000,
"line_mean": 24.8505747126,
"line_max": 95,
"alpha_frac": 0.6385060027,
"autogenerated": false,
"ratio": 3.5812101910828025,
"config_tes... |
#!/bin/env python
#
# Build a super cell of a given PDB file.
# Because of peculiarities of NWChem we need to produce a
# super cell by creating more atoms with translated coordinates.
# Then we need to write all the non-water atoms out first
# followed by all water atoms.
#
def read_pdb_file(filename):
'''
R... | {
"repo_name": "rangsimanketkaew/NWChem",
"path": "contrib/pdb_tools/pdb_supercell.py",
"copies": "1",
"size": "5305",
"license": "mit",
"hash": -135335835904781810,
"line_mean": 29.3142857143,
"line_max": 104,
"alpha_frac": 0.6182846371,
"autogenerated": false,
"ratio": 3.5085978835978837,
"con... |
#!/bin/env python
#By Mike Schmitt and Brendan Kohrn
#Version 1.31
#August 20, 2014
"""
This script gives position-specific mutation frequencies from a tagcounts file given as stdin.
The output is tab-delimited and specifies:
chromosome number, template base, nucleotide position, depth, mutations to T, C, G, A, inse... | {
"repo_name": "mwschmit/Duplex-Sequencing",
"path": "mut-position.py",
"copies": "2",
"size": "5829",
"license": "bsd-3-clause",
"hash": -1595655295656071200,
"line_mean": 42.8270676692,
"line_max": 305,
"alpha_frac": 0.5352547607,
"autogenerated": false,
"ratio": 3.5199275362318843,
"config_te... |
#!/bin/env python
#==========================================================================
# (c) 2004-2005 Total Phase, Inc.
#--------------------------------------------------------------------------
# Project : Aardvark Sample Code
# File : aamonitor_filtered.py
#-----------------------------------------------... | {
"repo_name": "oceansystemslab/thrusters_controller",
"path": "docs/examples/aamonitor_filtered.py",
"copies": "1",
"size": "8647",
"license": "bsd-3-clause",
"hash": 4970832326018036000,
"line_mean": 39.2186046512,
"line_max": 87,
"alpha_frac": 0.4843298254,
"autogenerated": false,
"ratio": 4.44... |
#!/bin/env python
#==========================================================================
# (c) 2004 Total Phase, Inc.
#--------------------------------------------------------------------------
# Project : Aardvark Sample Code
# File : aadetect.py
#--------------------------------------------------------------... | {
"repo_name": "oceansystemslab/thrusters_controller",
"path": "docs/examples/aadetect.py",
"copies": "1",
"size": "2492",
"license": "bsd-3-clause",
"hash": 8020905353284754000,
"line_mean": 40.5333333333,
"line_max": 75,
"alpha_frac": 0.4975922953,
"autogenerated": false,
"ratio": 4.934653465346... |
#!/bin/env python
"""
Cascade decomposition
=====================
This example script shows how to compute and plot the cascade decompositon of
a single radar precipitation field in pysteps.
"""
from matplotlib import cm, pyplot as plt
import numpy as np
import os
from pprint import pprint
from pysteps.cascade.band... | {
"repo_name": "pySTEPS/pysteps",
"path": "examples/plot_cascade_decomposition.py",
"copies": "1",
"size": "4579",
"license": "bsd-3-clause",
"hash": 8425686543130515000,
"line_mean": 31.020979021,
"line_max": 87,
"alpha_frac": 0.6289582878,
"autogenerated": false,
"ratio": 3.0085413929040734,
"... |
# (C) Copyright IBM Corporation 2005, 2006
# All Rights Reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# on the rights to use, ... | {
"repo_name": "execunix/vinos",
"path": "xsrc/external/mit/MesaLib/dist/src/mapi/glapi/gen/glX_server_table.py",
"copies": "3",
"size": "14054",
"license": "apache-2.0",
"hash": -8044577178988508000,
"line_mean": 33.2780487805,
"line_max": 142,
"alpha_frac": 0.5246193255,
"autogenerated": false,
... |
#!/bin/env python
## (c)gfragkos 2014
## A console script to display your eXternal IP address.
## Using the -x option it will display your LAN IP address.
import urllib2
import sys
url = 'http://www.unhackable.eu/ip.php'
if len(sys.argv) == 1:
response = urllib2.urlopen(url)
print response.read()
sys.exit(0)
... | {
"repo_name": "drgfragkos/_tools",
"path": "xip.py",
"copies": "1",
"size": "1744",
"license": "mit",
"hash": 5799617247861371000,
"line_mean": 19.5176470588,
"line_max": 65,
"alpha_frac": 0.6473623853,
"autogenerated": false,
"ratio": 2.763866877971474,
"config_test": false,
"has_no_keywords... |
#ckwg +5
# Copyright 2013 by Kitware, Inc. All Rights Reserved. Please refer to
# KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,
# Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.
#
import json
import os
import sys
from PySide.QtCore import *
from PySide.QtGui import *
from vgD... | {
"repo_name": "kfieldho/vivia",
"path": "Libraries/VgDataFramework/Testing/execute_query.py",
"copies": "1",
"size": "2695",
"license": "bsd-3-clause",
"hash": -6701520715117425000,
"line_mean": 29.2808988764,
"line_max": 80,
"alpha_frac": 0.5102040816,
"autogenerated": false,
"ratio": 4.08333333... |
#!/bin/env python
class Solution:
# @param {string} s
# @return {integer}
def lengthOfLongestSubstring(self, s):
ht = {}
ptr1 = 0
ptr2 = 0
result = 0
while ptr2 <= len(s) - 1:
if ptr1 == ptr2:
ht.update({s[ptr2]: str(ptr2)})
... | {
"repo_name": "neoblackcap/leetcode_solution",
"path": "src/problem3.py",
"copies": "1",
"size": "1091",
"license": "bsd-3-clause",
"hash": -4769814825853405000,
"line_mean": 27.7105263158,
"line_max": 63,
"alpha_frac": 0.4381301558,
"autogenerated": false,
"ratio": 3.868794326241135,
"config_t... |
#!/bin/env python
class Solution(object):
def findWords(self, board, words):
"""
:type board: List[List[str]]
:type words: List[str]
:rtype: List[str]
"""
def tryPos(i, j, board, flag, word, pos):
r = len(board)
c = len(board[0])
... | {
"repo_name": "benquike/cheatsheets",
"path": "algo/leetcode/212_wordsearch2.py",
"copies": "1",
"size": "2113",
"license": "cc0-1.0",
"hash": -4554532570535196700,
"line_mean": 27.5540540541,
"line_max": 101,
"alpha_frac": 0.4325603407,
"autogenerated": false,
"ratio": 3.4867986798679866,
"con... |
"""
Enzyme module
=============
This module contains code related to enzyme digestion.
Description
-----------
Dependancies
------------
"""
# Metadata
__version__ = '1.0.1'
__author__ = 'Julian Selley <j.selley@manchester.ac.uk>'
__copyright__ = 'Copyright 2011 University of Manchester, Julian Selley <j.sell... | {
"repo_name": "slyeel/python2.7-proteomics-lib",
"path": "enzyme.py",
"copies": "1",
"size": "1820",
"license": "artistic-2.0",
"hash": -897973386992827500,
"line_mean": 23.5945945946,
"line_max": 100,
"alpha_frac": 0.6131868132,
"autogenerated": false,
"ratio": 3.706720977596741,
"config_test"... |
"""
Mascot module
=============
This module contains code related to interpreting Mascot information
and files. Mascot is a piece of software produced by U{Matrix
Science(R) <http://www.matrixscience.com/>}, which is used in
Proteomics to search Mass Spectrometry data for potential peptide
identifications.
Descripti... | {
"repo_name": "fls-bioinformatics-core/proteomics-python2.7-proteomics-lib",
"path": "mascot.py",
"copies": "2",
"size": "17971",
"license": "artistic-2.0",
"hash": -1915545877948026000,
"line_mean": 37.8982683983,
"line_max": 102,
"alpha_frac": 0.5895053141,
"autogenerated": false,
"ratio": 4.19... |
"""
Test Mascot Module
******************
This is a test suite for the Mascot module. It tests the elements of the Mascot
module, including various file readers / streams.
Overview
========
@todo 201112130955 JNS: write the documentation for this test suite
"""
# Metadata
__version__ = '0.1.0'
__author__ = 'J... | {
"repo_name": "slyeel/python2.7-proteomics-lib",
"path": "tests/mascot_test.py",
"copies": "1",
"size": "8307",
"license": "artistic-2.0",
"hash": -555637852592941000,
"line_mean": 35.2751091703,
"line_max": 119,
"alpha_frac": 0.6312748285,
"autogenerated": false,
"ratio": 4.122580645161291,
"c... |
"""
Mascot Group example
====================
This is an example to show how to use the Mascot Group file reader.
Description
-----------
This code shows the processes of loading the Mascot Group file (an XML
file), and use the group information returned from the loading
procedure.
Take a look through the source cod... | {
"repo_name": "slyeel/python2.7-proteomics-lib",
"path": "examples/mascot_group_file.py",
"copies": "2",
"size": "2146",
"license": "artistic-2.0",
"hash": 7654865914187682000,
"line_mean": 30.5588235294,
"line_max": 96,
"alpha_frac": 0.6794035415,
"autogenerated": false,
"ratio": 3.4612903225806... |
"""
Mascot User example
===================
This is an example to show how to use the Mascot User file reader.
Description
-----------
This code shows the processes of loading the Mascot User file (an XML
file), and use the user information returned from the loading
procedure.
Take a look through the source code for... | {
"repo_name": "slyeel/python2.7-proteomics-lib",
"path": "examples/mascot_user_file.py",
"copies": "2",
"size": "2090",
"license": "artistic-2.0",
"hash": 6669412903080410000,
"line_mean": 30.1940298507,
"line_max": 96,
"alpha_frac": 0.6736842105,
"autogenerated": false,
"ratio": 3.45454545454545... |
#!/bin/env python
# coding: utf-8
# flake8: noqa
import ctypes
import os
import sdl2
import sdl2.ext
import time
from vulkan import *
WIDTH = 400
HEIGHT = 400
# ----------
# Init sdl2
if sdl2.SDL_Init(sdl2.SDL_INIT_VIDEO) != 0:
raise Exception(sdl2.SDL_GetError())
window = sdl2.SDL_CreateWindow(
'test'.e... | {
"repo_name": "realitix/vulkan",
"path": "example/example_sdl2.py",
"copies": "1",
"size": "24694",
"license": "apache-2.0",
"hash": 1108874162979525000,
"line_mean": 33.3449235049,
"line_max": 125,
"alpha_frac": 0.7366161821,
"autogenerated": false,
"ratio": 3.324000538430475,
"config_test": f... |
#!/bin/env python
# coding: utf-8
# flake8: noqa
import ctypes
import os
import time
from vulkan import *
from pywayland.client import Display
from pywayland.protocol.wayland import Compositor, Shell, Shm
WIDTH = 400
HEIGHT = 400
def shm_format_handler(shm, format_):
pass
def registry_global_handler(registry... | {
"repo_name": "realitix/vulkan",
"path": "example/contribs/example_wayland.py",
"copies": "1",
"size": "23816",
"license": "apache-2.0",
"hash": -848400216458167300,
"line_mean": 33.0715307582,
"line_max": 125,
"alpha_frac": 0.7395448438,
"autogenerated": false,
"ratio": 3.3776769252588283,
"co... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.