Saravanan666/pypi-org huggingface dataset:
Package: glowaurora
NewModern Fortran GLOWwith Python, Matlab, or MPI.GLOW 0.973GLOW 0.973 Airglow/Auroralmodel-- now in Python!InstallA Fortran compiler is required:Linux:apt install gfortranMacOS:brew install gccWindowspipinstall-e.ExamplesSelf-test f2pyThis self-test should give zero errors.
This tests the Fortran code from Python.:pytest -vvolume emission rate plotsTo produce the plots seen at the Github site:python RunGlow.pywith options including:-t --simtimetime of simulation-c --latlongeographic coordinate (lat,lon) [degrees]-q --fluxtotal fluxwith the volume emission rate and intermediate processes modeled for the
given primary electron precipitation input.
You can make this more
generally useful as eigenprofiles in the next section.production/loss rate eigenprofilesThis requires two steps:Generate unit input differential number flux vs. energyCompute ionospheric energy deposition and hence production/loss
rates for the modeled kinetic chemistries (12 in total)This is handled by the scriptgridaurora/MakeIonoEigenprofile.pyMatlab access to GlowMatlab can use Glow via the Python interface, as in the exampleglow.m.Papers(Thanks to Stephen Kaeppler to pointing these out)Bailey 2002Solomon 1988Appendix (Not necessary for the typical user)Download the GLOW v0.973 source code from Stan SolomonStan's team has released GLOW v0.98 using modern Fortran, but here's
the original.wget-r-np-nc-nH--cut-dirs=4--random-wait--wait1-R"index.html*"http://download.hao.ucar.edu/pub/stans/glow/v0.973/Download Stan's copy of IRI filesStan tweaked IRI90 slightly, here's the copy he uses.wget-r-np-nc-nH--cut-dirs=3--random-wait--wait1-R"index.html*"http://download.hao.ucar.edu/pub/stans/iri/compile the Fortran code by itselfThe Fortran program used by itself spits out a lot of text as its
output:cdbin
cmake../src
cmake--build.Fortran self-testAuroral example./auroraexample<aurexample.in>aurtest.datHigh energy example./hexexample<hexexample.in>hextest.datNotesLicensingoriginal Fortran code in directoryfortran/as obtained fromhttp://download.hao.ucar.edu/pub/stans/glow/: "This software is part
of the GLOW model. Use is governed by the Open Source Academic Research
License Agreement contained in the file glowlicense.txt."Python code and modifications to original Fortran code: GNU Affero GPLv3+
Package: glow-cli
glowThe glow command line interface.________    ____ _       __
  / ____/ /   / __ \ |     / /
 / / __/ /   / / / / | /| / /
/ /_/ / /___/ /_/ /| |/ |/ /
\____/_____/\____/ |__/|__/
____________________________
__________________________________
________________________________________📦 Installationpipinstallglow-cliYou can set up configuration in~/.glow/commands/<task>.yml🚀 Usageglist🦋 TemplatingSay you set up a config at "./commands/pod-shell.yml"description:|Entering the shell of the 1st pod that matches the keywordcommand:|kubectl exec -it $(kubectl get pods | grep { kw } | head -n 1 | awk '{print $1}') -- /bin/bashinputs:kw:description:keyword to matchtype:stryou can run the command with:g./commands/pod-shell.yml--kw"app1"Or you can store the configuration byginstall./commands/pod-shell.ymlThen you can run the command with:gpod-shell--kw"app1"Setup Configs and SecretsSetup(CRUD) secrets# to make secret token accessible to g command linegsecretsaddSOME_TOKEN

gsecretslist
gsecretsremoveSOME_TOKENSetup(CRUD) configsgconfigaddSOME_CONFIG"us-east-1"gconfiglist
gconfigremoveSOME_CONFIG🦙 LLM in CLI 💻Why memorize commands when you can just ask?Then you can try:gllm"redub a.mp4 file with b.mp3, save to c.mp4 with fps 12"Or you can ask other things in general:gllm"explain btree to me"Or with certain flavor to the robot rolegllm"explain btree to me""you are a poet return everything in homer style"✨ combine with other commandsHere's some good use cases to combine with other commandsgllm"shell into one of the pods:$(kubectlgetpods)with keyword app1"gllm"please summarize the commit message for$(gitdiff)"gllm"can you explain the structure of this folder:$(ls-l)"Choose other modelUse the following to choose other modelg configs add GLOW_LLMGlow hubSetup a hub on github to manage your glow commands. Say if the hub is athttps://github.com/repo_owner/hubExample structure of a hub:./
├── README.md
├── glow
│   ├── README.md
│   ├── script-1.yml
│   ├── build-image.yml
│   ├── deploy-abc.ymlSetupgsecretsaddGH_PATH
gconfigsaddGLOW_HUB_OWNERrepo_owner
gconfigsaddGLOW_HUB_REPOhubInstall scriptgglowhubscript-1.yml
Package: glowcord
glowcordA modern, easy-to-use, feature-rich, and async-ready API wrapper for Discord written in Python.Fork noticeThis is a fork of discord.py, which unfortunately has beenofficially discontinuedon 28th August 2021.
glowcord will try to replace discord.py, withcontinued support and features, to still offer former discord.py users a stable API wrapper for their bots.Key FeaturesModern Pythonic API usingasyncandawaitProper rate limit handlingOptimised in both speed and memoryInstallingPython 3.8 or higher is requiredTo install the library without full voice support, you can just run the following command:# Linux/macOSpython3-mpipinstall-Uglowcord# Windowspy-3-mpipinstall-UglowcordOtherwise to get voice support you should run the following command:# Linux/macOSpython3-mpipinstall-U"glowcord[voice]"# Windowspy-3-mpipinstall-Uglowcord[voice]To install additional packages for speedup, run the following command:# Linux/macOSpython3-mpipinstall-U"glowcord[speed]"# Windowspy-3-mpipinstall-Uglowcord[speed]To install the development version, do the following:$gitclonehttps://github.com/glowcord/glowcord/$cdglowcord$python3-mpipinstall-U.[voice]Optional PackagesPyNaCl(for voice support)aiodns,Brotli,cchardet(for aiohttp speedup)orjson(for json speedup)Please note that on Linux installing voice you must install the following packages via your favourite package manager (e.g.apt,dnf, etc) before running the above commands:libffi-dev (orlibffi-develon some systems)python-dev (e.g.python3.6-devfor Python 3.6)Quick Examplefromglowcord.extimportcommandsbot=commands.Bot(command_prefix='$')@bot.command()asyncdefping(ctx):awaitctx.reply('Pong!')bot.run('token')You can find more examples in the examples directory.NOTE:It is not advised to leave your token directly in your code, as it allows anyone with it to access your bot. If you intend to make your code public you shouldstore it securely.LinksDocumentationOfficial Discord ServerDiscord API
Package: glowgreen
glowgreenA small Python package for calculating radiation dose from close contact patterns with radioactive patients.RequiresPython >= 3.9InstallationInstall the package from thePython Package Index(PyPI) usingpip:python -m pip install --upgrade glowgreenAlternatively, if you have a clone of the repository on your local computer, you can install it via thepyproject.tomlfile.
First update your pip:python -m pip install --upgrade pipThen enter e.g.:python -m pip install -e \path\to\glowgreen-master\These are the preferred methods as they handle the dependencies for you.
Another way is to add theglowgreen-master\srcdirectory to the PYTHONPATH environment variable. For example, for Windows:set PYTHONPATH=%PYTHONPATH%;\path\to\glowgreen-master\src\DependenciesPython packages:numpy>= 1.21.4scipy>= 1.7.3matplotlib>= 3.5.0pandas>= 1.3.4It has not been tested with earlier versions of these packages.TestingYou can run some tests if there is a clone of the repository on your local computer. Installpytest:python -m pip install --upgrade pytestThen in theglowgreen-masterdirectory run:python -m pytestDocumentationDocumentation including API reference can be found here:https://glowgreen.readthedocs.ioBuild documentation locallyDocumentation is generated usingsphinx.
See thistutorial.If thedocs/source/directory does not exist, seehowto_documentation.mdto generate the documentation from scratch.
Otherwise, do the following:Check the project information is up-to-date indocs/source/conf.py.Install sphinx:python -m pip install sphinxGithub does not have empty directoriesdocs/source/_staticanddocs/source/_templates.
Optionally create these empty directories to avoid a warning in the next step.Indocsdirectory, run:make htmlSourcehttps://github.com/SAMI-Medical-Physics/glowgreenBug trackerhttps://github.com/SAMI-Medical-Physics/glowgreen/issuesAuthorsJake Forster (Jake.Forster@sa.gov.au)Erin Lukas (Erin.Lukas@sa.gov.au)Copyrightglowgreenis Copyright (C) 2022, 2023 South Australia Medical Imaging.LicenseMIT license. See LICENSE file.Publishingglowgreenis published on PyPI:https://pypi.org/project/glowgreen/See thistutorial.PublicationsPapers that useglowgreen:Close contact restriction periods for patients who received radioactive iodine-131 therapy for differentiated thyroid cancer, J. C. Forster et al., In preparation.
Package: glowingbike
Upgrade your bike with LEDs, raibows and turn signals.Want your bike getting upgraded by me or do you have some ideas for the project?Fill out this contact form.Want to support the development and stay updated?Click hereto see photos of the bike.FeaturesTurn left & right animationRainbow animationSafe driving animationRequirementsHardwareyour bike1x ESP8266 or ESP32 (for example NodeMCU)3x WS2812B LED strips with waterproof protection3x USB to MicroUSB cables with switch to turn on/off power2x Toggle switches1x external battery with 3 or more USB portsa bunch of longer cable tiestapesoldering iron, soldercables, to connect LED strips, Toggle switches, USB power cables and ESPfur fabricSoftwarePython 3clone this repolatest MicroPython for yourESP8266orESP32(.bin file)How to test the codepip install glowingbikesudo pythonfrom glowingbike import Bike

Bike(test=True).on()How to upgrade your bikeSoftwareInstall MicroPythonon your ESP8266oryour ESP32copy latestneopixel_plus.pyto the main directory of your ESP using the WebREPL.create 'functions' folder on ESP, with all files from the'functions' folder of The Glowing Bike Projectcopy 'main.py' and 'bike.py' to main directoryElectronics overviewHardwaretape one LED strip to the back of your bike, one to the center part and one at the front of your bikefor each LED strip solder the LED strip power and ground to the power and ground of one of the USB cables with a switch in the middle (on Micro USB side) - and connect the power and ground of the ESP to the USB cable with the least amount of LEDs connectedsolder the data cables of the LED strips to the ESP (GPIO 13 for the front LEDs, GPIO 12 for the center LEDs and GPIO 14 for the back LEDs)connect the USB cables with the external battery and fix the battery on the back of your bikefix the toggle switches to your bike handlebar at the front (using tape and cable ties) and solder it to the ESP (use GPIO 3 for the data pin of the left switch, GPIO 1 for the right switch)once you connected all the electronics, cut out pieces of fabric to cover the cables connecting the front LED strip and switches, cover the bike with your fabric and make sure the LEDs aren't covered with the fabricfix the fabric, LED strips and wires using cable tiesDone! Turn on all three switches and you are ready to drive:)Photos
Package: glow-navigator
This is a prototype for use with the an app designer tool at my workplace.The project uses a directed graph approach to map the relationship between different objects such asformflowstemplates (pages and forms)conditionscommand rulesimagesThe user can interrogate the graph using regex to locate nodes of interest and to then explore the connections (nodes) between the predecessors (parents or callers) and the successors (children or callees) to understand the relationship between the various objects.
Package: glowpython
GLOWThe GLobal airglOW Model, independently and easily accessed fromFortran 2003compiler.
Optionally available from Python ≥ 3.7.A Fortran compiler is REQUIRED.Note:This version usesmesonandninjaas the build system, and does not rely ondistutils,
and is Python 3.12 compatible.InstallationNote:For macOS Big Sur and above, add the following line to your environment script (~/.zshrcif using ZSH, or the relevant shell init script):exportLIBRARY_PATH="$LIBRARY_PATH:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"Then reopen the terminal. This fixes the issue where-lSystemfails forgfortran. Additionally,
installation ofgfortranusinghomebrewis required.Direct installation using pip:$pipinstallglowpythonInstall from source repository by:$gitclonehttps://github.com/sunipkm/glowpython
$cdglowpython&&pipinstall.Requires (and installs)geomagdatafor timezone aware geomagnetic parameter retrieval.Then use examples such as:Examples/Maxwellian.py: Maxwellian precipitation, specify Q (flux) and E0 (characteristic energy).Examples/NoPrecipitation.py: No precipitating electrons.These examples are also available on the command line:GlowMaxwellianandGlowNoPrecip.Or, use GLOW in your own Python program by:importglowpythonasglowiono=glow.maxwellian(time,glat,glon,Nbins,Q,Echar)ionois axarray.Datasetcontaining outputs from GLOW, including:number densities of neutrals, ions and electronsPedersen and Hall currentsvolume emission rate vs. wavelength and altitudeprecipitating flux vs. energyproduction and loss ratessolar flux and wavelength rangeselectron energy depositionAll available keys carry unit and description.
Package: glowriya-housing
Predicts Median housing valueThe housing data can be downloaded fromhttps://raw.githubusercontent.com/ageron/handson-ml/master/. The script has codes to download the data. We have modelled the median house value on given housing data.The following techniques have been used:Linear regressionDecision TreeRandom ForestSteps performedWe prepare and clean the data. We check and impute for missing values.Features are generated and the variables are checked for correlation.Multiple sampling techinuqies are evaluated. The data set is split into train and test.All the above said modelling techniques are tried and evaluated. The final metric used to evaluate is mean squared error.Change Log0.0.1 (13-11-2020)-First Release
Package: glowtracker
GlowTrackerGlowTracker is a macroscope tracking application that has the capability of tracking a small animal in bright-field, single or dual epi-fluorescence imaging. The application interface provides controls over linear Zaber stage movement and Basler camera properties. Please visit the documentation website on how to build the setup from scratch and how to operate the software athttps://scholz-lab.github.io/GlowTracker/.Getting startedInstall the correct environmentInstallConda[Link]Create environmentUsingMamba(faster, recommended)Install Mamba from[Link]Create environment:mambaenvupdate-nmacroscope--fileStageEnvironment.ymlUsingCondacondaenvcreate--fileStageEnvironment.ymlActivate the environment:condaactivatemacroscopeInstall theBASLERpylon software and runtime library[Link]pylon Camera Software Suitepylon runtime library(Optional) InstallZaber Launcherfor inspecting and updating stage firmware[Link]After finished installation, the software can be started bypythonglowtracker/__main__.pyDevice SetupStageInmacroscope.ini, specify the connectionportname to your Stage. In Windows, this is usuallyport = COM3. In Linux, usuallyport = /dev/ttyUSB0CameraInmacroscope.ini, specify the path to your pylon default camera settingdefault_settings. This is a.pfsfile that can be obtained from thepylon Viewersoftware that you have downloaded.GUI overviewCode overviewThe application is based on the Kivy framework which connects to the macroscope hardware.
The GUI functionality is implemented mostly in the Kivy file, whereas device functionality is relayed to specific modules.Known issuesOn Linux systems, accessing serial ports needs to be allowed for the user running the GUI. In Ubuntu and similar systems, the user has to be added to the group 'dialout'.
Package: gl-pages-forward
gl-pages-forwardTheTechnical University of Munich (TUM)has a nice service forTinyURLs.
You can create there short links, e.g.,https://go.tum.de/584374.
However, you can only do this for*.tum.deor*.lrz.deaddresses.
To circumvent this, I created this repository.
With the Python scripts in here, you can create severalforwardpages, e.g.,index.htmlthat do nothing else but redirect the browser to a given site.
If you combine these forward pages with theGitLab Pagesof thegitlab.lrz.de, you can create a short link for every site you want.Usage$create-forward-pages--help
Usage:create-forward-pages[OPTIONS]Creates'index.html'sthatforwardtoaspecificURL.

Options:-v,--version-c,--config-fileFILE[default:config.yml]-o,--outputDIRECTORY[default:public]-u,--base-urlTEXT-m,--minifyIfthisflagisset,thetoolwillminifytheHTML.--install-completion[bash|zsh|fish|powershell|pwsh]Installcompletionforthespecifiedshell.--show-completion[bash|zsh|fish|powershell|pwsh]Showcompletionforthespecifiedshell,tocopyitorcustomizetheinstallation.--helpShowthismessageandexit.ContactIf you have any question, please contactPatrick Stöckle.
Package: glparchis
glParchisProject linksGlparchis doxygen documentation:https://coolnewton.mooo.com/doxygen/glparchis/index.htmlGame statisticshttp://glparchis.sourceforge.net/php/glparchis_statistics.phpSnapshotsInstall in LinuxIf you use Gentoo you can find a ebuild inhttps://github.com/Turulomio/myportage/tree/master/games-board/glparchisIf you use other distribution compatible con pip, you need to run:pip install glparchisInstall in Windows as a python moduleYou need to install Python fromhttps://www.python.organd add it to the PATHYou must open a console with Administrator privileges and type:pip install glparchisIf you want to create a Desktop shortcut to launch glParchis you must write in console:glparchis_shortcuts.exeInstall in Windows as a standalone applicationYou need to download glparchis-X.X.X.exe from github releaseJust execute itDependencieshttps://www.python.org/, as the main programming language.https://pypi.org/project/PyQt5/, as the main library.https://pypi.org/project/pywin32/, to create shortcuts.https://pypi.org/project/PyOpenGL/, for OpenGL api.AuthorsTurulomio: Idea and development. English and spanish translations.Nadejda Adam: French translationChangelogPlease read theCHANGELOG
Package: gl-parser
GL ParserGeneral ledger Excel parser and converter.Documentation:https://luiscberrocal.github.io/gl-parserGitHub:https://github.com/luiscberrocal/gl-parserPyPI:https://pypi.org/project/gl-parser/Free software: MITFeaturesTODOCreditsThis package was created withCookiecutterand thewaynerv/cookiecutter-pypackageproject template.
Package: glpy
glpyglpy is pyOpenGl wrapper which lets you work with pyOpenGl easily.It is not meant to be a replacement for pyOpenGl but runs on top of pyOpenGl to avoid most of the boiler plate setupFeaturesRobust abstraction over pyOpenGl event loopdecorators to simplify callback functionsCode Examplefrom  glpy  import *
app = glpy()

@point(10)
def plotpoints():
    glColor3f(100, 150, 200)
    glVertex2f(0,0)

app.run(lambda:plotpoints())find more exampleshereInstallationpip install glpyAPI Referenceglpy()allowed keyword argumentsParameterTypeDescriptionDefaultmodeconstantDisplay modeGLUT_RGBAsizetupleWindow size(500,500)positiontupleWindow position(0,0)bgcolortuplebackground color(0, 0, 0, 1.0)titlestringwindow titlenew titleaxis_rangetupleThe range of 2D plane(-100, 100,-100, 100)How to use?Make sure you have opengl installed on your systemInstall the package using  pip.import the package and initialilze glpyapp = glpy()you can pass in additional parameters as seen in the API Reference as keyword argumentsapp = glpy(title = "line drawing")define your callback function with the help of point decorator which takes the size of the     point to be plotted as an argument . NOTE: using a decorator is not neccesory for the library to work but it can significatly reduce the code size@point(10)
def plotpoints():
    glColor3f(100, 468, 200)
    glVertex2f(0,0)call the run the method using the callback function as  an argument to run the function
NOTE: use a lambda function to pass callback functions with argumentsapp.run(lambda:plotpoints())ContributeContributions are what makes the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.Fork the ProjectCreate your Feature Branch (git checkout -b feature/AmazingFeature)Commit your Changes (git commit -m 'Add some AmazingFeature')Push to the Branch (git push origin feature/AmazingFeature)Open a Pull RequestLicenseAPACHE ©Abhinav TB
Package: glqiwiapi
🌎Official api resources:🎓Documentation:here🖱️Telegram chat:Benchmarkshint:smallerisbetter
glQiwiApi90.9925(1.0)103.3993(1.0)95.4082(1.0)5.3941(1.0)92.4023(1.0)8.2798(1.0)pyQiwiP2P112.2819(1.23)135.0227(1.31)123.7498(1.30)9.9919(1.85)127.5926(1.38)17.2723(2.09)🐦DependenciesLibraryDescriptionaiohttpAsynchronous HTTP Client/Server for asyncio and Python.pydanticJson data validator. Very fast instead of custom
Package: glr
glrRun scripts defined in your .gitlab-ci.yml file, locally.NOTE: This tool just executes the commands in your local shell, running in Docker is not (yet) supportedInstallationglr requires Python 3+ (tested on Python 3.6.5) and pyyaml. To install glr, runpip install glrand you'll have the glr command availableDemoYou can try out glr with the included .gitlab-ci.yml file, and you should get a result like this:
Package: glreg
glregprovides functionality to parse and extract data fromOpenGL XML API Registryfiles. Types, enums and functions (commands) in
the registry can be enumerated and inspected. This module also provides
functions to resolve dependencies and filter APIs in the registry. This makes
it useful for generating OpenGL headers and loaders.Sample codeImport the module:>>> import glregLoad a Registry object from a file:>>> registry = glreg.load(open('gl.xml'))Generate a simple OpenGL ES 2 C header:>>> for api in glreg.group_apis(registry, api='gles2', support='gles2'):
...     print('#ifndef ' + api.name)
...     print('#define ' + api.name)
...     print(api.text)
...     print('#endif')
#ifndef GL_ES_VERSION_2_0
#define GL_ES_VERSION_2_0
#include <KHR/khrplatform.h>
typedef khronos_int8_t GLbyte;...RequirementsPython 2.7+, 3.2+DocumentationDocumentation is available athttps://pyglreg.readthedocs.org/Installationglreg is available atPyPI. Simply run the following:# pip install --pre glregOr, if you downloaded the source, run the following from the source directory:# python setup.py installDevelopmentPlease report bugs and feature requests tohttps://github.com/pyokagan/pyglreg/LicenseMIT License
Package: glrlm
python-glrlmThis is library of Gray Level Run Length Matrix, feature extraction method of image processingInstallationpip install glrlmUsage ExamplefromglrlmimportGLRLMimportcv2IMG_PATH='path_to_your/image'img=cv2.imread(IMG_PATH)app=GLRLM()glrlm=app.get_features(img,8)Features extractedFeature extraction result from GLRLM librarySRE = Short Run EmphasisLRE = Long Run EmphasisGLU = Grey Level UniformityRLU = Run Length UniformityRPC = Run PercentageSupportReach me out onEmailContributionIf you find out this library as useful please give it a star to let everyone know. If you have idea on how to improve this library, I am always open for every contributors. Thank you!
Package: glsapi
GLS REST API Python ClientThis is a Python client for the GLS (https://gls-group.eu) REST API. It allows you to track your shipments.It currently only supports package tracking, not any other API endpoints.InstallationpipinstallglsapiUsagefromglsapiimportGLSAPIapi=GLSAPI()# Realtime trackingtracking=api.tracking("YOUR_SHIPMENT_NUMBER")LicenseThis project is licensed under the MIT License - see theLICENSEfile for details.