Saravanan666/pypi-org huggingface dataset:
Package: gdt
vumi-go-data-tools=======Praekelt Foundation does a lot of work using the Vumi Go messaging platform.Vumi Go makes all data captured available as CSV files but as of yet does notprovide tools for doing pivot table based analysis on that data. The idea isto develop set of reusable tools that allows a developer to quickly do pivottables on large CSV files that Vumi Go produces on behalf of the project ownerfor post campaign analysis. These tools should give insight into session counts,returning visitors and effectiveness of different approaches taken with differingVumi Go contact groups that interact with a service.Set up~~~~~~~~~~::$ virtualenv ve$ . ve/bin/activate$ pip install -e .Usage~~~~~~~~~~::$ gdt --helpusage: gdt [-h] [-c CODEC_CLASS]{msisdn,daterange,weekrange,direction,session,contacts,regex,extract,aggregate,count}...Vumi Go Data Tools for CSV and JSON formatted data from STDIN. Use `--codec`to specify. Designed to pipe output from one subcommand to another. Use `gdtsubcommand --help` for more info.positional arguments:{msisdn,daterange,weekrange,direction,session,contacts,regex,extract,aggregate,count}use `command --help`.msisdn              Filter on an msisdndaterange           Filter on a date range.weekrange           Filter on a week range.direction           Filter on message direction.session             Filter on session events.contacts            Filter for certain contact addressesregex               Filter for regex matchesextract             Extract named fields from file.aggregate           Aggregate fieldscount               Count fieldsoptional arguments:-h, --help            show this help message and exit-c CODEC_CLASS, --codec CODEC_CLASSWhich codec to use.Examples~~~~~~~~~~::$ cat gdt/tests/messages-export-good.csv | gdt msisdn -m +27817030792 -t to_addr | gdt direction -d outbound | gdt daterange -s "2013-09-09 19:24" -e "2013-09-09 19:38"$ cat gdt/tests/messages-export-week-spread.csv | gdt weekrange -y 2013 -w 1 2 3 4$ cat gdt/tests/messages-export-good.csv | gdt session -t new$ cat gdt/tests/messages-export-good.csv | gdt contacts -a +123456 +123457$ cat gdt/tests/messages-export-good.csv | gdt contacts -a @contact_file.txt$ cat gdt/tests/messages-export-good.csv | gdt regex -f content -p "^we think" -i$ cat gdt/tests/messages-export-good.csv | gdt extract -f to_addr session_event -df "%M"$ cat gdt/tests/messages-export-good.csv | gdt extract -f to_addr session_event -df "%M" | gdt aggregate -f to_addr$ cat gdt/tests/messages-export-good.csv | gdt extract -f to_addr session_event -df "%M" | gdt count -f to_addr$ cat gdt/tests/messages-export-week-spread.csv | gdt weekrange -y 2013 -w 1 2 3 4
Package: gdtree
gdtreegdtree is a directory tree generator built with Python.Descriptiongdtree provides easy directory tree generation. This command-line tool is inspired by the classic UNIXtreeutility.Suppose that a given directory has the folder structure belowtop_folder
|-- another_folder
|   |-- link_to_file_2
|--lower_folder
|   |-- secrets.py
|-- file_1.py
|-- file_2.txt
|-- file_3.json
|-- special_script.shwherelink_to_file_2is a symbolic linkspecial_script.shhas execute privileges (for the current user)gdtree will produce the following output when called on this directoryThe directory is pretty-printed using unicode box characters, and is colorized based on the file type.Usagegdtree can be easily installed using pippipinstallgdtreeTo generate a directory tree for the current directory, enter the commandgdtree.An absolute path can be used in place of the relative path to generate a directory tree for any directoryOptionsgdtree comes with options to provide information and customize some features of the tree generation:-h, --help- Prints a help message containing usage details-n, --dncolorize- Disables output colorization-f, --fancy- Prints tree using fancy box characters (uses ╠══ instead of ├──)-r, --reverse- Prints tree in reverse alphabetical order
Package: gdtw
GDTWPlease visit the documentation and interactive demo site athttps://dderiso.github.io/gdtw.GDTW is a Python/C++ library that performs dynamic time warping.
It is based on a paper by Dave Deriso and Stephen Boyd.Installationpip install gdtwDocumentationFor full documentation, including a quick-start tutorial, please seehttps://dderiso.github.io/gdtw.Our PaperPlease seethe published article.Citing@article{deriso2022general,
  title={A general optimization framework for dynamic time warping},
  author={Deriso, Dave and Boyd, Stephen},
  journal={Optimization and Engineering},
  pages={1--22},
  year={2022},
  publisher={Springer}
}LinuxLimited Linux support. Currently supports Python 3.6 on: CentOS 7 rh-python38, CentOS 8 python38, Fedora 32+, Mageia 8+, openSUSE 15.3+, Photon OS 4.0+ (3.0+ with updates), Ubuntu 20.04+Seemanylinuxfor latest list of versions supported undermanylinux2014.
Package: gd-vae-pytorch
Geometric Dynamic Variational Autoencoders (GD-VAE) packageprovides machine
learning methods for learning embedding maps for nonlinear dynamics into
general latent spaces. This includes methods for standard latent spaces or
manifold latent spaces with specified geometry and topology. The manifold
latent spaces can be based on analytic expressions or general point cloud
representations.  Package is for use in pytorch.If you find these codes or methods helpful for your project, please cite:GD-VAEs: Geometric Dynamic Variational Autoencoders for
Learning Non-linear Dynamics and Dimension Reductions,R. Lopez and P. J. Atzberger, arXiv:2206.05183, (2022),[arXiv].@article{lopez_atzberger_gd_vae_2022,
  title={GD-VAEs: Geometric Dynamic Variational Autoencoders for 
  Learning Non-linear Dynamics and Dimension Reductions},
  author={Ryan Lopez, Paul J. Atzberger},
  journal={arXiv:2206.05183},  
  month={June},
  year={2022},
  url={http://arxiv.org/abs/2206.05183}
}For source code, examples, and additional information seehttps://github.com/gd-vae/gd-vaeandhttp://atzberger.org.
Package: gdx
# PyGDX[![Documentation Status](https://readthedocs.org/projects/pygdx/badge/?version=latest)](https://readthedocs.org/projects/pygdx/?badge=latest)[![Build Status](https://travis-ci.org/khaeru/py-gdx.svg?branch=master)](https://travis-ci.org/khaeru/py-gdx)[![Coverage Status](https://coveralls.io/repos/github/khaeru/py-gdx/badge.svg?branch=master)](https://coveralls.io/github/khaeru/py-gdx?branch=master)PyGDX is a Python package for accessing data stored in *GAMS Data eXchange* (GDX) files. GDX is a proprietary, binary file format used by the [General Algebraic Modelling System](http://www.gams.com) (GAMS); pyGDX uses the Python bindings for the [GDX API](http://www.gams.com/dd/docs/api/expert-level/gdxqdrep.html).Originally inspired by the similar package, also named [py-gdx, by Geoff Leyland](https://github.com/geoffleyland/py-gdx), this version makes use of [xarray](http://xarray.pydata.org) to provide labelled data structures which can be easily manipulated with [NumPy](http://www.numpy.org) for calculations and plotting.**Documentation** is available at http://pygdx.readthedocs.org, built automatically from the contents of the Github repository.PyGDX is provided under the **MIT License** (see `LICENSE`).Example-------With the following GAMS program:````set  s  'Animals'  /a  Aardvarkb  Blue whalec  Chickend  Dingoe  Elephantf  Frogg  Grasshopper/;set  t  'Colours'  /r  Redo  Orangey  Yellowg  Greenb  Bluei  Indigov  Violet/;set  u  'Countries'  /CA  CanadaUS  United StatesCN  ChinaJP  Japan/;parameter p(s,t,u) 'Counts of nationalistic, colourful animals'/ set.s.set.t.set.u 1 /;execute_unload 'example.gdx'````The parameter `p` can be accessed via:````python>>> import gdx>>> f = gdx.File('example.gdx')>>> f.p[:,'y','CA']a    1b    1c    1d    1e    1f    1g    1dtype: float64````
Package: gdxpds
gdx-pandas: Python package to translate between gdx (GAMS data) and pandas.There are two main ways to use gdxpds. The first use case is the one that was
initially supported: direct conversion between GDX files on disk and pandas
DataFrames or a csv version thereof. Starting with the Version 1.0.0 rewrite,
there is now a second style of use which involves interfacing with GDX files and
symbols via thegdxpds.gdx.GdxFileandgdxpds.gdx.GdxSymbolclasses.Please visithttps://nrel.github.io/gdx-pandasfor the latest documentation.DEPENDENCIESPython 3.7 or higher (exact compatibility might depend on which GAMS version you are using)pandas (In general you will want the SciPy stack. Anaconda comes with it, or seemy notes for Windows.)InstallGAMSPut the GAMS directory in yourPATHand/or assign it to theGAMS_DIRenvironment variableGAMS Python bindingsSee GAMS//apifiles/readme.txt on Windows and Mac, or
/opt/gams//apifiles/readme.txt on LinuxRun the following for the correct version of the Python bindings (e.g., from the GAMS/**/apifiles/Python/api_39 folder):pythonsetup.pyinstallorpythonsetup.pybuild--build-base={temporary-path-where-you-have-write-access}installwith the latter being for the case when you can install packages into
Python but don't have GAMS directory write access.TESTINGAfter installation, you can test the package using pytest:pytest --pyargs gdxpdsIf the tests fail due to permission IOErrors, applychmod g+xandchmod a+xto thegdx-pandas/gdxpds/testfolder.
Package: gdxtools
gdxtoolsgdxtools currently contains two classes (gdxReader and gdxWriter) that enable rapid read and write operations of GAMS GDX files.  These 'helper' classes will allow the user to interface with the GAMS python API through a more intuitive interface (enabled by python dicts).  Examples are provided athttps://github.com/boxblox/gdxtools.Installpip install gdxtoolsUseThe example file that is included here shows how these classes are utilizied in reading from the 'transport_out.gdx' file with 'gdx_reader'. The example file also includes an implementation of 'gdx_writer' that creates 'transport_out_chk.gdx'. The user can use the GAMS utility 'gdxdiff' to view the differences between the original GDX file and the newly created check GDX file. At this time gdxrw does not write equations or variables into a GDX file (but it will read).RequirementsPython 3, GAMS API (manual installation required, see:https://www.gams.com/latest/docs/API_PY_TUTORIAL.html)An error(s) (such as the ones below) will be thrown if the GAMS API has not been installed:"ERROR: Could not find a version that satisfies the requirement gams (from gdxtools) (from versions: none)"
"ERROR: No matching distribution found for gams (from gdxtools)"
Package: gdz
gdzВраппер API приложенияГДЗ: мой решебник.УстановкаpipinstallgdzПримерfromgdzimportGDZgdz=GDZ()forbookingdz.books:ifbook.title=="Математика 5 класс Виленкин Н.Я. (2018 год)":print(book.description)
Package: gdzru
gdz-ru-pyPython library for using gdz.ru APITable of ContentsInstallationUsingLicenseInstallationStable version$pipinstallgdzru--upgradeLatest version$pipinstallhttps://github.com/OctoDiary/OctoDiary-py/archive/main.zip--upgradeUsingfromgdzruimportAsyncAPI,SyncAPIasyncdefamain():"""Asynchronous using GDZ.ru API"""api=AsyncAPI()# Get info for classes, subjects, books, etc.info=awaitapi.get_books_list()# Get info for one bookbook_info=awaitapi.get_book(info.books[0].url)# Print book authors, title, etc.print("Title:",book_info.book.title)print("Authors:",", ".join(book_info.book.authors))print("Year:",book_info.book.year)print("Publisher:",book_info.book.publisher)# Get get first task of first book structuretask_info=awaitapi.get_task(book.structure[0].tasks[0].url)print("Task title:",task_info.task.title)# Get images of taskimages:list[bytes]=[awaitapi.get_image(image.url)forimageintask_info.task.editions[0].images]defmain():"""Synchronous using GDZ.ru API"""api=SyncAPI()# Get info for classes, subjects, books, etc.info=api.get_books_list()# Get info for one bookbook_info=api.get_book(info.books[0].url)# Print book authors, title, etc.print("Title:",book_info.book.title)print("Authors:",", ".join(book_info.book.authors))print("Year:",book_info.book.year)print("Publisher:",book_info.book.publisher)# Get get first task of first book structuretask_info=api.get_task(book.structure[0].tasks[0].url)# Print task titleprint("Task title:",task_info.task.title)# Get images of taskimages:list[bytes]=[api.get_image(image.url)forimageintask_info.task.editions[0].images]Licensegdzruis distributed under the terms of theMITlicense.
Package: ge25519
Pure-Python data structure for working with Ed25519 (and Ristretto) group elements and operations.PurposeThis library provides a native Python implementation ofEd25519group elements and a number of operations over them. The library makes it possible to fill gaps in application prototypes that may have specific limitations with respect to their operating environment or their ability to rely on non-Python dependencies.The implementation is based upon and is compatible with the corresponding implementation of Ed25519 and Ristretto group elements used inlibsodium. For more information and background about the underlying mathematical structures and primitives, consult materials aboutCurve25519, theRistrettogroup, and the relatedEd25519system.Installation and UsageThis library is available as apackage on PyPI:python-mpipinstallge25519The library can be imported in the usual ways:importge25519fromge25519import*DevelopmentAll installation and development dependencies are fully specified inpyproject.toml. Theproject.optional-dependenciesobject is used tospecify optional requirementsfor various development tasks. This makes it possible to specify additional options (such asdocs,lint, and so on) when performing installation usingpip:python-mpipinstall.[docs,lint]DocumentationThe documentation can be generated automatically from the source files usingSphinx:python-mpipinstall.[docs]cddocssphinx-apidoc-f-E--templatedir=_templates-o_source..&&makehtmlTesting and ConventionsAll unit tests are executed and their coverage is measured when usingpytest(see thepyproject.tomlfile for configuration details):python-mpipinstall.[test]python-mpytestConcise unit tests are implemented with the help offountains; new reference specifications for these tests can be generated by running the testing module directly:pythontest/test_ge25519.pyStyle conventions are enforced usingPylint:python-mpipinstall.[lint]python-mpylintsrc/ge25519test/test_ge25519.pyContributionsIn order to contribute to the source code, open an issue or submit a pull request on theGitHub pagefor this library.VersioningBeginning with version 0.1.0, the version number format for this library and the changes to the library associated with version number increments conform withSemantic Versioning 2.0.0.PublishingThis library can be published as apackage on PyPIby a package maintainer. First, install the dependencies required for packaging and publishing:python-mpipinstall.[publish]Ensure that the correct version number appears inpyproject.toml, and that any links in this README document to the Read the Docs documentation of this package (or its dependencies) have appropriate version numbers. Also ensure that the Read the Docs project for this library has anautomation rulethat activates and sets as the default all tagged versions. Create and push a tag for this version (replacing?.?.?with the version number):gittag?.?.?gitpushorigin?.?.?Remove any old build/distribution files. Then, package the source into a distribution archive:rm-rfbuilddistsrc/*.egg-infopython-mbuild--sdist--wheel.Finally, upload the package distribution archive toPyPI:python-mtwineuploaddist/*
Package: gea
geaGestión de Expedientes de Agrimensores.geaes una aplicación web basada enDjangopara gestionar expedientes de agrimensores. Hasta ahora sólo fue usada en la provincia deSanta Fe, Argentina.Requisitos previosGNU/LinuxPython >= 3.6Django3.0.6psycopg2(opcional si utiliza PostgreSQL)django-nested-admin(para formularios anidados)Instalación$pipinstallgeaSe instalan también losrequirementscomo Django y nested-admin. Si además quiere utilizar PostgreSQL para la Base de Datos, deberá instalar manualmente psycopg2.$pipinstallpsycopg2Puesta en marchaCrear proyecto Django$django-adminstartprojectestudioEditarsettings.pydel proyecto Django:$# dentro de "estudio"$vimestudio/settings.pyAgregargeaynested_admina lasINSTALLED_APPS:INSTALLED_APPS=(...'gea.apps.GeaConfig','nested_admin',)Se pueden acomodar el Idioma y la TimeZoneLANGUAGE_CODE='es-AR'TIME_ZONE='America/Argentina/Buenos_Aires'Para utilizar PostgreSQL (opcional)Opcionalmente, configurar la Base de Datos para utilizar PostgreSQL, de otro modo, Django usa SQLite3 por defecto. Editarsettings.py.DATABASES={'default':{'ENGINE':'django.db.backends.postgresql_psycopg2','NAME':'gea','USER':'<postgresql-user>','PASSWORD':'<postgresql-password>',# be creative'HOST':'localhost',}}con esta opción se debe crear la BD, con el comandocreatedbde PostgreSQL$createdbgeaEditarurls.pydel proyecto Django:$# dentro de "estudio"$vimestudio/urls.pyImportar las vistas degeay agregar las urls de las aplicaciones que instalamos:fromdjango.conf.urlsimportinclude,pathurlpatterns=[...path('gea/',include('gea.urls')),path('_nested_admin/',include('nested_admin.urls')),]Base de datos y Superusuario$# dentro de "estudio"$pythonmanage.pymakemigrationsgea
$pythonmanage.pymigrate
$pythonmanage.pycreatesuperusermakemigrationsymigrateponen a punto la base de datos,createsuperuserinstala el sistema de autenticación de Django,Django's auth system, con lo cual, pedirá usuario, mail y contraseña, por ejemplo:adminyAf7Dr2ujW. Con estos datos ingresaremos después a la interfaz de administración.Archivos estáticos (css, img, js)Por último, algo muy importante: los archivos de estilo, imágenes y scripts que usará nuestra nueva aplicación.Editarsettings.pyagregando la siguiente linea:STATIC_ROOT='./static/'Y ejecutar:$# dentro de "estudio"$pythonmanage.pycollectstatic¡LISTO... Ahora podemos probar cómo quedó nuestra django-app!$# dentro de "estudio"$pythonmanage.pyrunservere ingresamos ahttp://127.0.0.1:8000/gea/... con los datos del superusuario que creamos antes.LICENCIAMIT
Package: geant4-pybind
Python bindings for Geant4Alternative Python bindings forGeant4viapybind11. It is loosely based on g4py, but retains an API closer to the standard C++ API and does not depend on Boost.Python.It currently includes all g4py bindings plus a large portion of very commonly used classes and functions that aren't currently present in g4py. However, it is still off from replicating the full Geant4 API.InstallationIt's available on PyPI for all major platforms as a fully self-contained (i.e. statically linked) wheel.pip3 install geant4-pybindBuildingUnix (Linux, OS X) prerequisitesA Geant4 installation version 11.0+, compiled with CMake optionGEANT4_BUILD_TLS_MODEL=global-dynamic(make sure it is also added to the path)A C++17 compiler (preferably the one Geant4 was compiled with)Python3pipgitWindows prerequisitesA Geant4 installation version 11.0+, compiled with CMake optionGEANT4_BUILD_TLS_MODEL=global-dynamic(make sure it is also added to the PATH)Visual Studiofor C++ developmentPython3pipgitNote: You can let geant4_pybind manage and download the datasets, if the necessary environment variables haven't been set yet.Installationgitclone--recursivehttps://github.com/HaarigerHarald/geant4_pybind
pip3install./geant4_pybindWindows notesThe above commands have to be executed in a "Developer Command Prompt for VS 2022" and require that pip and git are added to the PATH environment variable.General notesIf the repository was cloned non-recursively you can check out the submodule with:git-C./geant4_pybindsubmoduleupdate--initUsageMinimalA minimal example that just starts a Geant4 shell:fromgeant4_pybindimport*importsysui=G4UIExecutive(len(sys.argv),sys.argv)ui.SessionStart()Simulation examplesCheck out theexamplesdirectory, which contains the Geant4 basic examples ported to Python. However, writing simulations in Python should be pretty straightforward as the API is almost identical to the C++ one. One notable exception is template classes, which have been renamed such that their type replaces theT(i.e.G4TScoreNtupleWriter<G4GenericAnalysisManager>becomesG4GenericScoreNtupleWriter).ParallelismOne main caveat of using Python for Geant4 simulations is theglobal interpreter lock (GIL)that prevents Python code from being executed on multiple threads at the same time. Thus, using any of the multithreadedRunManagersin Python just increases complexity without the benefit of a better runtime. In order to circumvent this limitation and achieve some parallelism, one can facilitate Python'smultiprocessingmodule. An example of how one might do this isexampleB1MT.py.DesignThere is a smalloverview, outlining the design choices made. It should be helpful to anyone seeking to extend the bindings.LicenseThis builds upon Geant4 and g4py and thus theGeant4 licenseapplies. The binding code usespybind11. All my contributions arepublic domain.
Package: geant-tcs-client
GÉANT-TCS-Client (GÉANT Trusted Certificate Service Client)Work in progress.Installpip install geant-tcs-clientExample#!/usr/bin/env python

from geant_tcs_client import GEANTTCSClient
from ssl_certificates import SSLCertificates

def main():

    client = GEANTTCSClient.connect()
    
    config = {"username": "admin_customer14378", "password": "password123", "custom_uri": "test"}
    ssl_certs = SSLCertificates(config)
    
    print(ssl_certs.listing_ssl_types())


if __name__ == '__main__':
    main()
Package: gearbest-api
Gearbest ApiA simple wrapper for gearbest api in pythonInstalling$ pipenv install gearbest-apiA Simple Examplefrom gearbest_api import GearbestApi

gearbest_api = GearbestApi(api_key=1234, api_secret='secret')
gearbest_api.get_app_exclusive_price_product()LicenseThis project is licensed under the Apache License 2.0 - see theLICENSE.mdfile for details
Package: gearbox-tools
About gearboxtoolsgearboxtools is a bunch of commands for theTurboGears GearBoxtool.Installinggearboxtools can be installed from pypi:easy_install gearbox-toolsor:pip install gearbox-toolsshould just work for most of the usersProvided CommandspkgdepsProvided and installed application as argument will return the list of direct and indirect depencies used
by the application:$ gearbox pkgdeps turbogears2
+--------------+
| Package      |
+--------------+
| Beaker       |
| repoze.lru   |
| PasteDeploy  |
| MarkupSafe   |
| crank>=0.6.2 |
| WebOb>=1.2   |
| decorator    |
+--------------+tg-bootstrapWhen ran inside a newly quickstarted TurboGears2 application will adapt the application to work with
the SCSS version of bootstrap css framework.This command will add thetgext.scssdependency loaded throughtgext.pluggable, will create
a bootstrap directory inside the projectpublic_dirwith the Twitter bootstrap framework inside and will
patch themaster templateto use the SCSS version instead of the plain CSS one provided by default.tg-hgignoreThis will create a.hgignorefile suitable for TurboGears2 applications inside the directory where it
is started.deploy-circusWhen started inside aPasteDeployapplication directory will generate a configuration for
Mozilla Circus to deploy that application under circus supervision.
Package: gearman
DescriptionPython Gearman API - Client, worker, and admin client interfacesFor information on Gearman and a C-based Gearman server, seehttp://www.gearman.org/Installationeasy_install gearmanpip install gearmanLinks2.x source <http://github.com/Yelp/python-gearman/>2.x documentation <http://packages.python.org/gearman/>1.x source <http://github.com/samuel/python-gearman/>1.x documentation <http://github.com/samuel/python-gearman/tree/master/docs/>