Saravanan666/pypi-org huggingface dataset:
Package: groclient
Gro API ClientThe Gro Intelligence Python API client library provides access to Gro'sagricultural data platform.Please see our developer documentation athttps://developers.gro-intelligence.com/for install instructions, API
reference documentation, and guides.The short version:Installthe
library:pip install groclientorconda install -c conda-forge groclientGet anAPI authentication token.Check out the examples below.ExamplesNavigate toapi/client/samples/and try executing the provided examples.Start withquick_start.py. This script creates an authenticatedGroClientobject and uses theget_data_series()andget_data_points()methods to find Area Harvested series for Ukrainian Wheat from a variety of different sources and output the time series points to a CSV file. You will likely want to revisit this script as a starting point for building your own scripts.Note that the script assumes you have your authentication token set to aGROAPI_TOKENenvironment variable (seeSaving your token as an environment variable). If you don't wish to use environment variables, you can modify the sample script to setACCESS_TOKENin some other way.pythonquick_start.pyIf the API client is installed and your authentication token is set, a csv file calledgro_client_output.csvshould be created in the directory where the script was run.Try outsoybeans.pyto see theCropModelclass and itscompute_crop_weighted_series()method in action. In this example, NDVI (Normalized difference vegetation index) for provinces in Brazil is weighted against each province's historical soybean production to put the latest NDVI values into context. This information is put into a pandas dataframe, the description of which is printed to the console.pythoncrop_models/soybeans.pySeebrazil_soybeans.ipynbfor a longer, more detailed demonstration of many of the API's capabilities in the form of a Jupyter notebook.You can also use the includedgro_clienttool as a quick way to request a single data series right on the command line. Try the following:gro_client--metric="Production Quantity mass"--item="Corn"--region="United States"--tokenYOUR_GRO_API_TOKENThegro_clientcommand line interface does a keyword search for the inputs and finds a random matching data series. It displays the data series it picked and the data points to the console. This tool is useful for simple queries, but anything more complex should be done using the provided Python packages.
Package: groclient-fork-tests
Gro API ClientThe Gro Intelligence Python API client library provides access to Gro'sagricultural data platform.Please see our developer documentation athttps://developers.gro-intelligence.com/for install instructions, API
reference documentation, and guides.The short version:Installthe
library:pip install groclientorconda install -c conda-forge groclientGet anAPI authentication token.Check out the examples below.ExamplesNavigate toapi/client/samples/and try executing the provided examples.Start withquick_start.py. This script creates an authenticatedGroClientobject and uses theget_data_series()andget_data_points()methods to find Area Harvested series for Ukrainian Wheat from a variety of different sources and output the time series points to a CSV file. You will likely want to revisit this script as a starting point for building your own scripts.Note that the script assumes you have your authentication token set to aGROAPI_TOKENenvironment variable (seeSaving your token as an environment variable). If you don't wish to use environment variables, you can modify the sample script to setACCESS_TOKENin some other way.pythonquick_start.pyIf the API client is installed and your authentication token is set, a csv file calledgro_client_output.csvshould be created in the directory where the script was run.Try outsoybeans.pyto see theCropModelclass and itscompute_crop_weighted_series()method in action. In this example, NDVI (Normalized difference vegetation index) for provinces in Brazil is weighted against each province's historical soybean production to put the latest NDVI values into context. This information is put into a pandas dataframe, the description of which is printed to the console.pythoncrop_models/soybeans.pySeebrazil_soybeans.ipynbfor a longer, more detailed demonstration of many of the API's capabilities in the form of a Jupyter notebook.You can also use the includedgro_clienttool as a quick way to request a single data series right on the command line. Try the following:gro_client--metric="Production Quantity mass"--item="Corn"--region="United States"--user_email="email@example.com"Thegro_clientcommand line interface does a keyword search for the inputs and finds a random matching data series. It displays the data series it picked and the data points to the console. This tool is useful for simple queries, but anything more complex should be done using the provided Python packages.
Package: grocropclient
The Gro US Crop API Client is a Python library to help with the discovery and retrieval of data series related to US crops.The library is written on top of theGro Python Client APIand offers a set of convenience methods and constants to make the use of the Gro API faster and simpler.The use of the Gro US Crop API Client requires a Gro account with API access.
Visit ourwebsitefor more information.
Package: grocy-telegram-bot
grocy-telegram-botgrocy-telegram-botis a telegram bot that allows you to receive notifications
and interact withGrocy.How it worksgrocy-telegram-botis a self contained python application that talks
to yourGrocyinstance via its REST API
for whichpygrocyis used.How to useManual installationInstallInstallgrocy-telegram-botusing pip:pip3installgrocy-telegram-botConfigurationgrocy-telegram-botusescontainer-app-confto provide configuration via a YAML file as well as ENV variables. Have a look at thedocumentation about it.Seegrocy_telegram_bot_example.yamlfor an example in this repo.RunStart the bot by using:grocy-python-botDockerTo rungrocy-telegram-botusing docker you can use themarkusressel/grocy-telegram-botimage from DockerHub:sudo docker run -t \
    markusressel/grocy-telegram-bot:latestConfigure the image using either environment variables, or mount the configuration
file from your host system to/app/grocy_telegram_bot.yaml.ContributingGitHub is for social coding: if you want to write code, I encourage contributions through pull requests from forks
of this repository. Create GitHub tickets for bugs and new features and comment on the ones that you are interested in.Licensegrocy-telegram-bot by Markus Ressel
Copyright (C) 2020  Markus Ressel

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
Package: grodus
Easy enums for Python.>>>RGB=StringEnum(['Red','Green','Blue'])>>>RGB.Red'Red'Contents1Installation2Features3Use4Contributing4.1Installing for development4.2Running the tests4.3Adding documentation5Credits1InstallationInstallezenumwith:pipinstallezenum2FeaturesPure Python.Compatible with Python 3.5+.Easy creation of usefull enum objects.String enums with unified value and name attributes.3UseStringEnumEasilly get a string enum from a string list.4ContributingPackage author and current maintainer is Shay Palachy (shay.palachy@gmail.com); You are more than welcome to approach him for help.4.1Installing for developmentClone:gitclonegit@github.com:shaypal5/ezenum.gitInstall in development mode with test dependencies:cdezenumpipinstall-e".[test]"4.2Running the testsTo run the tests, use:python-mpytest--cov=ezenum4.3Adding documentationThis project is documented using thenumpy docstring conventions, which were chosen as they are perhaps the most widely-spread conventions that are both supported by common tools such as Sphinx and result in human-readable docstrings (in my personal opinion, of course). When documenting code you add to this project, please followthese conventions.5CreditsCreated by Shay Palachy (shay.palachy@gmail.com).
Package: grog
GROG a GeneRic wOrkload GeneratorGROG is a generic workload generator (Cloud and HPC like) to create datasets of tasks for scheduling evaluation.This workload generator is based on adatasetfrom Google studied inModeling, classifying and generating large-scale Google-like workloadpublished in the SUSCOM journal (open access version)In the current version, the format of generated traces is theJSON Batsim workload format, compatible with the Resource and Jobs Management System (RJMS) simulatorBatsim.Installationpip3 install grogUsageusage: grog-tool [-h] [--seed SEED] [--offline] [--duration DURATION] [--density DENSITY] [--speed SPEED] output_file

positional arguments:
  output_file          filename to store the workload

options:
  -h, --help           show this help message and exit
  --seed SEED          change seed, default: 42
  --offline            to change from online to offline
  --duration DURATION  duration in days, default: 3
  --density DENSITY    hourly density, default:50
  --speed SPEED        server speed in Gflops, default = 14.72 (similar to Taurus a cluster in Grid5000, France)ExampleSimple example, uses the default values to generate a file calledworkload.jsongrog-tool workload.jsonLonger example, uses some flags to generate a longer duration (here one year).grog-tool --offline --seed 128 --duration 365 --density 5 long_workload.jsonCitationPlease cite (bibtex version) the following if you use this toolGeorges da Costa, Léo Grange, Inès De Courchelle. Modeling, classifying and generating large-scale Google-like workload. Sustainable Computing : Informatics and Systems, Elsevier, 2018, 19, pp.305-314. ff10.1016/j.suscom.2017.12.004ff.MiscThis software is under the GPLv3.The current point of contact isGeorges.Da-Costa@irit.frThe last version is available here :https://gitlab.irit.fr/sepia-pub/grogThe current internal API migh evolve, but command line interface should be stableThe time needed for generating dense and/or long duration traces might be long
Package: groio
A library to handle the reading and writing of a gro file.Installationpip install groioUsageimportgroio#Read a gro filetitle,atoms,box=groio.parse_file("filin.gro")#Write a gro filewithopen("filout.gro","w")asf:forlineingroio.write_gro(title,output_atoms,box):print(line,end='',file=f)#Renumber the atoms to avoid number above 100 000atoms=groio.renumber(atoms)The functionparse_filereturns :title: the title of the system as written on line 1 of the file  as a stringatoms: a list of atom, each atom is stored as a dictionarybox: the box description as written on the last line as a stringRun testsUnit tests are available throughnosetests python module.nosetests tests/test_groio.py
Package: grokcore.catalog
GrokWhat is grok?Grok is a smashing web framework based onZope Toolkittechnology.Grok uses the Component Architecture and builds on Zope concepts like
content objects (models), views, and adapters.  Its simplicity lies in
usingconvention over configurationandsensible defaultswhen
wiring components together.  That means neither a configuration
language like ZCML nor a lot of repetition are needed to create a web
application with grok.You can find out much more about Grok at ourhttp://grok.zope.orgwebsite.Who is grok?Grok is a friendly caveman from the Stone Age.  He has a big club that
he hunts mammoths with.  He will also use this club to smash anything
he doesn’t like.“ME GROK SMASH ZCML!”Getting grokThe easiest way to get started with grok is to install thegrokprojectpackage
(e.g. viapip install grokproject) and then create a new project
area by calling thegrokprojectscript like so:$ grokproject MyProject
... many lines of output hereThis will create a project area inMyProjectas well as download
and install grok.You can also get grok from GitHub:git clone git@github.com:zopefoundation/grok.gitThen follow the instructions ofINSTALL.txt.CHANGES4.0 (2023-07-12)Add support for Python 3.7, 3.8, 3.9, 3.10, 3.11.Drop support for Python 2.7, 3.4, 3.5, 3.6.Fix tests to be able to run withzope.component >= 5.3.0.1 (2018-01-12)Rearrange tests such that Travis CI can pick up all functional tests too.3.0.0 (2018-01-05)Python 3 compatibility.2.3 (2017-08-11)Introduce IntId index that is more optimized to index values by their int ids.2.2.1 (2016-01-29)Update tests.2.2 (2015-11-20)Introduce Datetime index that’s more optimized for index datetime objects.
Please note the index uses seconds-resolution (the integer timestamp
representing the datetime’s value).2.1 (2015-06-11)Make possible to install a catalog in a site on a different event
thanIObjectAddedEventusing thegrokcore.site.install_ondirective.2.0 (2013-05-07)Rename IIndexDefinition and IndexDefinition into IAttributeIndexDefinition
and AtributeIndexDefinition respectively. This is used for the current
index “classes” and allow for setup() magic for attribute indexes when
creating new catalogs.This allows for IIndexDefinition and IndexDefinition to be used for
simpler catalog index definitions where no Grok magic is applied when
creating catalogs.1.0 (2012-05-01)Initial fork from Grok.
Package: grokcore.content
This package provides base classes of basic content types.ContentsChanges4.1 (2023-08-28)4.0 (2023-08-28)3.0.2 (2018-01-12)3.0.1 (2018-01-10)3.0.0 (2018-01-04)1.3.1 (2016-01-29)1.3 (2015-09-30)1.2 (2015-04-01)1.1 (2010-11-01)1.0 (2010-02-06)Changes4.1 (2023-08-28)Drop support for deprecatedpython setup.py test.4.0 (2023-08-28)Add support for Python 3.7, 3.8, 3.9, 3.10, 3.11.Drop support for Python 2.7, 3.4, 3.5, 3.6.3.0.2 (2018-01-12)Rearrange tests such that Travis CI can pick up all functional tests too.3.0.1 (2018-01-10)Fix dependencies by removing ZODB3.3.0.0 (2018-01-04)Usezope.interface.implementerdecorator instead ofzope.interface.implementswith classes to support Python 3.Express support for Python 2.7, 3.4 and 3.5 and 3.6,Use tox for test orchestration.1.3.1 (2016-01-29)Update tests.1.3 (2015-09-30)Fix updateOrder that would create a new PersistentList object in the
database each time the order is updated.1.2 (2015-04-01)Introduce ObjectEditedEvent which is meant to used when the
attribute of an object are edited. This makes possible to easily
distinguish it from generic and container modification operations.Fix a bug where the OrderedContainer could get corrupted in case
updateOrder() would have been called with a list containing multiple
occurrences of a existing key in the mapping.1.1 (2010-11-01)Use newer grokcore.component.Made package comply to zope.org repository policy.1.0 (2010-02-06)Createdgrokcore.contentin January 2010 by factoring basic
component base classes out of Grok.
Package: grokcore.error
grokcore.errorThis package provides an configurable error reporting utility that emit
exception information as log entries.Contentsgrokcore.errorSetting upgrokcore.errorChanges4.0 (2023-02-09)3.0.1 (2018-01-16)3.0.0 (2018-01-16)0.6 (2017-01-25)0.5 (2015-07-08)0.3 (2013-03-05)0.2 (2013-03-05)0.1 (2013-03-05)Setting upgrokcore.errorYou need to configure which reporting utility you will use trough ZCML.Changes4.0 (2023-02-09)Drop support for Python 2.7, 3.4, 3.5, 3.6.Add support for Python 3.7, 3.8, 3.9, 3.10, 3.11.3.0.1 (2018-01-16)Downpin mock test dependency for python2.7.Replace grok.implements() with @grok.implementer()3.0.0 (2018-01-16)Python 3 compatibility.0.6 (2017-01-25)Update information sent to Sentry.0.5 (2015-07-08)When there is no principal in the request, don’t send the ‘user’ sentry
information.Note: 0.4 got lost between an internal and a public release.0.3 (2013-03-05)Update manifest.in.0.2 (2013-03-05)Update manifest.in.0.1 (2013-03-05)Nothing changed yet.
Package: grokcore.json
Caution!This repository is no longer maintained and is to be archived.If you want to work on it please open a ticket inhttps://github.com/zopefoundation/meta/issuesrequesting its unarchival.grokcore.jsonSupport for JSON views ingrok.Changes4.1 (2023-09-13)Final release before taking the package out of maintenance and archiving the
repository. No features have changed.4.0 (2023-08-28)Drop support for Python 2.7, 3.4, 3.5, 3.6.Add support for Python 3.7, 3.8, 3.9, 3.10, 3.11.3.0.3 (2018-01-12)Rearrange tests such that Travis CI can pick up all functional tests too.3.0.2 (2018-01-10)Additional test fixes.Remove dependency on simplejson.3.0.1 (2018-01-05)Fixed a test error that somehow was missed by travis and tox.3.0.0 (2018-01-05)Python 3 compatibility.Fix view_lookup test.1.2.1 (2016-02-15)Update tests.1.2 (2012-05-01)Use update grokcore.component api.1.1 (2011-01-02)Fixed setup.py namespace issue.1.0 (2010-11-03)Factored out of thegrokpackage.
Package: grokcore.registries
grokcore.registriesThis package allows you to register (orgrokin case of a use in a
Grok environment) components in custom and configurable registries.It provides aZCMLdirective that wraps your ZCML components
registration declarations and some base classes and utilities to
create your registries and interact with them.Changes0.1 (2012-08-13)Initial releaseDownload
Package: grokcore.rest
Caution!This project is no longer maintained and the repository is to be archived.If you want to work on it please open a ticket inhttps://github.com/zopefoundation/meta/issuesrequesting its unarchival.grokcore.restREST-Views for GrokThis packages provides base classes and a advanced traversal mechanism for Grok based REST-Views.Changes4.1 (2023-09-13)Final release before taking the project out of maintenance and archiving the
repository. No features have changed.4.0 (2023-08-28)Add support for Python 3.10, 3.11.Drop support for Python 2.7, 3.5, 3.6.3.1.0 (2021-04-07)Add support for Python 3.7, 3.8 and 3.9.Fix compatibility withzope.component >= 5and newer versions of other
dependencies.Fix inconsistent IRO.Drop support for Python 3.4.3.0.1 (2018-01-15)Additional test fixes for Python 3 compatibility.3.0.0 (2018-01-10)Python 3 compatibility.1.3 (2012-05-02)Use the grokcore.component API for registering components.1.2 (2011-04-04)Minor test fixes.1.1 (2011-01-20)Use zope.errorview in the functional tests to get rid of the zope.app.http
dependency.1.0 (2011-01-03)Factor out form grok base package
Package: grokcore.traverser
grokcore.traverserThis package contains the default traversal mechanism for Grok.Changes4.0 (2023-07-11)Add support for Python 3.11.Drop support for Python 2.7, 3.5, 3.6.Add support for Python 3.7, 3.8, 3.9, and 3.10.Drop support for Python 3.4.3.0.1 (2018-01-12)Rearrange tests such that Travis CI can pick up all functional tests too.3.0.0 (2018-01-05)Python 3 compatibility1.2.1 (2016-02-15)Update tests.1.2 (2012-11-14)Add the layer directive to Traverser Components.1.1 (2012-05-02)Use the component registration api of grokcore.component.1.0 (2011-01-03)Factor out form grok base package.
Package: grokcore.xmlrpc
Caution!This project is no longer maintained and the repository is to be archived.If you want to work on it please open a ticket inhttps://github.com/zopefoundation/meta/issuesrequesting its unarchival.grokcore.xmlrpcXML-RPC Views for Grok.This package provides base classes for XML-RPC Views for Grok.Changes4.1 (2023-09-13)Final release before taking the project out of maintenance and archiving the
repository. No features have changed.4.0 (2023-02-20)Drop support for Python 2.7, 3.4, 3.5, 3.6.Add support for Python 3.7, 3.8, 3.9, 3.10, 3.11.3.0.0 (2018-01-10)Python 3 compatibility.1.2.1 (2016-02-15)Update tests.1.2 (2012-05-02)Use the component registration api in grokcore.component.1.1 (2011-01-20)Use zope.errorview for the functional tests. This lifts the dependency on
zope.app.http.1.0 (2011-01-03)Factor out form grok base packageDownload
Package: grokpy
The Python client library for theGrok REST API. Seehttps://www.groksolutions.com/devs/for additional resources.Installationgrokpy includes asetuptools-compatible setup.py for your
convenience. Dependencies are listed in setup.py and will be installed
automatically as part of any of the techniques listed below. Otherwise,
you will need to install the following external dependencies before
using grokpy:requestscertifinose
Package: grokspeechrec
Speech Recognition WrapperThis package is a wrapper forSpeech Recognition Module, created to import directly and transcribe Speech Input. You would need a Microphone input and a Speaker output connected to your environment before starting.InstallationThis package comes with internal dependency of PyAudio and Vosk model.
The package installation takes care of installing all the dependecies, by performing the following steps:pipinstall--upgradegrokspeechrecUsageOnce you have it installed, import the module and use it to pass Microphone Speech as shown below:fromgrokspeechrecimportspeechrecrec=speechrec.app.Recognize()output=rec.recognize(rec.recognizer)Theoutputwill contain the transcribed results.
Package: grologs
GroLogs: A log reader for the software GROMACSGroLogs was started out of a need to quickly check thet status update of molecular dynamic simulations using GROMACS. By
reading the log files and the steps within the log files we can calculate the time in nanoseconds of the simulation using
this simple formulananoseconds = steps / 500,000and output to a beautiful table.Quick StartFirst you will need authentication to the cluster or server running the Molecular Dynamics simulation for GROMACS.First is simpleRegister your RSA key with the dedicated server so you don't have to be password prompted when SSH'ing into the serverGroLogsclass takes 4 argumentstarget_directory- target directory where all your log files for this particular experiment will belog_file_name- the name of the log file. Traditionally, I have everything called asmd_3.logusername- the username registered on the cluster or particular machinehostname- the hostname or ip address of the target server that we want to extrapolate information.Initialize the class like so:log_reader = GroLogs('target_directory/*', 'md_3.log', username, hostname)and then generate a table to output the resultslog_reader.generate_table()and here is an example of the output:+-------------------------------------------------------+----------+-----------+
|                   --- File Path ---                   |   Step   | Time (ns) |
+-------------------------------------------------------+----------+-----------+
|  file/path/to/experiment/trial_2/                     | 60947999 |  121.896  |
+-------------------------------------------------------+----------+-----------+
|  file/path/to/experiment/trial_3/                     | 68454999 |  136.91   |
+-------------------------------------------------------+----------+-----------+
|  file/path/to/experiment/trial_3/                     | 28107999 |  56.216   |
+-------------------------------------------------------+----------+-----------+AnnouncementsWork has began! Dec 4th0.0.1 version released Dec 4th LogReader0.0.2 version released -> authentication can be passed in and name changed to GroLogs, more documentation!InstallationGroLogs is going to be distribute via PyPi and as the content store grows we can expand it to other pieces of software
making it accessible to all regardless of what you use. Alternatively, you could have a glance at the source code and copy/paste
it yourself.To install the readerpython -m pip install grologsStructure ofGroLogsCurrently, the main subpackages are:grologs: logreader main class.GenesisLogReader was created because I noticed I was using the same variable across multiple scripts and figure it would be useful
for folk to have.Lead DeveloperSuliman SharifExternal links