Saravanan666/pypi-org huggingface dataset:
Package: glscpc
GitLab CI ShellCheck pre-commit hook┏━╸╻  ┏━┓┏━╸┏━┓┏━╸
┃╺┓┃  ┗━┓┃  ┣━┛┃  
┗━┛┗━╸┗━┛┗━╸╹  ┗━╸This is a small project to help with maintaining clean GitLab CI scripts.Supportedbefore_script,script,after_scripthooks:pre_get_sources_scriptDependenciesIt's required to installshellcheckand make it available in $PATH. You can specify the feature (aka extra) "shellcheck" and it
will be installed via the optional dependencyshellcheck-py. (pip install glscpc[shellcheck])All Python dependencies (see pyproject.toml) are installed by pip when you install the package.When setting up a development environment, use hatch to set up the dependencies. Runninghatch buildwill do the heavy lifting for you.For Pycham support runhatch env run which pythonand add its output as an "existing" virtualenv interpreter.UsageThis script should be runafteryou check that the yml file iswell-formedandvalid.The intended use is via the provided hook in the repo:repos:-repo:https://github.com/pre-commit/pre-commit-hooksrev:mainhooks:# Check if all yaml files are well-formed-id:check-yaml-repo:https://github.com/bjd2385/pre-commit-gitlabci-lintrev:masterhooks:# Linting API requires you set the project ID correctly and also have an API token configured in your environment!# You also should skip this step in the CI, since if it was invalid, the CI wouldn't be running anyway.-id:gitlabci-lintargs:['-p','49052761']# This repo <3-repo:https://gitlab.com/Qteal/oss/gitlabci-shellcheck-precommitrev:mainhooks:-id:glscpcThe pre-commit hook automatically installs shellcheck, so it's not required to pre-install it in your CI for example.Runpre-commit autoupdateto replace the branch references with the latest tags.But it's also possible to install the Python package in your environment and run theglscpcscript.You can install the package viapypi(only tagged versions / releases are pushed) or theGitLab package registry(includes dev builds).To automatically download a shellcheck binary as a dependency, usepip install glscpc[shellcheck].Runglscpc --helpfor up-to-date usage information and the help text.
Package: gl-search
gl-searchThis is a lib that use gitlab api to search code.
This code is based in the libgitlab-search.AboutIt is a lib to search code at gitlab.
This search can be parameterized with params groups, extension, filename, path, max-workers and visibility.How install?pipinstallgl_searchHow it works?The lib use gitlab token (GITLAB_PRIVATE_TOKEN) to search.How to setup the token?Get your token at gitlab and then execute following command to save at home user at the .gl-settings.toml file.gl-searchsetup-token<token>Can I change gitlab official to self hosted?Yes you can. Use following command to setup the gitlab-addressgl-searchsetup-gitlab-address<self-hosted-gitlab-address>Where I get gitlab token?You can get on following linkgitlab-tokenThe TOKEN must be generated with scope read_api.Why this lib was built?I had problem with repo visibility using a mentioned lib above so I built this script to resolve my problem.How to usegl-searchsearchtestThis options is show up below.➜gl_searchgit:(main)✗gl-searchsearch--help
Usage:gl-searchsearch[OPTIONS]SEARCH_CODE_INPUTSearchcommand.

Options:-p,--pathTEXTsearchbyPath-fn,--filenameTEXTsearchbyfilename-ext,--extensionTEXTcodefilenameextension::py,js,cs-g,--groupsTEXTsearchbygitlabgroup-mw,--max-workersINTEGERnumberofparallelrequests-v,--visibility[internal|public|private]repositoriesvisibility-xdr,--max-delay-requestINTEGER-d,--debugDebug::showurlscalled.--helpShowthismessageandexit.How was made the lib?The lib was built using click, rich, request, ThreadPoolExecutor.
Package: glslt
glsltglslt is the main library that supports the GLSL Template compiler transforms. If you are
building a system that relies on transforming GLSLT code, you'll want to interact with this
library directly instead of the command-line interface provided byglsltc.UsageRust crateThe glslt crate manipulates syntax trees generated by theglsl-lang
crate.useglslt::glsl_lang::{ast::*,parse::IntoParseBuilderExt};useglslt::transform::{Unit,TransformUnit};letglsl_src=r#"float sdf3d(in vec3 p);float colort();float sdSphere(vec3 p, float r) {return length(p) - r;}float opElongate(in sdf3d primitive, in colort C, in vec3 p, in colort D, in vec3 h) {vec3 q = p - clamp(p, -h, h);return C() * primitive(q) * D();}void mainImage(out vec4 fragColor, in vec2 fragCoord) {float sz = 5.;fragColor = vec4(vec3(opElongate(sdSphere(_p, sz), 1.0, vec3(fragCoord, 0.), 2.0, vec3(1., 2., 3.))), 1.0);}"#;// Parse the GLSLT source codelettu:TranslationUnit=glsl_src.builder().context(&glslt::parse::make_parse_context(None)).parse().expect("failed to parse GLSLT source").0;// Create the transform unitletmutunit=Unit::new();// Parse declarationsfordeclintu.0.into_iter(){unit.parse_external_declaration(decl).expect("failed to parse declaration");}// Generate the resultlettu=unit.into_translation_unit().expect("failed to generate output");// Transpile the syntax tree to GLSL sourceletmutoutput_src=String::new();glsl_lang::transpiler::glsl::show_translation_unit(&mutoutput_src,&tu,glsl_lang::transpiler::glsl::FormattingState::default(),).expect("failed to generate GLSL");Python libraryIf you installed the glslt library viapip install glsltormaturin develop, you may use the Python interface to the GLSLT compiler.importglslt# Parse the `sdf.glsl` file with `my-glsl-lib/include` being a system include# directory for #include resolutiontranslation_unit=glslt.parse_files(["sdf.glsl"],["my-glsl-lib/include"])# Create a new minimizing transform unitunit=glslt.MinUnit()# Add the parsed declarations to the transform unitunit.add_unit(translation_unit)# Get the output of the transformresult=unit.to_translation_unit(["mainImage"])# Print the GLSL codeprint(result.to_glsl())AuthorVincent Tavernierv.tavernier@pm.me
Package: gl-snippet
This tool is used to download a snippet from Gitlab to a local file.It is primarily intended for use within a Gitlab CI/CD pipeline, but may be used
as a standalone tool elsewhere. When used in a pipeline the–gl-url`,--proj_idandtokenare already defined by Gitlab.InstallationFrom Pypi:pipinstallgl-snippetUsageUsage: gl-snippet [OPTIONS] SNIP_ID TARGET

  Fetch a snippet contents from Gitlab.

  This is used to fetch the contents of a snippet and save it to a file.
  Note that the snippet must be a single-file snippet. Gitlab supports
  snippets with multiple files (but their python-gitlab API doesn't really
  handle multi-file snippets very well.)

  The parameters --gl-url, --proj_id and --token may be specified directly
  or as environment variables. These use the standard Gitlab CI/CD pipeline
  variables.

  A use-case for this is to store the contents for .pypirc or pip.conf in a
  snippet to fetch for a Gitlab pipeline step.

Options:
  --gl-url TEXT      URL to Gitlab server (CI_SERVER_URL)
  --proj_id INTEGER  Project ID (CI_PROJECT_ID)
  -t, --token TEXT   API access token (CI_JOB_TOKEN)
  --help             Show this message and exit.Each snippet in Gitlab needs to be a single-file snippet (due to the limited way thegitlab-pythonsnippet API works). A snipped may be a “global” or a project snippet. To
access a “global” snippet from within a Gitlab pipeline supply--proj_id""Example from a.gitlab-ci.yml:before_script:-pip install gl-snippet-gl-snippet 25 ~/.pypircExample from desktop:$pipinstallgl-snippet$gl-snippet--gl-urlhttps://gitlab.com--proj_id529--token<your_api_token>25~/.pypircRelease Notes0.1.6.0Build as “–universal”0.1.5.0Creates target directory if not already createdDefault--proj_idto 0 for “global” snippets
Package: glsr-present
GitLab Security Reports PresenterProvide build information and pretty-printed GitLab security reports in a CI pipeline⚠ Exposes found weaknesses and vulnerabilitiesPublishing scan results can pose a security risk,
consider usingglsr-presentin trusted environments only.Installation from PyPIpip install glsr-presentJinja2(Version 3.1.2 or newer)
is required and will be installed as an indirect dependency if not installed yet.Installation in a virtual environment is strongly recommended.UsageOutput ofpython3 -m glsr_present --help:usage: glsr_present [-h] [--version] [-d | -v | -q]
                    [-b TEMPLATE_NAME | -f TEMPLATE_PATH] [-l] [-n]
                    [-o DESTINATION]

Provide build information and pretty-printed GitLab security reports in a CI
pipeline

options:
  -h, --help            show this help message and exit
  --version             print version and exit
  -l, --list-templates  list available templates and exit
  -n, --dry-run         no action (dry run): do not write any files
  -o DESTINATION, --output-directory DESTINATION
                        write files to directory DESTINATION (default: docs)

Logging options:
  control log level (default is WARNING)

  -d, --debug           output all messages (log level DEBUG)
  -v, --verbose         be more verbose (log level INFO)
  -q, --quiet           be more quiet (log level ERROR)

Template option:
  Select a builtin template or one from the file system for the overview
  page

  -b TEMPLATE_NAME, --builtin-template TEMPLATE_NAME
                        use the built-in template TEMPLATE_NAME (default:
                        build-info.md.j2)
  -f TEMPLATE_PATH, --template-file TEMPLATE_PATH
                        use the template from file TEMPLATE_PATHFurther readingPlease see the documentation athttps://blackstream-x.gitlab.io/glsr-presentfor detailed usage information.If you found a bug or have a feature suggestion,
please open an issuehere
Package: glstatus
GitLab StatusA simple tool to retrieve and update your GitLab status from your terminalInspired FromBrunoScheufler's ghstatusInstall$ pip install glstatusUsage$ glstatus auth

$ glstatus set unicorn Shipping
#=> Status set Successful! 🦄 Shipping

$ glstatus get
#=> 🦄 ShippingLicenseMITYoginth
Package: glsvg
glsvg===============================================A python library for parsing and displaying SVG filesusing opengl, with a focus on being usable for games.-----------------------------------------------Usage-----------------------------------------------```pythonimport glsvg# initialize opengl context# ...# load svg filesvg_doc = glsvg.SVG(filename)# draw svg filesvg_doc.draw(x,y)```-----------------------------------------------Status-----------------------------------------------Requires:- PyOpenGLSupported game libraries:- PyGame- PygletSupported SVG features:- All SVG path commands (arc/curves/lines/etc.)- Basic SVG shapes (rectangle, ellipse)- Per-Pixel Linear and Radial Gradients- Parsable color names- Variable line widths and miter/bevel jointsSVG Features In Progress:- SVG patterns- SVG effects (Drop shadow, blur, etc.)- More sophisticated line effects (patterns, arc joints, etc.)Likely to be not supported:- Animation- Text (this would be likely to require too many extra dependencies for fonts, but an easy workaround is to convert textobjects to paths in your editor, ie Inkscape or Illustrator)- CSS based style tags-----------------------------------------------Credits:-----------------------------------------------Based on the squirtle mini-library by Martin O'Leary:http://www.pyweek.org/d/1783/
Package: gltf-helper
GLTF Helperglb(web images) -> glb(basis images)For converting gltf/glb files with embedded jpgs/pngs to glb files with embedded basisu images.Featuresglb (web images) -> glb (basisu images)glb (web images) -> glb (ktx2 images)glb (basisu images) -> glb (web images)glb (ktx2 images) -> glb (web images)multiple filescustom basisu compression flagscustom gltf-pipeline flagsUse casesUnity gltf pipeline:GLTFUtilityKTXUnitySeesample project✨Blue Pill UsagePrerequisitesdockerTestmake docker-testmakefile ->check itRed Pill UsagePrerequisitesbuild basisu ->check itinstall gltf-pipeline ->check itInstall PyPI packagepip install --user gltf-helperTestmake cli-testgltf-helper --help

Usage: main.py [OPTIONS] COMMAND [ARGS]...

  glb/gltf(web images) -> glb(basis images)

  A CLI to convert gltf/glb assets with png/jpg textures into glb assets
  with embedded basis/ktx2 textures.

  Made with typer -> [check it](https://github.com/tiangolo/typer)

Options:
  --install-completion  Install completion for the current shell.
  --show-completion     Show completion for the current shell, to copy it or
                        customize the installation.

  --help                Show this message and exit.

Commands:
  convert     Convert a glb/gltf(web images) -> glb(basis images)
  expand-glb  Expand a glbCLI readme ->check it
Package: gltfloupe
gltfloupe 🔎glTF viewer.https://github.com/ousttrue/gltfloupeexperimental pyimgui-2.0 GUIgit+ssh://git@github.com/pyimgui/pyimgui@dockinginstallpip install gltfloupe --upgradewindows{PYTHON_INSTALL}/Scripts/gltfloupe.exe
Package: gltfutils
gltfutilsThis package allows you to load, save and manipulate GLTF 2.0 files in Python 3.x.Installationgltfutils is available on pypi, allowing it to be installed by runningpip install gltfutils.Installing from sourceClone the repository, and from the repository's root directory runpython setup.py installRunning the testsClone the repository, and from the repository's root directory runpython setup.py testExamplesLoading a gltf filefromgltfutilsimportGLTF2withopen(GLTF_FILENAME,'r')asf:gltf=gltfutils.GLTF2.load(f)Loading a GLB filefromgltfutilsimportGLBwithopen(GLB_FILENAME,'r')asf:gltf=gltfutils.GLB.load(f)Accessing the Contents of a GLTF 2.0 FileAccess is done through dotted notation. Assuming an existing gltf file is loaded with the namegltf:print(gltf.assetfornodeingltf.nodes:print(node.mesh)NOTE: Optional attributes are always present and in most cases default to None (in the case of indices, for example), or
an empty list, when the variable is a list (i.e. a node's children).Saving gltf JSONAssuming an existing gltf file is loaded with the namegltf:importjsonwithfasopen(OUTPUT_FILENAME,'w'):json.dump(f,gltfutils.to_json(gltf))TODOFor 1.0:Test coverage measurement + badgeCI badgeBuffer Loaing and Accessor implementationSparse accessorsEditor moduleFor the future:Draco compressionLighting extensionLOD Extension
Package: glucid
glucidis a python project to provide an api, a convenient
command-line interface andxglucid, a PyQt5 interface  to
configure RS232-model Lucid 8824 Analog/Digital Audio Converters
over a Serial ConnectionxglucidGUIglucidCommand Line$ glucid -g
----------------------------------------

glucid and glucid8824.py:
Copyright (C) 2017,2018 Daniel R Mechanic
GPL version 3 ONLY <http://gnu.org/licenses/gpl.html>.
This program comes with ABSOLUTELY NO WARRANTY;
This is free software, and you are welcome to
change and redistribute it under certain circumstances;
For details see LICENSE
----------------------------------------
Using /dev/ttyUSB0 to connect to lucid ID 00

Sync:                 WordClock
Meter:                Analog Out
Analog Source:        ADAT In
AES Source:           ADAT In
Optical Source:       Analog In
Dig Input 1,2:        S/PDIF
Analog Gain:

***************************************
Recommended: +4dBu: IN -8 dB OUT  +1 dB
            -10dBV: IN +4 dB OUT -11 dB
***************************************

    Channel 1: IN -8 dB OUT  +1 dB
    Channel 2: IN -8 dB OUT  +1 dB
    Channel 3: IN -8 dB OUT  +1 dB
    Channel 4: IN -8 dB OUT  +1 dB
    Channel 5: IN -8 dB OUT  +1 dB
    Channel 6: IN -8 dB OUT  +1 dB
    Channel 7: IN -8 dB OUT  +1 dB
    Channel 8: IN -8 dB OUT  +1 dBglucid Python Package>>> import glucid.glucid8824 as glucid
>>> my8824 = glucid.Glucid8824()
>>> my8824.connect()
True
>>> my8824.get_meter()
'Analog Out'
>>> my8824.get_sync_source()
'44.1 Internal'
>>> my8824.set_sync_source(1)
>>> my8824.get_sync_source()
'WordClock'Copyright (C) 2017,2018  Daniel R Mechanic (dan.mechanic@gmail.com)Visithttp://www.glucid.orgfor more information
Package: glucose-stats
glucose-stats - Calculate glucose statistics from continuous glucose monitoring dataInstallationThe package is available under pypi:pip install glucose-statsUsageThis package is currently under construction. More info will come soon!If you are running into problems, feel welcome to contact the author (evanweenen@ethz.ch).LicenseThis code is © E. van Weenen, 2023, and it is made available under the MIT license enclosed with the software.Over and above the legal restrictions imposed by this license, if you use this software for an academic publication then you are obliged to provide proper attribution.E. van Weenen. glucose-stats: Calculate glucose statistics from continuous glucose monitoring data, v0.0.1 (2023). github.com/evavanweenen/glucose-stats.
Package: glud
OverviewGlud is an abstraction on the libclang library that make matching fragments of
the Clang AST simple and Pythonic, in the same way thatlibclangastmatchersdoes for the C++ Clang API.ExamplesOn the code snippet// input.cppnamespaceX{classY{};}classY{};You could match a class named X in the namespace Y with the matcher:fromgludimport*m=cxxRecordDecl(hasName('Y'),hasAncestor(namespaceDecl(hasName('X'))))tu=parse('input.cpp')matches=walk(m,tu.cursor)PrerequisitesInstall a recent version of Clang and the python libclang bindings. On Ubuntu
Trusty, you can install pre-built binaries from the LLVM apt repositories:wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
echo "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.8 main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update -qq
sudo apt-get install -y python-clang-3.8 libclang1-3.8To run glud, you’ll need to make sure that libclang.so is on your loader path.export LD_LIBRARY_PATH=/usr/lib/llvm-3.8/libInstallingYou can install the latest stable version from PyPI$pipinstallgludOr, you can install the latest development version from GitHub$pipinstallgit+git://github.com/AndrewWalker/glud.gitAcknowledgementsThis project is in no way affiliated with the LLVM Team or the University of
Illinois at Urbana-Champaign.ContributingIf you experience problems with glud,log them on GitHub. If you
want to contribute code, pleasefork the codeandsubmit a pull request.
Package: gludb
Travis CI
DetailsSee our documentation athttp://gludb.readthedocs.io/Generalized Learning Utilities Database LibraryFor more GLU, see alsoSuperGLUGLUDB provides a simple way to read/write data to some popular
datastores like Amazon’s DynamoDB and Google Cloud Datastore. We
provide:A simple abstraction layer for annotating classes that need
serializationSupport for versioning by automatically storing change history with
the dataAutomated “indexing”, which includes querying on the value of indexesAutomated, configurable backup to Amazon’s S3 (and Glacier depending
on how you configure the S3 buckets)We support Python 2 (2.7 and greater) and 3 (3.4 and greater). The data
stores supported are:sqliteDynamoDBGoogle Cloud DatastoreMongoDBPostgreSQL (version 9.5 and greater)InstallingYou can install from PyPI using pip:pip install gludbYou will also need to install any dependencies you need based on the
functionality you want to use:DynamoDB Backend - botoGoogle Cloud Datastore - googledatastoreMongoDB - pymongoBackups - botosetup.py includes these dependencies so that you can install them all at
the same time (assuming a decently recent version of pip). As an
example, you could install gludb and the dependencies needed for
DynamoDB and backup support into a virtualenv using Python 3 like this:user@host:~$ virtualenv -p python3 env
user@host:~$ . env/bin/activate
user@host:~$ pip install --upgrade pip wheel
user@host:~$ pip install gludb[dynamodb,backups]
Package: glueather
glueatherA simple Python/Qt weather application using the OpenWeather API.glueather allows you to fetch the current weather as well as hourly and daily forecasts for any given location. The interface is extremely simple to use and multiplatform, working exactly the same across a variety of operating systems like MacOS, Linux or Windows.Instead of showing fancy graphics glueather focuses on the actual meteorological data, neatly presented in a tabular fahsion, particularly useful for the forecasts. The data is provided by the freeOpenWeather API, through thousands of distributed home weather stations in addition to standard sources of meteorological data.ScreenshotsFeaturesSimple interfaceMultiplatform (MacOS/Linux/Windows)Current weatherHourly forecastDaily forecastUnits (Celsius/Fahrenheit)Persistent settingsAdvanced weather API (OpenWeather)DependenciesPython >= 3.7.0pyowm >= 3.2.0PyQt5 >= 5.15.1 (on Debian Stable use specifically 5.12.1)Install (pip)pip install glueatherInstall (source)Globalgit clone https://github.com/vascocosta/glueather.git
cd glueather
pip install -r requirements.txtVenvMacOS/Linuxgit clone https://github.com/vascocosta/glueather.git
cd glueather
python -m venv venv
source venv/bin/activate
pip install -r requirements.txtWindowsgit clone https://github.com/vascocosta/glueather.git
cd glueather
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txtRun (pip)glueatherRun (source)cd glueather/src/
python glueather.py
Package: glue-biscuit
### Setup for local development (installing dependencies for IDE highlighting)1. Clone Repo1. Install Python 3.7- Newer versions of Python 3 will probably work, but won't match the PyGlue1. Download [PyGlue.zip](https://s3.amazonaws.com/aws-glue-jes-prod-us-east-1-assets/etl-1.0/python/PyGlue.zip)- Documentation around this can be found [here](https://docs.aws.amazon.com/glue/latest/dg/dev-endpoint-tutorial-pycharm.html)- Put this zip in the project directory after cloning locally1. Install dependencies `pip install -r requirements.txt`1. (If using VSCode) Create `.env` in the project directory- Add a line adding the PyGlue.zip file to your PYTHONPATH environment variable. e.g. `PYTHONPATH=".:/Users/bskiff/projects/python-stuff/GlueTest/PyGlue.zip"`### Running tests1. Install Docker1. Run `docker build -t glue . && docker run -it glue`### Linting and formatting```bashmake lint # checks linting and stylesmake format # fixes style rule violations```
Package: glue-core
GlueGlue is a python project to link visualizations of scientific datasets
across many files.This repository contains theglue-corepackage which includes much of the core
functionality of glue that is used for the different front-ends, including the Qt-based
application and the Jupyter-based application. Other key repositories include:glue-qt: the original Qt/desktop application for glueglue-jupyter: a Jupyter front-end for glueIn addition to these, there are a number of plugin packages available. For a full list of repositories,
seehttps://github.com/glue-viz/.FeaturesInteractive, linked statistical graphics of multiple files.Support for manyfile
formatsincluding common image formats (jpg, tiff, png), ascii tables,
astronomical image and table formats (fits, vot, ipac), and HDF5.
Custom data loaders can also beeasily
added.Highlyscriptable and
extendable.InstallationFor installation documentation, visitglueviz.org.ContributingIf you are interested in contributing toglue, please read ourCode of ConductandContribution Guidelines.SupportPlease report problems toglueviz@gmail.com, oropen an
issue.LicenseGlue is licensed under theBSD
License.