Saravanan666/pypi-org huggingface dataset:
Package: geetools
Google Earth Engine toolsGoogle Earth Engineis a cloud-based service for geospatial processing of vector and raster data. The Earth Engine platform has aJavaScript and a Python APIwith different methods to process geospatial objects.Thegeetoolspackage extends the Google Earth Engine Python API with pre-processing and processing tools for the most used satellite platforms by adding utility methods for different Earth Engine Objects that are friendly with the Python method chaining using thegeetoolsnamespace.There is JavaScript module that you can import from the code editor that has
similar functions (not exactly the same) and it’s availablehere.InstallationpipinstallgeetoolsWhy using it ?New utility methods and constructors are added to most of the GEE classes. They can be simple wrapper for repetitive tasks, complex algorithm or mandatory preprocessing steps. The goal is to make the code more fluid and easy to read for researchers, students and analysts.The package design is mostly performing server-side computation making it also very friendly with commercial users of Earth Engine.This small example wrapping of the excellentee_extrapackage functionalities shows how to preprocess sentinel 2 data in 5 lines of code:importeeimportgeetools#noqa: F401importpygaul# another gee-community package to access FAO GAUl 2015 dataset# we assume you are already authenticated to GEEee.Initialize.geetools.from_account("toto")# yes we also support multi usersamazonas=pygaul.Items(name="Amazonas").centroid()S2=(ee.ImageCollection('COPERNICUS/S2_SR').filterBounds(point).geetools.closest('2020-10-15')# Extended (pre-processing).geetools.maskClouds(prob=70)# Extended (pre-processing).geetools.scaleAndOffset()# Extended (pre-processing).geetools.spectralIndices(['NDVI','NDWI','BAIS2']))# Extended (processing)
Package: geeup
geeup: Simple CLI for Earth Engine Uploadsgeeup is a command-line tool for batch uploading image and table assets to Google Earth Engine, designed for open source geospatial users. It is a minimal tool with a simple objective: to make it easy to upload and manage assets in Google Earth Engine. This tool borrows many features from the another project of minegeeaddsuch as quota estimation before uploading new assets, task monitoring and cancellation to name a few of these tools.If you use this project, star and cite it as below to show your supportSamapriya Roy. (2023). samapriya/geeup: geeup: Simple CLI for Earth Engine Uploads (1.0.0).
Zenodo. https://doi.org/10.5281/zenodo.8385048Find thereadme docs here
Package: geeutils
Google Earth Engine (GEE) UtilitiesThis project provides a few simple utility functions for interacting with GEE.AuthenticationTo function properly, this code needs credentials that it can use to authenticate against the Google Earth Engine API.  Credentials can be provided in one of two ways, and the code will look for them in this order:Service Account Key.Before running this code, create an environment variable namedSERVICE_ACCOUNT_KEYcontaining the JSON key for a Google Cloud service account with the necessary permissions to perform the actions you're trying to perform in GEE.Personal Credentials.Before running this code, authenticate with the Google Earth Engine API using theearthenginecommand line tool:$ earthengine authenticateDevelopmentThis project usesPipenvto manage virtual environments and dependencies. Development-time dependencies are documented in thePipfile. Follow thePipenvdocumentation to create a virtual environment and install the dependencies.This project also usespre-committo run various Python code quality checks (linting and styling) on every commit.  Before you begin any development work, install the pre-commit hook with:$pre-commitinstallMakefileThe includedMakefileprescribes actions to test, build, and publish this code to a Python Package Index (PyPI) repository as described in the following sections.$ make [test | build | publish]TestingWith the virtual environment active and the dependencies installed, usepytestto run the test suite.BuildingThis project uses thesetuptoolsPython package for packaging as describedhere.When building via themake buildcommand, you may optionally append to the package name using theprereleaseargument. For example, if the current version ofgeeutilsspecified in thesetup.pymodule is1.2.3, then$ make build prerelease=rc1will produce a package namedgeeutils-1.2.3rc1. The default is a beta prerelease name incremented by each git commit (eg/1.2.3b7for the seventh commit on this branch). Specify a final release with$ make build prerelease=""Note that prerelease names must comply withPEP 440.PublishingThis project uses thetwinePython package for distribution as describedhere.When publishing via themake publishcommand, the default PyPI repository istestpypi. To publish topypi.org, specify that repository:$ make publish pypi_repository=pypiThe credentials necessary to publish to the target PyPI repository can be provided in one of two ways.As these environment variables:Env VarNotesPYPI_REPOSITORY_USERNAMEPyPI account username. If authenticatingusing a token, use the literal string__token__.PYPI_REPOSITORY_PASSWORDPyPI account password. If authenticatingusing a token, use the token contents.At themake publishcommand:$ make publish pypi_repository_username="foo" pypi_repository_password="bar"
Package: geeViz
GTAC GEE Visualization Python ModulesA repository of GEE Python code modules for general data processing, analysis, and visualizationCan be accessed from the GEE Community RepositoryOr within the internal Forest Service GitHub instanceA javaScript equivalent can be accessed in the GEE Playgroundon GitHubOr within the Forest Service GitHub instancePrimary POCsIan Housman-ian.housman@usda.govJosh Heyer-joshua.heyer@usda.govBonnie Ruefenacht-bonnie.ruefenacht@usda.govInstallingBecome a trusted Google Earth Engine (GEE) tester (https://signup.earthengine.google.com/#!/)Install package using pip (pip install geeViz)
folderAuthenticate using the GEE cli in a cmd prompt (earthengine authenticate)You can also install with git. If installing this way, first install the Python GEE package (pip install earthengine-api)Then clone this repository (git clone https://github.com/rcr-usfs/geeViz) into your Python's site-packagesTo stay up to date, upgrade via PIP (pip install geeViz --upgrade) or pull the latest commit (git pull origin master)This repository is also available within the FS gitHub instance (https://code.fs.usda.gov/forest-service/geeViz)UsingSeveral examples are available within the examples module to help you get started. To test, enter the following command within the Python build you installed geeViz in:from geeViz.examples import geeViewExampleOther examples are:from geeViz.examples import timeLapseExamplefrom geeViz.examples import getLandsatWrapperfrom geeViz.examples import getSentinel2Wrapperfrom geeViz.examples import getCombinedLandsatSentinel2Wrapperfrom geeViz.examples import harmonicRegressionWrapperfrom geeViz.examples import LANDTRENDRWrapperfrom geeViz.examples import LANDTRENDRVizfrom geeViz.examples import CCDCVizfrom geeViz.examples import lcmsViewerExamplefrom geeViz.examples import LCMAP_and_LCMS_Viewerfrom geeViz.examples import phEEnoVizWrapperfrom geeViz.examples import LANDTRENDRVizfrom geeViz.examples import GFSTimeLapseThese examples are a great way of getting started. In order to use them for your work, go to you Python site-packages folderPythonNN\Lib\site-packages\geeVizThere are several notebook eamples also available. These are very similar to their script counterparts, but are better for learning how to use the tool.When these examples are run, a viewer should open in your default browser. It will show any data that was added to the map.Layers can be toggled on/off and opacity changed.  They can also be measured and queried under the TOOLS pane.ContributingIf you have a great piece of GEE code to share, please contact a POC listed above.
Package: gee-whiz-2
Gee Whiz 2Gee Whiz 2 is a program for managing Guild Wars 2 addons, profiles, and launching the game from a Python program.On PyPiOn GiteaInstallationDownload the source of a release tag and change into the directory, for example by running the following:VERSION=2.0.0-beta4# Set this to some other tag if you want a specific versiongitclonegit@git.jharmison.com:james/gw2.gitcdgw2
gitcheckout$VERSIONOnce you have a version you want to install in your working directory, you can execute the following to build and install:make
sudomakeinstallUninstallationChange into the directory you downloaded the release into originally and run:sudomakeuninstallUsageAfter installation, there is a file in /etc/gw2/config.yml that may be useful as a starting point for your own configuration. To customize your installation, run the following:mkdir-p~/.config/gw2
cp/etc/gw2/config.yml~/.config/gw2/${EDITOR:-nano}~/.config/gw2/config.ymlAs Gee Whiz 2 version 2 is still in rapid development, please seegw2 --helpfor more information on command line usage, including management options for other profiles (to save multiple login passwords).
Package: geezlit
GeezLitGe'ezTransliterationA Python library for transliterating Ge'ez script into various ASCII based encodings.Supported scheme:ethiop: for Latex documents that use theethioppackage withbabelto render Ge'ez text.sera: a system for representing Ge'ez script in ASCII.msera: a system based on SERA but modified byHornMorph.geezime: a scheme used by theGeezIMEinput method by GeezLabipa: the International Phonetic AlphabetIPA.InstallUse pip install the package:pip install geezlitUsageOnce installed, you can import the library and make a simple function calls.fromgeezlitimportgeezlitgeezlit("<Ge'ez text>",style="<style>")Currently, the defaultstyleisethiop.
Package: geeznum
Geez Number ConvertorThis library helps you to convert any arabic number to geez number.Installation$ pip install geeznumExamplepython

from geeznum import GeezNumber

geez = GeezNumber()

numbers = [15, 20, 109, 55, 1011, 1500, 167, 2345, 2500, 5100, 10,000]

for num in numbers:
    print(geez.convert(num))Output፲፭
፳
፻፱
፶፭
፲፻፲፩
፲፭፻
፲፷፯
፳፫፻፵፭
፳፭፻
፶፩፻
፼
Package: gef-file-to-map
gef-file-to-mapUtility library for parsing of .gef files, written forpygef.Run locally# Install maturin inside a Python environmentpython3-mvenv.envsource.env/bin/activate
pipinstallmaturin# Create a Python package from the Rust codematurindevelop# Open a GEF file locallypython

>>>fromgef_file_to_mapimportparse
>>>gef_to_map(open('./tests/test.gef').read())
Package: gefilte
Gefilte Fish automates the creation of GMail filters.  You write a Python
program using gefilte’s domain-specific language (DSL), run the program, and
import the XML it creates.Sample PythonHere’s an example of creating filters:fromgefilteimportGefilteFish,GFilter# Specialize GFilter for repo-specific GitHub notifications.classGitHubFilter(GFilter):defrepo(self,repo_name):org,repo=repo_name.split("/")returnself.list_(f"{repo}.{org}.github.com")# Make the filter-maker and use its DSL. All of the methods of GitHubFilter# are now usable as global functions.fish=GefilteFish(GitHubFilter)withfish.dsl():# Google's spam moderation messages should never get sent to spam.withreplyto("noreply-spamdigest@google.com"):never_spam()mark_important()# If the subject and body have these, label it "liked".withsubject(exact("[Confluence]")).has(exact("liked this page")):label("liked")# We get a lot of notifications from GitHub,# we'll make a number of filters that apply.withfrom_("notifications@github.com"):# Skip the inbox (archive them).skip_inbox()# Notifications from some repos are special.withrepo("myproject/tasks")asf:label("todo")withf.elif_(repo("otherproject/something"))asf:label("otherproject")withf.else_():# But everything else goes into "Code reviews".label("Code reviews")# Delete annoying bot messages.withfrom_("renovate[bot]"):delete()# GitHub sends to synthetic addresses to provide information.withto("author@noreply.github.com"):label("mine").star()withhas('Merged, "into master"'):label("merged")# Data-driven filters. I'm mentoring these people# on these projects so make sure they get my attention.forwho,wherein[("Joe Junior","myproject/component1"),("Francine Firstyear","myproject/thing2"),]:withfrom_(exact(who)).repo(where):label("mentee").star().mark_important()# Some inbound addresses come to me. Mark them so# I understand what I'm looking at in my inbox.fortoaddr,the_labelin[("info@mycompany.com","info@"),("security@mycompany.com","security@"),("con2020@mycompany.com","con20"),("con2021@mycompany.com","con21"),]:withto(toaddr):label(the_label)print(fish.xml())Thewithclauses create nested contexts in which all of the enclosing
filters apply.  Theelif_andelse_structures are a little awkward,
but easier than manually making filters with the same effect.Installing filtersWhen you run your program, it will create XML output.  Save that output in a
file.  In your browser, go to GMail - Settings - Filters and Blocked Addresses.
Then “Import Filters”, “Choose File”, “Open File”, then “Create Filters”.NoteBe careful with the “Apply new filters to existing email” choice.  “Delete”
actions that run on incoming email will delete individual messages, but when
run during import, they delete the entire conversation the message is in.For more information about filtering in GMail, seeSearch operators you can
use with Gmail.LicenseThe code in this repository is licensed under the Apache Software License 2.0
unless otherwise noted.  SeeLICENSE.txtfor details.Changelog0.5.1 — 2022-02-23Removed unneeded vestigial XML elements from the output.0.5.0 — 2021-03-28First version.
Package: gefragt-gejagt
gefragt-gejagt-studioDie Software für "Gefragt - Gejagt: Junghacker*innen Edition" für den Einsatz auf dem 36. Chaos Communication Congress! Mithelfen unterhttps://nwng.eu/36c3-ggoder in diesem Repository!"Gefragt - Gejagt" wird in Deutschland für die ARD von itv produziert. Dieses Projekt hat keine Verbindungen zu den gennanten Organisationen und wird nur für ein nicht-kommerzielles Community-Event verwendet.BeitragenDie genaue, geplante Funktionsweise der Software ist im [RFC][RFC.md] dokumentiert - der RFC wird ständig erweitert, sobald Entscheidungen getroffen wurden, die noch nicht darin dokumentiert sind. Alle Beiträge sind willkommen!SetupUm ein VirtualEnv mit allen Abhängigkeiten zu erstellen, führe folgendes aus:python -m virtualenv .venv
source .venv/bin/activate
pip install -r requirements.txtServer startenUm den Server zu starten, benutzepython -m gefragt_gejagt. Hierzu musst du dich allerding im VirtualEnv befinden:source .venv/bin/activateWenn du Informationen zu den verfügbaren Optionen brauchst, verwende den optionalen Parameter-h.AufbauZur Verknüpfung zwischen dem Python-Backend und dem Frontend nutzen wir die Bibliothek Eel. Mehr Infos dazu unterhttps://github.com/samuelhwilliams/Eel/LicenseThis project is licensed with theEuropean Union Public Licence (EUPL) v1.2The new version 1.2 of the European Union Public Licence (EUPL) is published in the 23 EU languages in the EU Official Journal:Commission Implementing Decision (EU) 2017/863 of 18 May 2017 updating the open source software licence EUPL to further facilitate the sharing and reuse of software developed by public administrations(OJ 19/05/2017 L128 p. 59–64).
Package: gefslim
gefslimA minimal reader for .gef filesGetting startedPlease refer to thedocumentation. In particular, theAPI documentation.InstallationYou need to have Python 3.9 or newer installed on your system. If you don't have
Python installed, we recommend installingMambaforge.There are several alternative options to install gefslim:Install the latest development version:pipinstallgit+https://github.com/timtreis/gefslim.git@mainInstall from PyPI:pipinstallgefslim
Package: gegravity
gegravity: General Equilibrium Gravity Modeling in Pythongegravity is a Python package containing tools used to estimate general equilibrium (GE) structural gravity models and simulate counterfactual experiments. The package is based on the well established version of the gravity model described by Yotov, Piermartini, Monteiro, and Larch (2016)An Advanced Guide to Trade  Policy  Analysis:  The  Structural  Gravity  Model. It implements the structural GE gravity model in a general, robust, and easy to use manner in an effort to make GE gravity modeling more accessible for researchers and policy analysts.The package provides several useful tools for structural gravity modeling.It computes theory consistent estimates of the structural multilateral resistance terms of Anderson and van Wincoop (2003) "Gravity with Gravitas" from standard econometric gravity results.It simulates GE effects from counterfactual experiments such as new trade agreements or changes to other trade costs. The model can be flexibly used to study aggregate or sector level trade as well as many different types of trade costs and policies.It conducts Monte Carlo simulations that provide a means to compute standard errors and other measures of statistical precision for the GE model results.For more information about the GE gravity model, its implementation, and the various components of the package, see the companion paper"gegravity: General Equilibrium Gravity Modeling in Python"as well as thetechnical documentation.Citation and licenseThe package is publicly available and free to use under the MIT license. Users are asked to please cite the following document,Herman, Peter (2021) "gegravity: General Equilibrium Gravity Modeling in Python." USITC Economics Working Paper 2021-04-B.
Package: geidiprime
GeidiPrimeThis is an extremely experimental Transformer architecture with Macaron like FFNs with local attention. Perhap's we can add the visual expert from Zeta and make it multi-modal!InstallUsageimporttorchfromgeidi_prime.modelimportGeidiPrimeTransformermodel=GeidiPrimeTransformer(dim=4096,depth=6,heads=8,num_tokens=20000,)x=torch.randint(0,20000,(1,4096))out=model(x)print(out.shape)LicenseMIT
Package: geigerlog
README.md:NOTE: Allarticlesare relocated into the FOLDER named 'Articles'GeigerLog 1.2.1 has been released!GeigerLog now supports all current Gamma-Scout Counters, including the lat­est “Online” model, the only one of the breed which allows logging.A SimulCounter has been added, which creates its “counts” with a Poisson random number generator. Helpful for understanding the workings of a Geiger counter and GeigerLog.Search the entire NotePad for the occurrence of a text like ‘abc’ or ‘123.456’The tool GLpipcheck was improvedThe Easter Holidays are approaching, and fittingly, an Easter egg can now be found in GeigerLog. Do your best – perhaps you will see a dancing GEIGERA?Placeholdersingledoubletriplequatrro
Package: geihdanepy
GeihdanePyIt's time for the GEIH to know pythonGeihdanepy es un paquete de python para facilitar el uso de los datos de la Gran Encuestra Integrada de Hogares del DANE.DescripciónEl paquetegeihdanepynace de la idea de estudiantes de economía para facilitar la investigación científica - académica usando los datos de la Gran Encuesta Integrada de Hogares, una de las más importantes bases de datos que proporciona de forma abierta el Departamento Nacional de EstadísticaDANE.¿Como usar geihdanepy?Primero lo primeroPara empezar a trabajar con geihdanepy se debe realizar la instalación del paquete usando el comandopip install geihdanepy. Cuando el paquete este instalado procedemos a importarlo.import geihdanepy as geih¡Accedemos a los datos!Ahora que el paquete está instalado podemos seguir la siguiente sintaxis para solicitar una de las diferentes tablas que ofrece la GEIH.df = geih.datos(2015,'Octubre','Ocupados','Cabecera')Por otro lado, si usted está familiarizado con la GEIH sabrá que esta cuenta principalmente con dos factores de caracterización de los datos aparte de la fecha, los cuales son el módulo y la zona a la que se hace referencia.De manera que si quiere conocer cómo funciona la sintaxis dentro degeihdanepypara hacer referencia los diferentes módulos y zonas puede hacerlo usando las siguientes funciones.geih.info_modulos()   # Acceder a información de los Modulosgeih.info_zonas()   # Acceder a información de las zonas
Package: geizhals
geizhalsThe geizhals library will give you the best price of a product from Geizhals or a related site.
This information can be used in automations, e.g. to notify you when a price drops.InstallpipinstallgeizhalsUsagefromgeizhalsimportGeizhals# setup the product dataID_or_URL='https://geizhals.de/bose-quietcomfort-35-ii-schwarz-a1696985.html'# the id of the product is also valid#ID_or_URL = 1696985# possible values: AT/EU/DE/UK/PLlocale='DE'# parse the dataobj=Geizhals(ID_or_URL,locale)device=obj.parse()# print the available product informationprint(device)Get theproduct_idfrom the geizhals website of your chosen product by opening thePrice Historyin a new browser tab (right-click on the price history > open in new tab).
The URL of this site reveals the ID, e.g.https://geizhals.de/?phist=1696985with aproduct_idof1696985.
Package: geizhalscrawler
geizhalscrawlerThe geizhalscrawler library will give you the best price of a product from Geizhals.eu website.
This information can be used in automations, e.g. to notify you when a price drops.InstallpipinstallgeizhalscrawlerUsagefromgeizhalscrawlerimportGeizhals# setup the product dataID_or_URL='https://geizhals.de/ducky-one-2-sf-pbt-dkon1967st-bdepdazt1-a2194110.html'# the id of the product is also valid#ID_or_URL = 2194110# possible values: AT/EU/DE/UK/PLlocale='DE'# parse the dataobj=Geizhals(ID_or_URL,locale)device=obj.parse()# print the available product informationprint(device)Get theproduct_idfrom the geizhals website of your chosen product by opening thePrice Historyin a new browser tab (right-click on the price history > open in new tab).
The URL of this site reveals the ID, e.g.https://geizhals.de/?phist=2194110with aproduct_idof2194110.
Package: gekko
GEKKOGEKKO is a python package for machine learning and optimization, specializing in
dynamic optimization of differential algebraic equations (DAE) systems. It is coupled
with large-scale solvers APOPT and IPOPT for linear, quadratic, nonlinear, and mixed integer
programming. Capabilities include machine learning, discrete or continuous state space
models, simulation, estimation, and control.Gekko models consist of equations and variables that create a symbolic representation of the
problem for a single data point or single time instance. Solution modes then create the full model
over all data points or time horizon. Gekko supports a wide range of problem types, including:Linear Programming (LP)Quadratic Programming (QP)Nonlinear Programming (NLP)Mixed-Integer Linear Programming (MILP)Mixed-Integer Quadratic Programming (MIQP)Mixed-Integer Nonlinear Programming (MINLP)Differential Algebraic Equations (DAEs)Mathematical Programming with Complementarity Constraints (MPCCs)Data regression / Machine learningMoving Horizon Estimation (MHE)Model Predictive Control (MPC)Real-Time Optimization (RTO)Sequential or Simultaneous DAE solutionGekko compiles the model into byte-code and provides sparse derivatives to the solver with
automatic differentiation. Gekko includes data cleansing functions and standard tag actions for industrially
hardened control and optimization on Windows, Linux, MacOS, ARM processors, or any other platform that
runs Python. Options are available for local, edge, and cloud solutions to manage memory or compute
resources.Gekko HomepageGekko DocumentationGekko ExamplesGet Gekko Help on Stack Overflow
Package: geks
GeksGeks is a toolkit for hexagonal mapmaking.InstallationCurrently there is no PyPI package.To install development version from GitHub (preferably in a virtual environment):gitclonehttps://github.com/kompoth/geks.git
makeinstall-mplSuffixmplmeans that Geks will be installed withmatplotlibthat powers a
testing front-end. See other build and install commands inMakefile.CreditsRed Blob Games blogMartin O'Leary articleAltitude generation for hexagonal mapsPlanchon-Darboux method