Saravanan666/pypi-org huggingface dataset:
Package: gakp-inet
# inet**v0.2.4 has bug so you'll have to clone the head**A simple library built on top of zeromq to enable different pythonprograms talk over sockets. It works using three components*server*, *name service* and *client*. The main feature(or use) of thislibrary is its persistent name service### Name ServiceStart the inet server on command line```shell$ inetserver```### ServerThe server is a function to respond to requests```pythonfrom inet.inetclient import InetClientfrom inet.server import RoutableServer# talks with the inet serverproxy = InetClient('tcp://127.0.0.1:3014')# frontend address is what clients connect to while backend address(unix socket)# is what workers connect toserver = RoutableServer('testservice', proxy, 'tcp://127.0.0.1:4001','ipc:///tmp/inet.testservice.sock')@server.route('hello/world')def hello(req, resp):resp.data['greeting'] = 'World'return respserver.setup(localproxy=False)# spawn default(3) number of workersserver.spawnworkers()server.loopforever()```### Client```pythonfrom inet.inetclient import InetClientfrom inet.client import Clientproxy = InetClient('tcp://127.0.0.1:3014')client = Client(proxy)# service name acts as protocolresp = client.get('testservice://hello/world')print(resp.meta['status'])  # 200print(resp.data['greeting']) # 'World'```*N.B*: Notes that it uses gevent for managing workers
Package: gakp-pyfunk
# Gakp-pyfunkA set of functional tools for python. It is supposed to have the same interface as Gakp-jsfunk and Gakp-lispfunk## Example```pythonfrom pyfunk.combinators import composefrom pyfunk.collections import fmapfrom pyfunk.functors.io import IOdef get_file(filename):'''@sig get_file :: String -> IO String '''def open_file():with open(filename) as f:return f.read()return IO(open_file)def get_tokens(str):return str.split()def get_lenght_of_tokens(tokens):return len(tokens)tokenLength = compose(fmap(get_lenght_of_tokens), fmap(get_tokens), get_file)print(tokenLength('.gitignore').unsafeIO())```## ContributingAnyone can contribute using the fork and pull model.
Package: gakp-pylib
`__init__.py````pythonfrom .patients import patientsfrom pylib.falcon.jsonmiddlerware import RequireJSON, JSONTranslatorimport falcon# setup required middlewareapi = falcon.API(middleware=[RequireJSON(),JSONTranslator()])# our custom error serializerdef __json_error_serializer(req, exception):return ('application/json', exception.to_json())api.set_error_serializer(__json_error_serializer)patients.register(api)````patients.py````pythonfrom pylib.schema import validatorsfrom pylib.falcon import Collectionfrom marshmallow import Schemafrom marshmallow.fields import Int, Str, Dateall_patients = []counter = 0def authenticate(req, resp, res, params):passdef authorize(req, resp, res, params):passclass PatientSchema(Schema):id = Int()firstname = Str(required=True)surname = Str()dob = Date()homephone = Str(validate=validators.phone_check)patients = Collection('/api/patients', 'pid',PatientSchema(), before=[authenticate])def has_same_key_predicate(key, query):def predicate(patient):value = patient.get(key)return value and value.startswith(query)return predicate@patients.search(before=[authorize])def search(query, query_type, **kwargs):if query is None:return all_patientsquery_type = 'firstname' if query_type is None else query_typereturn list(filter(has_same_key_predicate(query_type, query),all_patients))@patients.create(before=[authorize])def create(patient, **kwargs):all_patients.append(patient)return len(all_patients) - 1@patients.read(before=[authorize])def get(pid):if pid < len(all_patients):return all_patients[pid]@patients.update(before=[authorize])def update(pid, patient):if pid < len(all_patients):all_patients[pid] = patientreturn patient@patients.delete(before=[authorize])def delete(pid):if pid < len(all_patients):patient = all_patients[pid]all_patients.pop(pid)return patient```
Package: gala
Gala is a Python package for Galactic and gravitational dynamics.DocumentationThe documentation forGalais hosted onRead the docs.Installation and DependenciesThe easiest way to get Gala is to install with pip or conda.The recommended install method is to usepip:pip install galaIf you are on Linux or Mac, you can also installgalawith conda using the
conda-forge channel:conda install gala --channel conda-forgeSee theinstallation
instructionsin thedocumentationfor more information.AttributionIf you make use of this code, please cite theJOSSpaper:@article{gala,
  doi = {10.21105/joss.00388},
  url = {https://doi.org/10.21105%2Fjoss.00388},
  year = 2017,
  month = {oct},
  publisher = {The Open Journal},
  volume = {2},
  number = {18},
  author = {Adrian M. Price-Whelan},
  title = {Gala: A Python package for galactic dynamics},
  journal = {The Journal of Open Source Software}
}Please also cite the Zenodo DOIas a software citation - see thedocumentationfor up
to date citation information.LicenseCopyright 2013-2024 Adrian Price-Whelan and contributors.Galais free software made available under the MIT License. For details see
theLICENSEfile.ContributorsSee theAUTHORS.rstfile for a complete list of contributors to the project.
Package: galactica-terminus
The Terminus package is an astrophysical simulation data post-processing asynchronous
task management system. It is based on Celery 5 and compatible with Python 3.5+.It interacts with the Galactica simulations database (http://www.galactica-simulations.eu)
through a RabbitMQ message broker to provide raw simulation data distributed data processing
services to the scientific community.
Package: galah-interact
# Galah-Interact (Python Library)## What is Galah-InteractGalah-Interact is a library designed to make it very easy to create Test
Harnesses that grade student’s assignments. It provides code to perform a
number of tests that many instructors care about (such as checking that code is
properly indented, or that proper docstrings are created for each function)
along with providing utilities to make more complicated testing much easier
(unit testing for example is extremely easy with this library, as you can simply
import all of the student’s functions and classes into Python).The reason for Galah-Interact’s creation was to make it easier to create Test
Harnesses for [Galah](http://www.github.com/galah-group/galah), however, we
don’t have any intention on locking in this library’s use. The real goal of
Galah-Interact is to provide a powerful framework for creating excellent
Test Harnesses no matter what the submission system you are using for your
class is.## ExamplesAdding tutorials and documentation has not been done yet, but there are
examples available underdocs/examples/that is a great place to start.## LicensingThe code is licensed under the Apache 2.0 license, which is a very permissive
license. You can read a summary of its specific terms on the wikipedia page
for the license
[here](http://en.wikipedia.org/wiki/Apache_License#Licensing_conditions). The
entire license text is also contained within this repository if you’d like to
read the license itself.In short, the license is very permissive and lets you do basically whatever you
want with the code as long as you properly attribute the contributers. So as
long as you don’t rip out the code and say you wrote it, your probably staying
within the terms of the license.Note that this license isverydifferent than the license that covers
[Galah](http://www.github.com/galah-group/galah) itself. Please don’t confuse
the two.
Package: galaxest
galaxestgalaxestis a CLI (Command Line Interface) software to help developer/tester to run automation test through any device farms agnostically.Installation & SetupRequirementsMac OS / Linux Debian basedPython 2.7Python PIPADB properly setupInstallationYou must have all of the requirements installed first. Then you can simply install via Python PIP:pip install galaxestSetupYou have to setup your app after the installation success. type command below if this is your first setup:galaxestor you can type below command if you want to re-setup your configuration:galaxest --reset-configIt will show a dialogue to prompt you about the setup. ChooseYesif you are ready to do the setup.You'll be asked to choose the device farm sources available for your project. You can choose more than one device farm source if you have it. You have to type→for each options you choose until the indicator showsXwhileOmeans you are not choosing the option.OpenSTF Device Farm SetupYou'll needhost,api key, andadb public keyof the OpenSTF to make your app works with OpenSTF Device Farm.Please put your OpenSTF host address completely like example :http://mystf.com:7100Then you have to generate your OpenSTF API Key from your OpenSTF Dashboard and put the API Key to the setup dialogue.Last, you need to register your ADB Public Key to your OpenSTF account in order to do remote connect and do some adb commands through the device.It will check if the app is able to connect to the OpenSTF Device Farm.Next, You'll be asked to choose one automation tool that you use in your computer.Katalon Automation Tool SetupThere are some questions to make galaxest working perfectly with your Katalon.The Katalon Application Path.You need to specify the absolute path to your katalon application. e.g:/Applications/Katalon.app/Contents/MacOS/katalonYour Automation Project File.You need to specify the absolute path to your automation project file. The file should be the one which has extension.prj. e.g:/Users/your_username/your_dir/your_automation_project_name.prjFeatureshelpgalaxest --helpavailable devicesgalaxest -lconnectIf you want to connect randomly to a device:galaxest -cOr if you want to connect to a desired device:galaxest -c desired_serial_iddisconnectgalaxest -d desired_serial_idmy connected devicesgalaxest -irun a testsimple test runYou can run a test by simply use this command:galaxest -r desired_test_suite_namechoose device to run testYou can also specify the method to find the most suitable device to run test. We currently support find a device by the id--by-id, by the os--by-os, and by the amount--by-n.galaxest -r desired_test_suite_name --by-id desired_serial_idspecify more run optionsYou can also specify more options supported from the automation framework you are using by adding--opts.galaxest -r <test_suite_name> --opts additional_run_optionsrun in parallelYou can run your automation test in parallel by using,as delimiter between specs except for--by-n. e.g:galaxest -r desired_test_suite_name --by-os 5,6,7show configurationgalaxest -preset configurationgalaxest --reset-configLicenseSeeLICENSE.Copyright © 2019 The galaxest Project. All Rights Reserved.
Package: galaxie-audio
Galaxie Audio documentationDescriptionA small Audio library, use by Galaxie Tools for play and record audio.LinksGitLab:https://gitlab.com/Tuuux/galaxie-audio/Read the Doc:https://galaxie-audio.readthedocs.ioPyPI:https://pypi.org/project/galaxie-audio/PyPI Test:https://test.pypi.org/project/galaxie-audio/DK0TU/ users/ DL5BBN/ Python Amateur Radio Programs:https://www.dk0tu.de/users/DL5BBN/Python_Amateur_Radio_Programs/DKØTU/ blog/ 2019/ 04/ Python Speech Recognition, Dictation and Coding:https://www.dk0tu.de/blog/2019/04/27_Python_Speech_Recognition/Screenshotsv 0.1.4Text SpectrogramInstallation via pipPypipipinstallgalaxie-audioPypi Testpipinstall-ihttps://test.pypi.org/simple/galaxie-viewerExample#!/usr/bin/env python3# -*- coding: utf-8 -*-# It script it publish under GNU GENERAL PUBLIC LICENSE# http://www.gnu.org/licenses/gpl-3.0.en.html# Author: the Galaxie Audio Team, all rights reservedimportsysimporttempfilefromglxaudio.AudioRecorderimportAudioRecorderfromglxaudio.AudioPlayerimportAudioPLayerfromglxaudio.AudioInterfacesimportAudioInterfacesfromglxaudio.AudioConstantsimportGLXAUDIOfromglxaudio.SleepimportSleepfromglxviewerimportviewer# THE APPtry:verbose=Truedebug=Falsedebug_level=3time_to_sleep=0.42ifverbose:viewer.write(status_text="INIT",status_text_color="WHITE",column_1="Simplex Repeater",column_2=" - Version 0.5",)viewer.write(status_text="INIT",status_text_color="WHITE",column_1=AudioInterfaces.__name__+":",column_2="list interfaces",)AudioInterfaces.print_interfaces(only_default=True)whileTrue:#  Create a new temporary file each time, that because communication's should be anonymetemporary_file=tempfile.NamedTemporaryFile()try:# Start a recordingwithAudioRecorder()asrecorder:recorder.debug=debugrecorder.debug_level=debug_levelrecorder.verbose=verboserecorder.verbose_level=3recorder.format=GLXAUDIO.FORMAT_INT16recorder.threshold=6# in percentrecorder.channels=1recorder.rate=22050recorder.chunk_size=1024recorder.file.path=temporary_file.namerecorder.record_to_file()# Wait , because that is how work a repeaterwithSleep()assleeper:sleeper.debug=debugsleeper.debug_level=debug_levelsleeper.verbose=verbosesleeper.sleep(time_to_sleep)# Play what is inside our temporary filewithAudioPLayer()asplayer:player.debug=debugplayer.debug_level=debug_levelplayer.verbose=verboseplayer.detached=Trueplayer.file.path=temporary_file.nameplayer.play()exceptEOFError:pass# Close the temporary file, it have effect to delete the file, that because communication's should be anonymizetemporary_file.close()exceptKeyboardInterrupt:viewer.flush_a_new_line()sys.exit(0)GALAXIE AUDIOCHANGELOG0.1.5 - 20220102Add File ClassMigrate set / get method’s to simple propertyAdd testsBetter MakefileFixe PLayer detach mode0.1.4 - 20211115Optimize CI/CDMigratesetuptoolsDeletedocs/buildwhen usemake clean0.1.3 - 20211112Addgalaxie-viewer0.5.0 support0.1.2 - 20211112Better MakefileFixe Audio Spectrum0.1.1 - 20210205New series ready to big thingUse setup.py onlyAdd LICENSE.rstAdd Changelogs fileBetter CIrename GLXAudio module to glxaudio0.1 - 20210126Fixe CI troublesCI use only Makefile
Package: galaxie-docs-theme
________        __                 __
 /  _____/_____  |  | _____  ___  __|__| ____
/   \  ___\__  \ |  | \__  \ \  \/  /  |/ __ \
\    \_\  \/ __ \|  |__/ __ \_>    <|  \  ___/_
 \________(______/____(______/__/\__\__|\_____/Actual Homepage :https://gitlab.com/rtnp/galaxie-docs-themeDocumentation :https://galaxie-docs-theme.readthedocs.ioThe ProjectGalaxie DocsTheme isSphinxtheme , dedicated to ultra low device.
The theme is optimised for TTY Browser likelinks2,lynx,elinks, etc…In case of outage, each octet can be counted, then you should consider low profile computer or tools.If you searching a nice and ultra featured theme, clearly that theme is not for you.
If you thing about low profile computer can be the future of the humanity, you are on the good place.The MissionProvide a Theme for text based browserPermit to ultra low computer to read online pagesEasily installable withpipCoupled withSphinxhave capability to manage a web portal for low profile computer’sPermit text based logo systemFeaturesEach char is countSimple HTMLMinimal JavaScript (Without that it will be better)Minimal CSS (Without that it will be better)ContributeIssue Tracker:https://gitlab.com/rtnp/galaxie-docs-theme/issuesSource Code:https://gitlab.com/rtnp/galaxie-docs-themeOur collaboration model is the Collective Code Construction Contract (C4):https://rfc.zeromq.org/spec:22/C4/LicenseGNU GENERAL PUBLIC LICENSE Version 3See theLICENCEAll contributions to the project source code (“patches”) SHALL use the same license as the project.
Package: galaxie-eveloop
Galaxie EveLoop documentationDescriptionGalaxie Event Loop is a low tech main loop couple with a event bus.After many years as kernel of Galaxie Curses project, it have been as decision to extract the main loop and the event bus.
Especially that because it work and be very small.LinksGitLab:https://gitlab.com/Tuuux/galaxie-eveloop/Read the Doc:https://galaxie-eveloop.readthedocs.io/PyPI:https://pypi.org/project/galaxie-eveloop/PuPI Test:https://test.pypi.org/project/galaxie-eveloop/Installation via pipPypipipinstallgalaxie-eveloopPypi Testpipinstall-ihttps://test.pypi.org/simple/galaxie-eveloop
Package: galaxies
# PLDAC-Galaxiesgalaxiesest un logiciel permettant une visualisation graphique ainsi qu’une interaction avec un réseau d’agrégats de réutilisations.
Il est développé enPython 3.5et utilise les bases de données générées par <a href=”https://github.com/ARTFL-Project/text-align”>text-align</a>.## Installationgalaxiesis available under <a href=”https://pypi.python.org/pypi/galaxies”>PyPI</a>, the official disributor for Python packages.
Just type :`shell $ pip install galaxies `in ashellto install this software. Then the package create2new commands :`shell $ galaxies $ galaxies_gui `## Usage
### GUI
The GUI’s usage is pretty straightforward. The main menu has two## Requirements
* This software can be used withPython 3.5or a greater version. It shouldn’t work with any anterior version because the source code usestype hint, introduced with Python 3.5.
* The graphical interface needs <a href=”https://graph-tool.skewed.de/”>**graph-tool**</a> for plotting and interacting with graphs.
* The window system used isGTK, the default system for theGnomedistribution. Your machine needs GTK or <a href=”http://www.pygtk.org/downloads.html”>**pyGTK**</a> for the GUI of this software.## Dependencies
* click >= 6.7
* progressbar33 >= 2.4## Todo## Many thanks
We would like to thanks our teacher <a href=”http://www-poleia.lip6.fr/~ganascia”>JG. Ganascia</a> from <a href=”https://www.lip6.fr/”>LIP6 laboratory</a> for his supervision and his help through our production of the entire software.## License
The project is delivered under the GPL3 license. Read the [LICENSE.txt](LICENSE.txt) file for more details.## References
* Ganascia J.-G., Glaudes P., Del Lungo A., “Automatic detection of reuses and citations in literary texts”, Literary and Linguistic Computing, 2014, doi: 10.1093/llc/fqu020
* Blondel, Vincent D; Guillaume, Jean-Loup; Lambiotte, Renaud; Lefebvre, Etienne (9 October 2008). “Fast unfolding of communities in large networks”. Journal of Statistical Mechanics: Theory and Experiment. 2008 (10): P10008. doi:10.1088/1742-5468/2008/10/P10008
* RFC 4180: Common Format and MIME Type for Comma-Separated Values (CSV) Files Vol. 2007, No. 02/04. (2005) by Y. Shafranovich
Package: galaxy2cwl
Convert Galaxy workflow files to (abstract) CWLThis is a standalone tool that creates CWL-abstract descriptions of Galaxy workflow runs or Galaxy workflow files (static files).Usage:galaxy2cwl INPUT_GALAXY_WORKFLOW(.ga/.yaml) > OUTPUT_WORKFLOW.cwlThe tool works with inputs in both format1 (json format .ga, currently the standard for Galaxy workflow definitions) and format2. As described in the implementation (https://github.com/galaxyproject/gxformat2), gxformat2 is 'a highly experimental format and will change rapidly in potentially backward incompatible ways until the code is merged into the Galaxy server and enabled by default' therefore the conversion to CWL from this format is also variable and can rapidly change and/or break.Initially the output of this project a CWL-abstract definition (aka cwl-interface, seehttps://github.com/common-workflow-language/common-workflow-language/issues/337andhttps://github.com/common-workflow-language/cwl-v1.2/pull/3). As the CWL support in Galaxy increases then conversion could come up with a full CWL workflow file.LicenseCopyright © 2019-2020, Ignacio Eguinoa, VIB, Universiteit Gent, and workflowhub.eu contributorsDistributed under aBSD 3-Clause license.Installing from sourceEasiest is to usepip:pip3 install .or, assuming all dependencies are installed:python setup.py installThis should installcwl2galaxyon your PATH.Alternatively you can runpython3 galaxy2cwl/get_cwl_interface.pydirectly.ExamplesA simple workflow to use as example can be found inhttps://usegalaxy.eu/u/igegu/w/simple-workflowThis workflow is available in different formats in theexamples/ directoryof the source repository.The Galaxy .ga format is inexamples/simple_workflow_galaxy.gaThe format2 version yaml wrapped in json can be found inexamples/simple_workflow_format2_yaml_wrapped.jsonThe format2 pure yaml inexamples/simple_workflow_format2.yamlThe resulting CWL-interface can be found inexamples/simple_workflow_cwl-interface.cwlPackaging with RO-CrateThe objects created with this project are aimed to be part ofworkflow based RO-Cratepackages for registering inWorkflowHub.WorkflowHubis a project under development that aims at, among other things, serve as a repository for workflows standardizing the metadata description.As such it provides the possibility of registering workflows in a diverse set of formats and packaging them in a RO-Crate package.All examples included in this project are readily available inhttps://dev.workflowhub.eu/ContributeContributions welcome! Raise pull requests, issues etc onhttps://github.com/workflowhub-eu/galaxy2cwl/.Submitted patches are assumed to be licensed under the same BSD 3-Clause license.
Package: galaxy2galaxy
Galaxy2GalaxyGalaxy2Galaxy, or G2G for short, is a library of models, datasets, and utilities to build generative models for astronomical images, based on the Tensor2Tensor library. Similarly to T2T, the goal of this project is to accelerate research in machine
learning models applied to astronomical image processing problems.InstallWe recommend users create a conda environment before installing galaxy2galaxy. This makes installing tensorflow and galsim very easy:$ conda install tensorflow-gpu==1.15
$ conda install -c conda-forge galsimG2G can then easily be installed using pip inside the environment:$ pip install git+https://github.com/ml4astro/pixel-cnn.git
$ pip install galaxy2galaxyUsageTo generate the COSMOS 25.2 sample at native pixel scale and stamp size:$g2g-datagen--problem=img2img_cosmos--data_dir=data/img2img_cosmosThis uses GalSim to draw postage stamps and save them in TFRecord format which can then be used for training.  This assumes that you have downloaded the GalSim COSMOS sample, if that's not the case, you can dowload it with:galsim_download_cosmos -s 25.2To  train an autoencoder with this data:$g2g-trainer--data_dir=data/img2img_cosmos--output_dir=training/cosmos_ae--problem=img2img_cosmos--model=continuous_autoencoder_basic--train_steps=2000--eval_steps=100--hparams_set=continuous_autoencoder_basic
Package: galaxy-auth
OverviewTheGalaxyauth framework and default plugins.Code:https://github.com/galaxyproject/galaxyHistory23.2.1 (2024-02-21)No recorded changes since last release23.1.4 (2024-01-04)No recorded changes since last release23.1.3 (2023-12-01)No recorded changes since last release23.1.2 (2023-11-29)No recorded changes since last release23.1.1 (2023-10-23)EnhancementsUpdate Python dependencies by@galaxybotin#1543523.0.6 (2023-10-23)No recorded changes since last release23.0.5 (2023-07-29)No recorded changes since last release23.0.4 (2023-06-30)No recorded changes since last release23.0.3 (2023-06-26)No recorded changes since last release23.0.2 (2023-06-13)No recorded changes since last release23.0.1 (2023-06-08)No recorded changes since last release20.9.0 (2020-10-15)First release from the 20.09 branch of Galaxy.20.5.0 (2020-07-04)First release from the 20.05 branch of Galaxy.