Saravanan666/pypi-org huggingface dataset:
Package: gen-cisco
gen-ciscois an API and CLI to facilitate the creation of your Cisco
scripts using a YAML file. This file groups a section for each protocol
including the values to be replaced in the appropriate Cisco template.The creation of these templates has been done during the variousCCNAtraining courses offered by Cisco, usingPacket
Tracer, a
network simulation and visualization tool. Therefore, some commands may
need to be modified on real hardware.InstallationIt’s as simple as that:pip install gen-ciscoUsageUsage: gen-cisco.py [OPTIONS]

  Generates Cisco scripts based on YAML files

  Examples:
    python gen-cisco.py -i examples/router.yml
    python gen-cisco.py -i examples/router.yml -o r1.txt
    python gen-cisco.py -i examples/router.yml -o r1.txt -v
    python gen-cisco.py -i examples/router.yml -o r1.txt --no-comments -v
    python gen-cisco.py -i examples/router.yml -o r1.txt --no-comments --no-headers -v
    python gen-cisco.py -i examples/router.yml -o r1.txt --no-override

Options:
  -i, --src FILENAME          The YAML file.
  -o, --dest TEXT             The name of the generated script file.
  --override / --no-override  Deletes the old file if it is overwritten.
  --comments / --no-comments  Deletes comments in the generated script.
  --headers / --no-headers    Deletes headers in the generated script.
  -v, --verbose               Outputs the final script to the console.
  --version                   Show the version and exit.
  --help                      Show this message and exit.Alternatively you can run this tool using Docker:# Build the imagedockerbuild-tgen-cisco.# Run the imagedockerrun-v$(pwd):/appgen-ciscopythongen-cisco.py[OPTIONS]Supported FeaturesHere is a list of features configurable by the scripts:basic               ➔ basic configuration for routers and switches
eigrp               ➔ advanced distance-vector routing protocol
etherchannel        ➔ port link aggregation technology or port-channel architecture used primarily on Cisco switches
hsrp                ➔ Cisco redundancy protocol for establishing a fault-tolerant default gateway
nat                 ➔ method of remapping one IP address space into another
ospf                ➔ routing protocol for Internet Protocol networks
rip                 ➔ one of the oldest distance-vector routing protocols
stp                 ➔ network protocol that builds a loop-free logical topology for Ethernet networks
ssh                 ➔ cryptographic network protocol for operating network services securely over an unsecured networkFor a complete list sorted by device, please visit thewiki.ContributionsAdding a new protocol to script as well as supporting a new device is
easy. To do that, first take a look at theCONTRIBUTINGfile. Also, feel free to submit your bugs and suggestions by opening an
issue in the issue tracker, it would help us a lot.LicenseCode is under theMIT
License.
Package: genclf
GenderClassifier ToolAim: using ML models as packagesPurpose: for classifying gender of individuals using their first namesInstallationpipinstallgenclfUsageBasic usage>>>fromgenclfimportGenderClassifier>>>g=GenderClassifier()>>>g.name='Jess'>>>g.predict()Loading Different Models>>>fromgenclfimportGenderClassifier>>>g=GenderClassifier()>>>g.name='Jessica'>>>g.load('nv')>>>g.predict()Using the Classify Method>>>fromgenclfimportGenderClassifier>>>g=GenderClassifier()>>>g.load('nb')>>>g.classify("David")Check Gender>>>fromgenclfimportGenderClassifier>>>g=GenderClassifier()>>>g.is_male("Mark")>>>fromgenclfimportGenderClassifier>>>g=GenderClassifier()>>>g.is_female("Mary")RequirementsJoblibScikit-learnMaintainerJesse E.Agbe(JCharis)Jesus Saves@JCharisTech
Package: gencmd
gencmdSimple library (python3) for send commands to the video-core on Raspberry PimotivationWhen I've tested my own solution to measure voltage and temperature on video-core. I discovered that run 'gencmd' directly like a process sometimes is not good enough. For example, in the case when the measurement frequency is less than one second. So there is a simple library for pass commands directly to the video-core.
Package: genCode
gencodegencode代码生成工具，可以连接MySQL\Oracle\postgresql\sqlite根据jinjan2模板生成出自已想要的代码安装pipinstallgencode使用方式在模板文件所在的目录里执行gendcode-cconfig.yml配置文件config.yml# 模板文件地址#templatePath: '/data'dbConf:# MySQL / Oracle / Sqlite / postgresqldb_type:MySQLdb_name:adminuser:adminpwd:Vile123adMin_#host:127.0.0.1# 多表使用;分割table_name:sys_operator# JavadataTypeMapping:varchar|text:Stringdecimal(10,2):int# Python#dataTypeMapping:#   default:#  varchar(*)|text: strmyself:author:liuzhuomail:liuzhuogood@foxmail.comsign:我的签名jinja2:variable_start_string:'{{'variable_end_string:'}}'模板变量变量示例说明XX_TABLE_NAMESYS_BULLETIN_FILE表名变形xx_table_namesys_bulletin_file表名变形XxTableNameSysBulletinFile表名变形xxTableNamesysBulletinFile表名变形TableNameBulletinFile表名变形tableNamebulletinFile表名变形table_namebulletin_file表名变形xxsys表名变形XXSYS表名变形date2021-10-11当前日期datetime2021-10-11 10:10:10当前时间authorliuzhuo名称mailliuzhuogood@foxmail邮箱sign自动生成代码签名comment文件表表备注columns<参考columns集合>列集合columns集合关键字说明column_name列名变形COLUMN_NAME列名变形columnName列名变形ColumnName列名变形columnname列名变形COLUMNAME列名变形comment列名备注dataType列名 的类型,可以通过配置映射is_pk1：是主键 0：不是主键方法ljust(str,[width],[fill_char]) : 左补全字符rjust(str,[width],[fill_char]) : 右补全字符模板模板可以是文件目录，也可是文件，如果是文件为了区分必须以.gcode后缀命名，比如：{{XxTableName}}Po.java.gcodepackage {{xx}}

/**
 {{comment}} 实体类
 author: {{author}}
 mail: {{mail}}
*/
public class {{TableName}}{
    {% for c in columns %}
        private {{c.dataType}} {{c.columnName}};  //{{c.comment}}

        /**{{c.comment}}*/
        public {{c.dataType}} get{{c.ColumnName}}(){return {{c.columnName}};};

        /**{{c.comment}}*/
        public void set{{c.ColumnName}}({{c.dataType}} {{c.columnName}}){this.{{c.columnName}}={{c.columnName}};};
    {% endfor %}

}
Package: gencodegenes
GENCODEGenesThis code loads genes from GENCODE GTF files into, groups transcripts by gene,
and provides methods for transcripts, so you can find CDS distances and sequences.InstallpipinstallgencodegenesUsagefromgencodegenesimportGencodegencode=Gencode(GTF_PATH)# or Gencode(GTF, FASTA_PATH) to give transcripts DNA sequence# get gene by HGNC symbolgene=gencode['OR5A1']transcripts=gene.transcriptscanonical=gene.canonical# picks MANE transcript if available, if none named# as MANE, picks the one tagged as appris_principal# (or longest CDS if multiple), if none tagged, picks# the longest protein coding, if none protein coding,# picks the longest cDNAgene.start,gene.end,gene.chrom,gene.strand,gene.symbol# other attributes available# find gene nearest a genomic position, or overlapping a genomic regiongencode.nearest('chr1',1000000)gencode.in_region('chr1',1000000,2000000)# and the transcript has a bunch of methodstx=gene.canonicaltx.in_exons(pos)# check if pos in exonstx.in_coding_region(pos)# check if pos in CDStx.get_coding_distance(pos)# get distance in CDS to CDS starttx.get_closest_exon(pos)# find exon closest to positiontx.get_position_on_chrom(cds_pos)# convert CDS pos to genomic postx.get_codon_info(pos)# get info about codon for a sitetx.get_codon_number_for_cds_pos(cds_pos)# convert CDS pos to codon numbertx.translate(seq)# translate DNA to AA (if opened with Fasta)# the transcript also has associated data fieldstx.name# transcript IDtx.chrom# transcript chromosometx.start# transcript start (TSS)tx.end# transcript endtx.cds_start# CDS start positiontx.cds_end# CDS end positiontx.type# transcript type e.g. protein_codingtx.strand# strand (+ or -)tx.exons# list of exon coordinatestx.cds# list of CDS coordinatestx.cds_sequence# get cDNA sequence (if Gencode was opened with fasta)
Package: gencoder
Google Encoding Helper PackageThis package is intended to be used to quickly translate the normal text into polyline encoded format.This package must not be used for other purposes, and if it is, it may throw in exception and may also cause your program to crash.To use this package, simply import gencoder after install it using the pip installer.
Then, call the encoding function through the path:gencoder.polycoder.super_encoderThis function requires the coordinates to be provided as the input instrformat.
The latitude and longitude must be separated with a comma.Also, this package provides the facility to use the encoder on multiple coordinates.
This is facilitated by the use of lists, which means that you would need to separate the coordinates with the usage of lists.Here is an example input:super_encoder(['38.5, -120.2', '40.7, -120.95', '43.252, -126.453'])The ideal output to this query shall be:_p~iF~ps|U_ulLnnqC_mqNvxq@Output Type:strImportant:The author of this package does not allow anyone to copy the code without written permission.
If you need to use the code independently, you may contact the author of this package atrachitbhargava99@gmail.com.
Package: genconminer
Gencon MinerA general content miner that leverages on Beautiful Soup and Requests to handle extraction. The main goal is to always imagine in terms of targetting parent elements in an HTML form then getting group of tags given that parent.fromgencon_minerimportGenconMinerFrom URLurl_miner=GenconMiner(url="http://google.com")txt=url_miner.extract('title')print(txt[0].text)# GoogleFrom texttext_miner=GenconMiner(text="<p class='myclass'>Hello</p>")txt=text_miner.extract('.myclass')print(txt[0].text)# HelloConvert all tag content to stringNote that contents in a tag will be delimited using newline.meaning_of_life="""<p class='myclass'>Hello<span>darkness my old friend</span></p><b>And another one</b>"""bulk_miner=GenconMiner(text=meaning_of_life)print(bulk_miner.to_text())# Hello\ndarkness my old friend\nAnd another oneParent to targetUse-case on walking document and extracting the targets.song_of_the_day="""<table id="mother"><tr><td class="target-1">Mamma Mia</td><td class="target-2">Here I go again</td><td class="target-3">My my</td><td class="target-4">How can I resist you</td></tr></table>"""walk_miner=GenconMiner(text=song_of_the_day)print(walk_miner.extract('#mother','.target-1')[0].text)# Mamma Miaprint(walk_miner.extract('#mother','.target-3')[0].text)# My myprint(walk_miner.extract('#mother','td'))# [#   <td class="target-1">Mamma Mia</td>,#   <td class="target-2">Here I go again</td>,#   <td class="target-3">My my</td>,#   <td class="target-4">How can I resist you</td># ]AuthorAlmer Mendoza
Package: gencove
The Gencove CLIWhat is Gencove?Gencove is a high-throughput, cost-effective platform for genome sequencing and analysis, enabling a wide array of genomics applications across industries. Furthermore, it is the only enterprise analytics platform for low-pass whole genome sequencing (lpWGS).The Gencove command-line interface (CLI) can be used to easily access the Gencove platform.Main FeaturesIt is most often used for:Uploading FASTQ filesfor analysisDownloading analysis resultswhich include the following:Sequence (.fastq.gz)Alignment (.bam,.bai)Imputation (.vcf.gz,.vcf.gz.tbi,.vcf.gz.csi)Assigning metadatato Gencove samplesBefore filing a bug report, please refer to the followinglink. Bugs should be reportedhere.Installation# install via PyPI
pip install gencove

# updating to latest version
pip install -U gencoveDocumentationOnline documentation (with examples) is available atdocs.gencove.comAPI reference for publicly available endpoints:API ReferenceComprehensive CLI Documentation available:CLI Reference
Package: gencsr
gencsrgencsris a simple tool to generate an x.509 Certificate Signing Request
(CSR).It is opinionated and supports the most basic common use-case: A website with
one or more DNS names. Anything more complex than that is better handled by
other tools.UsageThe hostname is always included in the list of DNS names (Subject Alternative
Name).You can either pass options on the command line:$gencsr--hostnameexample.com--dns-namewww.example.com--dns-namelogin.example.comOr you can use a config file, in which case no other command line options are
allowed (they are not merged). This is equivalent to the previous example.hostname="example.com"dns_names=["www.example.com","login.example.com",]$gencsr--confgexample.com.toml
Package: genda-lens
The GenDa Lens:Quantifying Gender Bias in Danish language modelsThea Rolskov Sloth & Astrid Sletten RybnerA python package for investigating gender bias in Danish language models within the following domains:Language Modeling(for pre-trained models)Coreference Resolution(for coref. models)Named Entity Recogntiion(for NER models)If you want to test either a pre-trained model, a coref. model or a NER model, you can read more about each of these three types of tests in the User Guide.Here you can also find a section on thedefintionsof harm, gender and bias that we adopt in the GenDa Lens package.🔎DocumentationDocumentation📚User GuideInstructions on how to understand the implemented Gender Bias tests💡DefinitionsDefintions of harm, bias and gender applied in GenDa Lens💻API ReferencesThe detailed reference for the GenDa lens API. Including function documentation🧐AboutLearn more about how this project came about and who is behind the implemented frameworks🤗 IntegrationNote that for NER and Language Modeling, the GenDa Lens evaluator is integrated with Hugging Face.🔧 InstallationYou can install GenDa Lens via pip from PyPI:pipinstallgenda_lens👩‍💻 UsageYou can test your model by instatiating an instance of the Evaluator and running the appriate evaluation function:fromgenda_lensimportEvaluator# initiate evaluatorev=Evaluator(model_name="huggingface-modelname")# run testoutput=ev.evaluate_ner(n=20)# retrieve outputsimple_output=output[0]detailed_output=output[1]Subsequently, the output can be visualized using the Visualizer:fromgenda_lensimportVisualizer# initiate visualizerviz=Visualizer()# visualize ner resultsplot=viz.visualize_results(data=detailed_output_ner,framework="ner",model_name"my-model-name")AcknowledgementsThis project uses code from three already implemented frameworks for quantifying gender bias in Danish.
While all code written by others is properly attributed at the top of the scripts in the repository, we would also like to present aknowledgement here to the authors of the work we draw on:The original ABC Framework:González, A. V., Barrett, M., Hvingelby, R., Webster, K., & Søgaard, A. (2020). Type B reflexivization as an unambiguous testbed for multilingual multi-task gender bias.The original Augmented DaNe Framework:Lassen, I. M., Almasi, M., Enevoldsen, K., & Kristensen-mclachlan, R. (2023, May). Detecting intersectionality in NER models: A data-driven approach.The original WinoBias Framework:Zhao, J., Wang, T., Yatskar, M., Ordonez, V., & Chang, K. W. (2018). Gender bias in coreference resolution: Evaluation and debiasing methods.The Danish translation of the WinoBias Framework, DaWinoBias:Signe Kirk and Kiri Koppelgaard
Package: gen-data-model
Generate Data Model (Django/Flask/SQLAlchemy)gen_data_modelis tool generator of data model forDjango FWKFlask FWKSQLAlchemy FWKDeveloped inpythoncode.The README is used to introduce the modules and provide instructions on
how to install the modules, any machine dependencies it may have and any
other information that should be provided before the modules are installed.Table of ContentsInstallationInstall using pipInstall using buildInstall using py setupInstall using dockerDependenciesTool structureDocsContributingCopyright and licenceInstallationUsed next development environmentCurrently there are three ways to install toolInstall process based on using pip mechanismInstall process based on build mechanismInstall process based on setup.py mechanismInstall process based on docker mechanismInstall using pipPython is located atpypi.org.You can install by using pip#python3pip3installgen_data_modelInstall using buildNavigate torelease pagedownload and extract release archive.To installgen_data_modelruntarxvzfgen_data_model-x.y.z.tar.gzcdgen_data_model-x.y.z# python3wgethttps://bootstrap.pypa.io/get-pip.py
python3get-pip.pypython3-mpipinstall--upgradesetuptools
python3-mpipinstall--upgradepip
python3-mpipinstall--upgradebuild
pip3install-rrequirements.txt
python3-mbuild--no-isolation--wheel
pip3installdist/gen_data_model-x.y.z-py3-none-any.whl
rm-fget-pip.pyInstall using py setupNavigate torelease pagedownload and extract release archive.To installgen_data_modellocate and run setup.pytarxvzfgen_data_model-x.y.z.tar.gzcdgen_data_model-x.y.z#python2pipinstall-rrequirements.txt
pythonsetup.pyinstall_lib
pythonsetup.pyinstall_egg_info
pythonsetup.pyinstall_data#python3pip3install-rrequirements.txt
python3setup.pyinstall_lib
python3setup.pyinstall_egg_info
python3setup.pyinstall_dataInstall using dockerYou can use Dockerfile to create image/container.Dependenciesgen_data_modelrequires next modules and librariesats-utilities - Python App/Tool/Script UtilitiesTool structuregen_data_modelis based on OOPGenerator structuregen_data_model/├──conf/│├──gen_data_model.cfg│├──gen_data_model.logo│├──gen_data_model_util.cfg│├──model_types.yaml│└──template/│├──django_base_model.template│├──django.template│├──flask_base_model.template│├──flask.template│├──sqlalchemy_base_model.template│└──sqlalchemy.template├──__init__.py├──log/│└──gen_data_model.log├──pro/│├──__init__.py│├──read_template.py│└──write_template.py└──run/└──gen_data_model_run.py6directories,16filesDocsMore documentation and info atgen_data_model.readthedocs.iowww.python.orgContributingContributing to gen_data_modelCopyright and licenceCopyright (C) 2017 - 2024 byvroncevic.github.io/gen_data_modelgen_data_modelis free software; you can redistribute it and/or modify
it under the same terms as Python itself, either Python version 3.x or,
at your option, any later version of Python 3 you may have available.Lets help and support PSF.
Package: gendazpack
gendazpackis a DAZ Studio content package generator.Supported Python versionsPython 3.11Usagegendazpack[-h][-gGLOBAL_ID][-uURL][-pPREFIX][-sSKU][-IID][-SSTORE][-nNAME][-t<TAGS...>][-a<AUTHORS...>][-dDESCRIPTION][-iIMAGE][-rREADME][-v]content_locationpositional arguments:content_location          Content directoryoptions:-h,--helpshow this help message and exit-gGLOBAL_ID,--global-idGLOBAL_IDProduct Global ID-uURL,--urlURLURL for product information-pPREFIX,--prefixPREFIXSource Prefix-sSKU,--skuSKUProduct SKU-IID,--idIDPackage ID-SSTORE,--storeSTOREProduct Store-nNAME,--nameNAMEProduct [Part] Name-t<TAGS …>,--tags<TAGS …>Tags-a<AUTHORS …>,--authors<AUTHORS …>Authors-dDESCRIPTION,--descriptionDESCRIPTIONProduct Description-iIMAGE,--imageIMAGEProduct Image-rREADME,--readmeREADMEProduct ReadMe-v,--verboseenable verbose outputE:\> gendazpack --sku 000000 --name "My Product" E:\ContentToPackage

E:\> gendazpack --prefix ROSITY --sku 000000 --store Renderosity --name "Some Product" --image E:\ProductImage.png --readme E:\ProductReadme.pdf  E:\ContentToPackage

E:\> gendazpack --url https://www.renderosity.com/marketplace/products/000000/some-product E:\ContentToPackageLicenseThis module is published under the MIT license.
Package: genderator
Genderator is a Python library to process Spanish names (from Spain) to guess their
gender.For this to work, the libray uses the next datasets fromInstituto
Nacional de Estadística:name_surname_ratio: List of words that could be both, a name or
a surname, and shows the probability to be a surname.names_ine: List of registered names on Spain, with the
probability for each one to be a male or a female name.surnames_ine: List of registeres surnames on Spain.InstallationThe easiest way to install the latest version is by using pip to pull it
fromPyPI:pip install genderatorYou may also use Git to clone the repository from Github and install it
manually:git clone https://github.com/davidmogar/genderator.git
cd genderator
python setup.py installPython 3.3 & 3.4 are supported.UsageThe next code shows a sample usage of this library:importgenderatorguesser=genderator.Parser()answer=guesser.guess_gender('David Moreno García')ifanswer:print(answer)else:print('Name doesn\'t match')Output:OrderedDict([
    ('names', ['david']),
    ('surnames', ['moreno', 'garcia']),
    ('real_name', 'david'),
    ('gender', 'Male'),
    ('confidence', 1.0)
])OptionsGenderator’s parser can receive some arguments to control its behaviour. Those arguments are:force_combinations=Boolean: Force combinations during classification.force_split=Boolean: Force name split if no surnames are detected.normalize=Boolean: Enable or disable normalization.normalizer_options=Dictionary: Normalizer options to be applied.Normalizer options are a dictionary to control what normalization rules are applied to each name. Possible options are:hyphens: Boolean option to enable or disable hyphens removal.symbols: Boolean option to enable or disable symbols removal.whitespaces: Boolean option to enable or disable extra whitespaces removal.
Package: gender-bender
Gender BenderThis library allows you to flip the gender of a string or eBook (only works with theepubformat).  The motivation was to be able to examine gender norms in a fun way.To use theepubformat, I recommend the Calibre reader or the Kobo.InstallationPython 3 onlyWithpip:pipinstallgender-benderor withpoetry:poetryaddgender-benderNote: on first usage, it will install an English model for the Spacy dependency.  This
is unable to be installed from PyPI due tothis issue.UsageOr from python:fromgender_benderimportgender_bend_epubgender_bend_epub('./Mythical_Man_Month.epub')You can also gender-bend a string:fromgender_benderimportgender_bendx=gender_bend("If Ivanka weren't my daughter, perhaps I'd be dating her.")assertx=="If Ivan weren't my son, perhaps I'd be dating him."Installing from sourceGet the repo:gitclonehttps://github.com/Garrett-R/gender_bender.gitcdgender_bender
pipinstall-rrequirements.txtIt can be run as a script:./main.py--inputLord_of_the_Flies.epub--outputLady_of_the_Flies.epubIf you'd like to choose the names yourself (recommended for translating a whole ebook), you can do:./main.py--inputThe_Little_Mermaid.epub--interactive-naming
Package: genderClassifier
USAGEpip install genderClassifierDownload the model before proceeding for the first time# SWAMI KARUPPASWAMI THUNNAIfromgender_classifierimportdownloaddownload.latest_model()# SWAMI KARUPPASWAMI THUNNAIfromgender_classifier.classifierimportGenderClassifierclassifier=GenderClassifier()print(classifier.classify_gender("example_image.jpg"))
Package: gender-classifier-cnn-usoltsev37
hse-engineering-practices-mlHW02Установка пакетного менеджера Pip (уже установленно, он дефолтный)Развертывание окруженияpython -m venv ./gender-classifier-cnn/envСборка пакетаpython setup.py sdist bdist_wheel
twine upload --repository pypi dist/*Ссылка на пакет в pypi-testhttps://pypi.org/project/gender-classifier-cnn-usoltsev37/0.0.2/Установка пакета из pypi-testpip install gender-classifier-cnn-usoltsev37==0.0.2P.S.Попробывалpoetry, возникли проблемы с установкой библиотеки torch на mac, это решение мне не помоглоhttps://github.com/python-poetry/poetry/issues/6409?ysclid=lar7tjjma6220333470
Package: genderclf
GenderClassifier ToolFor classifying gender of individuals using their first namesInstallationpipinstallgenderclfUsageBasic usage>>>fromgenderclfimportGenderClassifier>>>g=GenderClassifier()>>>g.name='Hemant'>>>g.predict()Loading Different Models>>>fromgenderclfimportGenderClassifier>>>g=GenderClassifier()>>>g.name='Hansa'>>>g.load('logit')>>>g.predict()Using the Classify Method>>>fromgenderclfimportGenderClassifier>>>g=GenderClassifier()>>>g.load('nb')>>>g.classify("Hemant")Check Gender>>>fromgenderclfimportGenderClassifier>>>g=GenderClassifier()>>>g.is_male("Hemant")>>>fromgenderclfimportGenderClassifier>>>g=GenderClassifier()>>>g.is_female("Hansa")RequirementsJoblibScikit-learnMaintainerAnkit Hemant Lade(ankitlade12@gmail.com)
Package: gender-definer
Gender DefinerPython package for detect a gender from cyrillic names and latin namesGithubhttps://gihub.com/yeghorkikhai/gender-definerInstallation pippip install gender-definerInstallation poetrypoetry gender-definerExamplefromgenderdefinerimportGenderDefinergd=GenderDefiner()print(gd.define('Юля'))# output:## SubjectGender(gender='female', probability=0.7646426652337452)#