Saravanan666/pypi-org huggingface dataset:
Package: gensty
genStyGenSty is a LaTex style package generator for OpenType fonts (otf/ttf) which
supports W3C SMuFL notation. With gensty you can generate your LaTeX package
based on any OpenType font; the generator parses ttf/otf files and creates LaTeX
commands for all Unicode Symbols. In the case of SMuFL fonts, you can also include
the glyphnames.json file, so it will create friendlier names and include
"Private Use" symbols.InstallationUse the package managerpipto install foobar.pip install genstyInstallation (manual)Clone the repositorygit clone git@github.com:tsotsos/genSty.gitand then use from the top folder. Eg.python3 -m gensty -hUsageAs referred above, the package can be used directly, installed from pip, and as
a module. In case of command line the script can be used :gensty -husage: genSty [-h] [--version] [--all] [--smufl SMUFL][--one-package ONE_PACKAGE] [--author AUTHOR] [--ver VER]pathLaTeX Style file generator for fontspositional arguments:path                  Font(s) path. It can be either a directory in case ofmultiple fonts or file path.optional arguments:-h, --help            show this help message and exit--version, -v         show program's version number and exit--all, -a             If choosed genSty will generate LaTeX Styles for allfonts in directory--smufl SMUFL, -s SMUFLIf choosed genSty will generate LaTeX Styles for allfonts in directory based on glyphnames provided.--one-package ONE_PACKAGECreates one package with name provided by thisargument.--author AUTHOR       Author's name.--ver VER             LaTeX package version.Use as a moduleUse the module to create LaTeXstyle instances and handle generated latex code
yourself.importgensty# Generate LaTeXstyle instance from font file:latexObj=font.LaTeXstyle(author,version,"path/to/font.otf",smufl)# then you can get for latexObj,Header(), DefCommands(), Commands() or File()Use them module to create the LaTeX package in filesystem.importgensty# Use the same functions as gensty CLI and handle both folder or font file# input (path can be either font file or folder including fonts).# Then using savePackage you can save the generated output to disk# accorndingly.# smufl is the path to glyphnames.json which is defined according to W3C# Specifications https://www.w3.org/2019/03/smufl13/specification/glyphnames.html# prepare fonts. author, version and smuf, can be None.fonts=prepareFonts(path,version,author,smufl)# packageName and forcedCommand can be None. They are used to force LaTeX# pacakage name and commands respectively.fontnames,fontfiles,files=makePackage(fonts,packageName,forcedCommand)# creates font package in file system.savePackage(fontnames,fontfiles,files,packageName)ContributingPull requests are welcome. For major changes, please open an issue first to
discuss what you would like to change.
Package: gensyn-client
# General Synthesis Service for Electronic Lab Notebooks (ELN)  ## Setup  ### Python  Recommended:  - [pyenv](https://github.com/pyenv/pyenv) - to manage Python versions - [pyenv-virtualenv](https://github.com/pyenv/pyenv-virtualenv) - to manage virtual environments  &#x60;&#x60;&#x60;sh pyenv install 3.9.10 pyenv virtualenv 3.9.10 gensyn-eln pyenv local gensyn-eln pip install --upgrade pip pip install -r requirements.txt &#x60;&#x60;&#x60;  ## Running  Ensure Ray is running:  &#x60;&#x60;&#x60;sh ray start --head &#x60;&#x60;&#x60;  Run the service:  &#x60;&#x60;&#x60;sh python src/main.py &#x60;&#x60;&#x60;   # noqa: E501
Package: genta
genta-apiGenta Python API Package.InstallationThis API wrapper can be installed by cloning the repository and runningpip install .in the root directory. You can also usepip install gentaExamplesYou can use this module like so:fromgenta_apiimportGentaAPIapi=GentaAPI(token='your-token')response,statusCode=api.ChatCompletion(chat_history=[{"role":"user","text":"Hello, how are you?"},{"role":"assistant","text":"I'm fine, thank you."},{"role":"user","text":"That's good to hear."},],model_name='Starstreak',best_of=1,decoder_input_details=True,details=True,do_sample=True,max_new_tokens=128,repetition_penalty=1.03,return_full_text=False,seed=None,stop=[],temperature=0.7,top_k=50,top_n_tokens=None,top_p=0.95,truncate=None,typical_p=0.95,watermark=False,)print(response,statusCode)A variety of options can be configured when calling theChatCompletionmethod:chat_history: a list of dictionaries, each containing a "role" (user, assistant, or system) and "text".model_name: the name of the machine learning model to use. By default, it uses 'Starstreak'.best_of: an integer specifying the number of responses the model should generate. The best one will be chosen. Default is 1.decoder_input_details,details,do_sample: boolean flags to control various model behaviors.max_new_tokens: the maximum output length that the model will produce.repetition_penalty: a penalty for repetitive output. Default is 1.03.return_full_text: whether the output includes original input text as well. Default is False.seed: an integer to seed random responses.stop: a list of stop tokens.temperature: a measure of randomness in the output.top_k,top_n_tokens,top_p,truncate,typical_p: control parameters for the output.watermark: whether to include a watermark in the output. Default is False.
Package: gentccode
简介gtc(generate test case) 是一个把http请求转换为测试代码的cli工具功能支持解析curl命令支持解析postman文件支持解析swagger2文件支持生成笛卡尔积测试脚本支持解析curl文件并生成Jmeter性能脚本支持解析curl文件并生成Locust性能脚本支持解析postman文件并生成Jmeter性能脚本一键生成Jmeter性能压测方案脚本安装pip3installgentccode使用执行下面命令,会在当前目录生成api文件(api.yaml)和测试代码的脚本文件(test_case.py)gtccurlcurl.txt
gtcpostmanpostman.json
gtcswagger2swagger.json
-------------------------
gtcjmetercurl.txt
gtclocustcurl.txt
-------------------------
gtccp-na.curl.txt已知问题若postman文件中有变量,则不会生成相对应的代码块.
Package: gentex
GenTex stands for General Texture analysis.This package provides a suite of routines that combines standard texture analysis methods
based onGLCMand entropy/statistical complexity analysis methods.What is this package for?GenTex provides a number of the standard algorithms required for generating
complexity/texture measure estimates from multimodal imaging data. These include:Generation of multidimensional feature spaces from multimodal 'image' data
(i.e. multiple 'co-registered' 1,2,3, or 4 dimensional data sets, e.g.
multiple 'co-registered' time series, multimodal image data, space/time data..)
via the use of a set of image templates, including:single voxelslinear sequences in cardinal directions (ref.)notches in cardinal directions (ref.)light cones in cardinal directions and 45 degree angles (ref.)Clustering methods for generating discrete ('grey') levels from the constructed
feature space (the levels are then typically mapped to the original image space at
the anchor points of the templates)Building co-occurrence matrices from a discrete level 'image' or a pair of
discrete level 'images', where the discrete level 'images' are typically generated
via feature space clustering of the original multimodal data sets (time series, images,
space/time data...)Estimation of various complexity/texture measures from the co-occurrence matrices.
(Haralick measures and epsilon machine related quantities) such as:CM EntropyEM EntropyStatistical ComplexityEnergy UniformityMaximum ProbabilityContrastInverse Difference MomentCorrelationProbability of Run LengthEpsilon Machine Run LengthRun Length AsymmetryHomogeneityCluster TendencyMultifractal Spectrum Energy RangeMultifractal Spectrum Entropy RangeDocumentationThe documentation on GenTex in hostedhereInstallationpipinstallgentexWho do I talk to?Karl Young (original developer)Nicolas PannetierNorbert SchuffLicenseGenTex is licensed under the terms of the BSD license.
Please see the License file in the GenTex distributionReferencesK. Young, Y. Chen, J. Kornak, G. B. Matson, N. Schuff,
'Summarizing complexity in high dimensions',
Phys Rev Lett. (2005) Mar 11;94(9):098701.C. R. Shalizi and J. P. Crutchfield, 'Computational
Mechanics: Pattern and Prediction, Structure and Simplicity',
Journal of Statistical Physics 104 (2001) 819--881.K. Young and J. P. Crutchfield, 'Fluctuation Spectroscopy',
Chaos, Solitons, and Fractals 4 (1993) 5-39.J. P. Crutchfield and K. Young, 'Computation at the
Onset of Chaos', in Entropy, Complexity, and Physics of
Information, W. Zurek, editor, SFI Studies in the Sciences
of Complexity, VIII, Addison-Wesley, Reading, Massachusetts
(1990) 223-269.C. R. Shalizi and J. P. Crutchfield, 'Computational
Mechanics: Pattern and Prediction, Structure and Simplicity',
Journal of Statistical Physics 104 (2001) 819--881.
Package: gentexdoc
Latex document generatorLatex document generator (or GenTexDoc) is a utility that enables its users to generate PDF documents by inserting Markdown code inside a Latex template.InstallationInstall fontconfig:sudo apt install fontconfigInstall pandoc (for the markdown to Latex conversion):sudo apt install pandocInstall XeLateX (for the Latex to PDF conversion):sudo apt install texlive-xetex texlive-lang-french texlive-font-utilsInstall GenTexDoc:pip install gentexdocCustom fonts then need to be placed in the/usr/local/share/fontsdirectory.How does it work?GenTexDoc usesJinja2formatted Latex templates. The Jinja2 syntax allows named elements to be inserted inside the Latex document.These named elements are meant to be written in the Markdown format, and are converted from Markdown to Latex usingPandoc.A named element can be either ablockof Markdown code, or simply a one-linevariable.How to use itWriting a Latex templateFirst, create a Latex template. It will serve as a base for your documents.
In the template, make references to named elements with the Jinja2 syntax{{ element_name }}, whereelement_nameis the name of the element you'd like to insert in your document.For this example, we'll consider the template below:%%%%%%%%%% HEADER %%%%%%%%%%\documentclass[a4paper]{scrarticle}{{builtin.packages}}\title{Test document}\date{\vspace{-1.5cm}{{date}}}%%%%%%%%%% DOCUMENT %%%%%%%%%%\begin{document}\maketitle{{content}}\end{document}Note that in the example, we're inserting the named entitybuiltin.packages. This entity contains a list of packages that are necessary for all markdown features to be used properly.Writing markdown input filesThen, write a markdown input file that defines the necessary elements.To define a variabe, use the syntax[var]: <varname> (value)To define a block, use the syntax:[block]:<blockname>(Block content)

[endblock]:<blockname>In the example below, we're defining a variable nameddateand a block namedcontent.# My awesome markdown input file[var]:<date> (10/10/2021)[block]:<content>This is the content of my document.

[endblock]:<content>Generate the PDFAfter writing your template and your markdown input files, all that's left to do is to generate the final PDF file.If your template is namedtemplate.tex, and your only markdown input file is nameddocument.md, then you can generate a PDF nameddocument.pdfwith the command:gentexdoc -t template.tex document.md -o document.pdfNote that the output file doesn't need to be specified in that case.LicenseThis project is licensed under theGNU GPLv3 license.
Package: gentk
This is a python toolkit for the 4D Genome Browser project. It includes a client, algorithms and datastructures for accessing a4DGenomeBrowserdatabase.Creating an instance of a clientThe main way to interact with the database is to create a client, then make calls through the client to the database hosted at the server. The server is defined by its url and port.import gentk

    # provide the URL and port when creating an instance
    client = gentk.client.client("http://127.0.0.1", "8000")

    # set the project
    client.project = "test.00"APIget_structure_arrays()Get a list of structure arrays from the server. The list is made of key, value pairs (see below).get_sequence_arrays()Get a list of sequence arrays from the server. The list is made of key, value pairs (see below).get_arrays(type)Get a list of all arrays from the server. The list is made of key, value pairs (see below).Example:
    arrays = client.get_arrays()

    return value has the following structure:
    [
        {
            'id': int,
            'name': string,
            'type': string
        },
        {
            'id': int,
            'name': string,
            'type': string
        },
        ,,,
    ]set_array(array, metadata)Set a new array on the server. Returns the id of the new array (integer)Example:
    metadata = {
                    "name": "test array", 
                    "type": "structure", 
                    "datatype": "int", 
                    "datadim": 1
                 }
   id = client.set_array([0, 1, 2, 3, 4], metadata)get_array(arrayID)Get an array from the server. Returns a json object.Example:

    result = client.get_array(id)

    return value has the following structure:
    {
        'name' : string,
        'type' : string,
        'version' : string (version of the array format)
        'data' {
            'type': string,
            'dim' : int,
            'values' : python data array
        }
    }get_contactmap(mapID)Get a contact map data structure.get_genes()Get the list of genes for a project.get_genes_for_segment(structureID, segID)Get a list of genes for a structure's segment.get_segments_for_gene(structureID, gene)Get a list of structure segments that a gene intersects.get_segment_ids(structureID)Return a list of segment IDs for a structure.get_structure(structureID)Get a structure. Return value is a list of segments.Example:

    structure = client.get_structure(id)

    return value has the following structure, which is a list of segments:
    [
        {
            'end'       : list of three floats,
            'length'    : int; length of segment,
            'segid'     : int,
            'start'     : list of three floats,
            'startid'   : int; start ID in the sequence
        },
        ...
    ]Copyright (c) 2021 Los Alamos National Laboratory
Package: gentleman
Gentleman is a simple, straightforward Python library for communication with
Ganeti clusters using Ganeti’s RAPI.UsageImport a client of your choice, and then do some work with it.>>> from gentleman.sync import RequestsRapiClient
>>> c = RequestsRapiClient("your.ganeti.cluster")
>>> c.start()
>>> print c.version
2
>>> print c.features
['instance-reinstall-reqv1', 'node-evac-res1', 'node-migrate-reqv1',
'instance-create-reqv1']There’s also a Twisted client. An example with Twisted’s shell:>>> from gentleman.async import *
>>> c = TwistedRapiClient("your.ganeti.cluster")
>>> c.start()
<Deferred #0>
Deferred #0 called back: None
>>> c.version
2
>>> c.features
['instance-reinstall-reqv1', 'node-evac-res1', 'node-migrate-reqv1',
'instance-create-reqv1']LicenseGentleman is made available under the terms of the GPL, version 2 or (at your
discretion) any later version.Gentleman is based on code from Ganeti, (c) 2010-11 Google Inc., and code from
Ganeti Web Manager, (c) 2011-12 Oregon State University.
Package: gentle-mxml
gentleGentooLazyEntry — ametadata.xmlgenerator.If you need a distro-agnostic solution, tryupstream-ontologist!Supported generatorsCrystal (Shards)Dart (Pub)Haskell (Hpack)Java (Maven).NET (NuGet)Node.js (npm,Bower)Perl (CPAN::Meta::Spec)PHP (Composer,PEAR/PECL)Python (PEP 621,PEP 643,Setuptools)Ruby (Gem metadata)Rust (Cargo)Language-independent:DOAPGNU AutoconfDependenciesRequired:PortagelxmlOptional:GNU AutoconfpkginfoPyYAMLrdflibTomliInstallingGentooemergeapp-portage/gentleOther systemspip install gentle-mxml --userPackagingYou can track new releases using anatom feedprovided by GitHub.ContributingPatches and pull requests are welcome. Please use eithergit-send-email(1)orgit-request-pull(1), addressed tocyber@sysrq.in.If you prefer GitHub-style workflow, use themirror repoto send pull
requests.Your commit message should conform to the following standard:file/changed: Concice and complete statement of the purpose

This is the body of the commit message.  The line above is the
summary.  The summary should be no more than 72 chars long.  The
body can be more freely formatted, but make it look nice.  Make
sure to reference any bug reports and other contributors.  Make
sure the correct authorship appears.IRCYou can join the#gentlechannel either onLibera Chatorvia Matrix.LicenseWTFPL
Package: gently
GentlyGently is a tool for designing and analysing control systems.It is being written inHy(a dialect of Lisp embedded in Python) and aims to provide an expressive domain-specific language for designing and analysing control systems.It usespython-controlpackage for control systems related operations.InstallingGently requires Python 3.5 or higher. If you are familiar with Python and know how to install a package using pip, here is how to install Gently:pip install gentlyIf you are not sure what this is, you can read theinstallation guide.UsageYou can look at theexamplesfor a quick overview. For more detailed information, you can readthis document.
Package: gentool
A lightweight general command line utility toolbeltHome-page: https://github.com/EricSekyere/gtoolsAuthor: Eric SekyereAuthor-email: ericsekyere1@gmail.comLicense: MITDescription: gtools is a simple python general tool cli.It can interact with the file systemsin windows/linuxThe tool currently supports operations like unnziping files in folders recursivelyKeywords: command line interface cli python filesystemPlatform: UNKNOWNClassifier: Intended Audience :: DevelopersClassifier: Programming Language :: PythonClassifier: Programming Language :: Python :: 3Classifier: Programming Language :: Python :: 3.4Classifier: Programming Language :: Python :: 3.5Classifier: Programming Language :: Python :: 3.6Classifier: Operating System :: POSIXClassifier: Operating System :: MacOSClassifier: Operating System :: Unix
Package: gentools
Tools for generators, generator functions, and generator-based coroutines.Key features:Create reusable generatorsCompose generatorsBuild python 2/3-compatible generators (gentoolsversion <1.2 only)InstallationpipinstallgentoolsExamplesMake generator functions reusable:>>>@reusable...defcountdown(value,step):...whilevalue>0:...yieldvalue...value-=step>>>from_3=countdown(3,step=1)>>>list(from_3)[3,2,1]>>>list(from_3)[3,2,1]>>>isinstance(from_3,countdown)# generator func is wrapped in a classTrue>>>from_3.step# attribute access to arguments1>>>from_3.replace(value=5)# create new instance with replaced fieldscountdown(value=5,step=1)# descriptive repr()map a generator’syield,send, andreturnvalues:>>>@map_return('final value:{}'.format)...@map_send(int)...@map_yield('the current max is:{}'.format)...defmy_max(value):...whilevalue<100:...newvalue=yieldvalue...ifnewvalue>value:...value=newvalue...returnvalue>>>gen=my_max(5)>>>next(gen)'the current max is: 5'>>>gen.send(11.3)'the current max is: 11'>>>gen.send(104)StopIteration('final value: 104')relay a generator’s yield/send interactions through another generator:>>>deftry_until_positive(outvalue):...value=yieldoutvalue...whilevalue<0:...value=yield'not positive, try again'...returnvalue>>>@relay(try_until_positive)...defmy_max(value):...whilevalue<100:...newvalue=yieldvalue...ifnewvalue>value:...value=newvalue...returnvalue>>>gen=my_max(5)>>>next(gen)5>>>gen.send(-4)'not positive, try again'>>>gen.send(-1)'not positive, try again'>>>gen.send(8)8>>>gen.send(104)StopIteration(104)make python 2/3 compatible generators withreturn.
(gentoolsversion <1.2 only)>>>@py2_compatible...defmy_max(value):...whilevalue<100:...newvalue=yieldvalue...ifnewvalue>value:...value=newvalue...return_(value)
Package: gentoopm
GentooPM is a wrapper for API of Gentoo package managers (Portage,PkgCoreand historicallyPaludis).  It has served two purposes:Making it possible to easily write apps that can utilize any
of the available PMs.Replacing the awful API provided by package managers (especially
Portage) with something more Pythonic, easier to use and more
readable.The project provides agentoopmqtool providing basic lookups
into the PM data.  Most importantly, it provides an IPython-friendlygentoopmq shellcommand that can be used to play with the API.The project maintenance is slowly resuming but the code needs major
cleanup.
Package: gentopo
GenTopo: Generate topologies for interactive network experimentsGenerates network topologies, i.e., arrangements of nodes and edges using Python and exports the topologies for use in CiCL studies built on top ofinteractive-network-base.UsageSetupUses Python 3.10.8 and pip 23.3.1 with a virtual environment. To get started, first clone this repository:gitclonehttps://github.com/comanlab/gentopo.gitEverything in this repository is meant to run within a virtual environment, which is activated from the root of this repository.ConfiguringvirtualenvwrapperTODO.mkvirtualenvgentopoWorking in the virual environmentTo activate the virtual environment, runworkongentopoThen, install the package dependencies for this project viapipinstall-rrequirements.txt
Package: gen-trace
gen-traceGenerate interpolate1d (trace) for a cmatFor python 3.8 only(contact the dev concerning other python versions)Install itpipinstallgen-trace# pip install git+https://github.com/ffreemt/gen-trace# poetry add git+https://github.com/ffreemt/gen-trace# git clone https://github.com/ffreemt/gen-trace && cd gen-traceUse itfromgen_trace.cmat2asetimportcmat2aset
Package: gentropy
Open Targets Gentropy is a Python package to facilitate the interpretation and analysis of GWAS and functional genomic studies for target identification. The package contains a toolkit for the harmonisation, statistical analysis and prioritisation of genetic signals to assist drug discovery.InstallationWe recommend to install Open Targets Gentropy using Pypi:pipinstallgentropyFor alternative ways to install the package visit theDocumentationReferencesDocumentationIssue trackerAbout Open TargetsOpen Targets is a pre-competitive, public-private partnership that uses human genetics and genomics data to systematically identify and prioritise drug targets. Through large-scale genomic experiments and the development of innovative computational techniques, the partnership aims to help researchers select the best targets for the development of new therapies. For more information, visit the Open Targetswebsite.
Package: genuine
GenuineGenuine makes it easy to create test data and associations.
It is inspired by ruby factory-bot.It has a straightforward definition syntax, support for multiple build strategies (saved instances, unsaved instances, and attribute mappings), and support for multiple factories for the same class.Installationpip install genuineUsagefromgenuineimportbuildfromdataclassesimportdataclass@dataclassclassUser:name:strage:intadmin:bool=Falseinstance=build(User)assertisinstance(instance,User)With a factoryfromgenuineimportdefine_factorywithdefine_factory(User)asfactory:factory.set("name","John")instance=build(User)assertinstance.name=="John"Nested model objects@dataclassclassComment:body:strcommenter:Userwithdefine_factory(Comment)asfactory:factory.set("body","awesome")factory.association("commenter",User)assertbuild(Comment).commenter.name=="John"Docmore example are located herehttps://johnnoone.github.io/genuine/