Saravanan666/pypi-org huggingface dataset:
Package: geckoboard.py
A Python client library forGeckoboard datasets
API.Note: This library is still in Beta and the API has potential to change
before the release of V1.InstallationInstall the package with pippip install geckoboard.pyUsageThe latest documentation and user guide can be found on theGeckoboard
developer
docsGetting startedInstall the python client from PIPpip install geckoboard.pyImport the Geckoboard package and create an instance of the client using
your API key:importgeckoboardclient=geckoboard.client(API_KEY)Note:You can find your API key by logging into the Geckoboard
application and visiting the Account section.AuthenticationVerify that your API key is valid and that you can reach the Geckoboard
API with thepingmethod.client.ping()Example:client('good-api-key').ping()# => trueclient('bad-api-key').ping()# => raises ExceptionFinding or creating a datasetFind and verify an existing dataset or create a new dataset with thefind_or_createmethod.unique_byis an optional list of one or
more field names whose values will be unique across all your records.client.datasets.find_or_create(dataset_id,fields,unique_by)Params:dataset_id[required] <str>fields[required] <dict>type[required] <str>name[required] <str>optional<boolean>unique_by<list>Example:dataset=client.datasets.find_or_create('sales.by_night',{'amount':{'type':'number','name':'Amount','optional':False},'timestamp':{'type':'datetime','name':'Time'}},['timestamp'])The full list of available field types is described at the top of this
page.Replacing all data in a datasetReplace all data in the dataset by calling theputmethod.dataset.put(items)Params:items[required]
<list>Example:dataset.put([{'timestamp':'2016-01-01T12:00:00Z','amount':819},{'timestamp':'2016-01-02T12:00:00Z','amount':409},{'timestamp':'2016-01-03T12:00:00Z','amount':164}])Appending data to a datasetAppend records to a dataset by calling thepostmethod.Should the number of records in your dataset exceed the limit following
a postold records will be discarded.dataset.post(items,delete_by)Params:items[required]
<list>delete_by<str>Example:dataset.post([{'timestamp':'2016-01-03T12:00:00Z','amount':312},{'timestamp':'2016-01-04T12:00:00Z','amount':665},{'timestamp':'2016-01-05T12:00:00Z','amount':453}],'timestamp')Deleting a datasetDelete the dataset and all data with the given id.client.datasets.delete(dataset_id)Params:dataset_id[required]
<str>Example:client.datasets.delete('sales.gross')# => trueYou can also delete a dataset by calling thedeletemethod on a
dataset.dataset=client.datasets.find_or_create(...)dataset.delete()# => trueDevelopmentClone this repogit clone https://github.com/geckoboard/geckoboard-python && cd geckoboard-pythonInstall package dependenciespython setup.py developRun testsnosetests
Package: geckoboard-python
# gecko-dataset #[![Build Status](https://travis-ci.org/helium/geckoboard-python.svg?branch=master)](https://travis-ci.org/helium/geckoboard-python)
[![Coverage Status](https://coveralls.io/repos/github/helium/geckoboard-python/badge.svg?branch=master)](https://coveralls.io/github/helium/geckoboard-python?branch=master)
[![Code Climate](https://codeclimate.com/github/helium/geckoboard-python/badges/gpa.svg)](https://codeclimate.com/github/helium/geckoboard-python)geckoboard-pythonis a Python package that makes creating and managing
[datasets](https://developer.geckoboard.com/api-reference/curl/) for
the [Geckboard](https://geckoboard.com) service easier.## InstallationAssuming you’re usingpip, add this line to yoursetup.py:` requires =['geckoboard-python]`or to yourrequirements.txtfile:`geckoboard-python`## Usage and Documentation## DevelopmentIn order to develop for this code-base you will need to install tox:` pip install tox `Sincegeckoboard-pythonsupports at least Python 2.7 and 3.5 you will
need to have at least one of those installed on your development
machine. The build automation will test all required versions when
code is pushed to this repository.Clone this repository and run:` $ tox `This will install the required packages and run the tests for the
library. Installingtoxremoves the need to install or usevirtualenvsince tox manages virtual environments already.By default the tests will replay back previously recorded API
interactions. To affect how tests interact with the API you
will have toSet aGECKO_API_KEYenvironment variable to a valid Geckboard API
key. For example inbash:` $ exportGECKO_API_KEY=<myapi key> `SetGECKO_RECORD_MODEto one of:none- (default) Only play back recorded API interactions.once- Only record interactions for which no recording exist. If
you get an error message from betamax complaining about a recording
not matching an interaction that means that your test has new API
interactions with it. Remove the cassette referred to in the error
message and run the test again to re-generate it .We useflake8to ensure we catch Python version differences and
common pitfalls quicker. Please run:` $ tox-elint `before you commit code and try to remove as many warnings as you
can. Once we figure out how strict some of the documentation
requirements need to be we will be running lint as part of automation.To make a release tag the repository with a valid
[semantic version](https://semver.org) version and push tags. The
build automation will automatically build and push releases to
[PyPi](https://pypi.python.org).
Package: geckodriver-autoinstaller
geckodriver-autoinstallerAutomatically download and installgeckodriverthat supports the currently installed version of firefox. This installer supports Linux, MacOS and Windows operating systems.Installationpipinstallgeckodriver-autoinstallerUsageJust typeimport geckodriver_autoinstallerin the module you want to use geckodriver.Examplefrom selenium import webdriver
import geckodriver_autoinstaller


geckodriver_autoinstaller.install()  # Check if the current version of geckodriver exists
                                     # and if it doesn't exist, download it automatically,
                                     # then add geckodriver to path

driver = webdriver.Firefox()
driver.get("http://www.python.org")
assert "Python" in driver.title
Package: geckolibs
geckocode-libsPython library for parsing and editing Gecko Codes for the Wii/GCNInstallationpip install geckolibsUsageWithgeckocode-libs, file parsing is simple to do.You can read a textual codelist into aGeckoCodeTableusing the methodGeckoCodeTable.from_text(our_text), which automatically detects the type of codelist being read and handles all the dirty work for you! This returns a new GeckoCodeTable object.You can also read a raw codelist from a GCT using the methodGeckoCodeTable.from_bytes(our_bytes), which parses the raw bytes given to the method into a new GeckoCodeTable object.When you are done editing your GCT, you can convert the object back into a codelist, text, or raw data using the methodsGeckoCodeTable.as_codelist(codelist_type),GeckoCodeTable.as_text(), andGeckoCodeTable.as_bytes()respectively.You can also create your own codes using the library itself, an example shown here:gct=GeckoCodeTable()# Empty GCTcode=GeckoCode("Our awesome code","Me")# Empty GeckoCode named "Our awesome code", created by "Me"command=Write32(0x60000000,0x80231480)# Individual commandcode.add_child(command)# Add a command to the codegct.add_child(code)# Add a code to the GCTType checking of codes can be done in 3 ways:code=Write8(69,0x80203932)code==Write8# Truecode==Write8.codetype# Truecode.codetype==Write8.codetype# Truecode.codetype==GeckoCommand.Type.WRITE_8# TrueIt should be noted that in order to check multiple codetypes at once,code.codetypeshould be used.Example>>>fromgeckolibs.geckocodeimport*>>>fromgeckolibs.gctimport*>>>>>>ifblock=IfEqual32(0x00D0C0DE,0x80204158)>>>>>>code=WriteString(b"\x00\x01\x02\x03\x04\x05",0x80023994)>>>ifblock.add_child(code)>>>>>>code=AsmInsert(b"\x38\x03\x00\x01\x38\x00\x00\x18",0x80291358)>>>ifblock.add_child(code)>>>>>>geckocode=GeckoCode("Test Code","JoshuaMK","Testing our new code!",ifblock)>>>geckocode.add_child(Terminator(0x80008000))>>>>>>print(geckocode)TestCode[JoshuaMK]Testingournewcode!>>>print(geckocode.as_text())2020415800D0C0DE06023994000000060001020304050000C22913580000000238030001380000186000000000000000E000000080008000>>>forcommandingeckocode:...print(command)...(20)Ifthewordataddress(0x00204158+thebaseaddress)isequalto0x00D0C0DE:(06)Write6bytesto0x00023994+thebaseaddress(C2)Inject(b/b)thedesignatedASMat0x00291358+thebaseaddress(E0)Clearthecodeexecutionstatus.Setthebaseaddressto80000000.Setthepointeraddressto80000000.NotesPlease give credit to this project when using it! :)
Package: gecko-om
geckoAsync object mapping for Redis and Python.Development StatusGecko-om is still in active development and is not yet ready for use. To contribute, see the section below.ContributingFor guidance on setting up a development environment and how to make a
contribution to gecko-om, seeContributing to Gecko-om.Reporting a Security VulnerabilityPlease send a private mail tolordunyime@gmail.comif you discover any security vulnerability. I'll be happy to work with you on a fix.
Package: geckoterminal
GeckoTerminalPython wrapper for GeckoTerminal's API.Installationpip3 install git+https://github.com/samuel-poon/geckoterminal.gitGeckoTerminal Docshttps://www.geckoterminal.com/dex-apiQuick Startimportgeckoterminalnetworks=geckoterminal.get_networks()dexes=geckoterminal.get_dexes(network='eth')weth_usdc=geckoterminal.get_pool(network='eth',pool_address='0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640')polygon_top_pools=geckoterminal.get_top_pools(network='polygon_pos')
Package: geckoterminal-py
GeckoTerminal PyGeckoTerminal Py is a Python client for theGeckoTerminal. It provides a user-friendly way to fetch network and pool data asynchronously or synchronously.InstallationTo install GeckoTerminal Py, use pip:pipinstallgeckoterminal-pyUsageYou can fetch data about networks using GeckoTerminal Py in two ways:Asynchronous usagefromgeckoterminal_py.clientimportGeckoTerminalClientimportasyncioasyncdefmain():client=GeckoTerminalClient()networks_df=awaitclient.get_networks()print(networks_df)client.close()# In an asyncio environment, you'd use:asyncio.run(main())Synchronous usagefromgeckoterminal_py.clientimportGeckoTerminalClientdefmain():client=GeckoTerminalClient()networks_df=client.get_networks_sync()print(networks_df)client.close()main()Methods AvailableHere is a brief description of the methods available in the GeckoTerminalClient:Async methods:get_networks():Fetches network data in an asynchronous way.get_dexes_by_network(network_id: str):Asynchronously fetches decentralized exchange (dex) data by network ID.get_top_pools_by_network(network_id: str):Asynchronously fetches top pool data by network ID.get_top_pools_by_network_dex(network_id: str, dex_id: str):Asynchronously fetches top pool data by network and dex IDs.get_top_pools_by_network_token(network_id: str, token_id: str):Asynchronously fetches top pool data by network and token IDs.get_new_pools_by_network(network_id: str):Asynchronously fetches data of new pools by network ID.get_new_pools_all_networks():Asynchronously fetches data of new pools across all networks.get_ohlcv(network_id: str, pool_address: str, timeframe: str, before_timestamp: int = None, currency: str = "usd", token: str = "base", limit: int = 1000):Asynchronously fetches OHLCV data for a pool.Sync methods:get_networks_sync():Fetches network data in a synchronous way.get_dexes_by_network_sync(network_id: str):Synchronously fetches dex data by network ID.get_top_pools_by_network_sync(network_id: str):Synchronously fetches top pool data by network ID.get_top_pools_by_network_dex_sync(network_id: str, dex_id: str):Synchronously fetches top pool data by network and dex IDs.get_top_pools_by_network_token_sync(network_id: str, token_id: str):Synchronously fetches top pool data by network and token IDs.get_new_pools_by_network_sync(network_id: str):Synchronously fetches data of new pools by network ID.get_new_pools_all_networks_sync():Synchronously fetches data of new pools across all networks.get_ohlcv_sync(network_id: str, pool_address: str, timeframe: str, before_timestamp: int = None, currency: str = "usd", token: str = "base", limit: int = 1000):Synchronously fetches OHLCV data for a pool.
Package: ge-core
GE-CoreThis project has been launched as a rework of theBlender I3D Addoninto a separate standalone python package for working with modding of Giants Engine games, which can then be incorporated into specific projects such as an addon integration for Blender or any other tool.To begin with it will focus on interactions with I3D files, both importing and exporting, through an interface which can be implemented to work with anything that runs pythonThis project is still in early development!
Package: gecos
Gecos - Generated Color Schemes for sequence alignment visualizationsMultiple sequence alignments are often visualized by coloring the symbols
according to some kind of properties.
For example a color scheme for amino acids could use one color for
hydrophobic residues, another color for positively charged residues
and so forth.
Usually, such color schemes are manually created by experienced people
who have knowledge about the characteristics of the e.g. amino acids,
so they can assign equal or similar colors to amino acids that share
similar properties.TheGecossoftware follows a different approach:
Instead of looking at specific, sometimes subjective properties,
it uses another source for estimating the similarity of symbols:
the substitution matrix itself.
Similar colors are assigned to high scoring pairs of symbols, low
scoring pairs get distant colors - in a completely automatic manner.
As a result the distance of two symbols in the substitution matrix corresponds
to the perceptual differences in the color scheme.How about an example?
The following command line invocation creates a light color scheme.
An example alignment using the newly generated color scheme is displayed below.$gecos--matrixBLOSUM62--lmin60--lmax75-fawesome_colors.jsonInstallationIn order to useGecosyou need to have Python (at least 3.6) installed.
Furthermore, the following Python packages are required:biotitenumpymatplotlibscikit-imageIf these prerequisites are met,Gecosis simply installed via$pipinstallgecosAlternatively,Gecoscan be installed viaConda:$condainstall-cconda-forgegecosCitationIf you useGecosin a scientific publication, please cite:P. Kunzmann, B. E. Mayer, K. Hamacher,
“Substitution matrix based color schemes for sequence alignment visualization,”
BMC Bioinformatics, vol. 21, pp. 209, 2020.
doi:10.1186/s12859-020-3526-6
Package: geco-stat
geco_stat can be used to easily generate histograms, statistics, and
anomaly reports for timing signals generated by LIGO interferometers. It is
meant to simplify the handling of massive amounts of diagnostic data by
providing a simple, organized interface to relevant statistics, easy
progress tracking for large jobs, effortless data visualization, and convenient
ways to combine reports, so that very long timeseries can be efficiently
analyzed in parallel and then recombined into single, monolithic reports
covering entire eras.
Package: ged2doc
GEDCOM UtilitiesTools for converting GEDCOM data into document formats.Free software: MIT licenseDocumentation:https://ged2doc.readthedocs.io.FeaturesConversion of GEDCOM files into nicely formatted HTML or ODT (OpenDocument Text) formatOutput includes most textual information, images/photos, an segments of genealogical treeSupport for English and Russian output translations, more translations can be added easilyCan be used as standalone command-line application or as a Python APICreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.5.1 (2021-05-01)Add Python3.9 to supported version list0.5.0 (2020-10-09)Python3 goodies, use enum classes for enums0.4.2 (2020-10-04)Use numpydoc style for docstrings, add extension to SphinxDrop Python2 compatibility code0.4.1 (2020-09-28)Use github actions instead of Travis CI0.4.0 (2020-09-28)Drop Python2 supportPython3 supported versions are 3.6 - 3.80.3.1 (2020-08-30)No changes in ged2doc code, new version is to build Windows app with latest
ged4py version (v0.2.4) which fixes Genery.com dialect detection.0.3.0 (2020-08-02)New moduledumbemfimplements a subset of EMF drawing primitives to
support EMF representation of ancestor trees.Ancestor tree in ODT output is now in EMF format by default, there is an
option to use SVG format as in previous versions0.2.1 (2020-07-18)Fix DateValue error and Python2 compatibility issues (#28).0.2.0 (2020-07-05)Update for improved DATE support in ged4py0.1.16 (2018-09-08)Add protection from exceptions in Pillow0.1.15 (2018-06-02)Add Czech translation (kudos to @Mejstro)Add –locale optionFix for SVG file (ancestor trees) headers0.1.14 (2018-05-17)Improve logging and error reporting0.1.13 (2018-04-23)Fix for event date comparison (#15)0.1.12 (2018-04-21)Fixed (hopefully) crash when dealing with GIF images.Added Polish translation (kudos to @voyager212)Improved image search algorithm for on-disk and zipped locations0.1.11 (2018-04-07)Output events without dates, and add option to disable it0.1.10 (2018-04-02)Changed Russian translation for “Maiden name”0.1.9 (2018-02-03)Improve format of generic events and attributes, use TYPE as event typeAdd “cause” to formatted event if “CAUS” tag is present0.1.8 (2018-01-31)Require ged4py 0.1.4 or laterThis improves name parsing for ALTREE dialect0.1.7 (2018-01-28)Fixed bug causing exception for small images:
UnboundLocalError: local variable ‘imgsize’ referenced before assignment0.1.6 (2018-01-21)Update docs, add russian translation for usage/installation0.1.5 (2018-01-16)Try to open images using full path0.1.4 (2018-01-16)Python3 fixes, bytes handling0.1.3 (2018-01-14)add –version option to print ged2doc/ged4py versions0.1.2 (2018-01-13)Small fix for packaging0.1.1 (2018-01-07)Add support for ODT output.Add options for names formattingAutomatic determination of output format from file extension0.1.0 (2017-10-20)First release on PyPI.Only supporting HTML output for now.
Package: ged4py
GEDCOM parser for PythonImplementation of the GEDCOM parser in PythonFree software: MIT licenseDocumentation:https://ged4py.readthedocs.io.FeaturesParsing of GEDCOM files as defined by 5.5.1 version of GEDCOM standardSupported file encodings are UTF-8 (with or without BOM), ASCII or ANSELDesigned to parse large files efficientlySupports Python 3.6+CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.4.4 (2021-05-01)Add Python3.9 to tox, github test, and classifiers.0.4.3 (2021-04-30)Extend behavior ofRecord.sub_tags()method.0.4.2 (2021-04-09)Fix crash insub_tag()with broken files0.4.1 (2021-04-08)Improve handling of invalid dates0.4.0 (2020-10-09)Python3 goodies, use enum classes for enums0.3.2 (2020-10-04)Use numpydoc style for docstrings, add extension to SphinxDrop Python2 compatibility code0.3.1 (2020-09-28)Use github actions instead of Travis CI0.3.0 (2020-09-28)Drop Python2 supportPython3 supported versions are 3.6 - 3.80.2.4 (2020-08-30)Extend dialect detection for new genery.com SOUR format0.2.3 (2020-08-29)Disable hashing for Record typesAdd hash method for DateValue and CalendarDate classesImprove ordering of DateValue instances0.2.2 (2020-08-16)Fix parsing of DATE records with leading blanks0.2.1 (2020-08-15)Extend documentation with examplesExtend docstrings for few classes0.2.0 (2020-07-05)Improve support for GEDCOM date types0.1.13 (2020-04-15)Add support for MacOS line breaks (single CR character)0.1.12 (2020-03-01)Add support for a bunch of illegal encodings (thanks @Tuisto59 for report).0.1.11 (2019-01-06)Improve support for ANSEL encoded documents that use combining characters.0.1.10 (2018-10-17)Add protection for empty DATE fields.0.1.9 (2018-05-17)Improve exception messages, convert bytes to string0.1.8 (2018-05-16)Add simple integrity checks to parser0.1.7 (2018-04-23)Fix for DateValue comparison, few small improvements0.1.6 (2018-04-02)Improve handling of non-standard dates, any date string that cannot
be parsed according to GEDCOM syntax is assumed to be a “Date phrase”0.1.5 (2018-03-25)Fix for exception due to empty NAME record0.1.4 (2018-01-31)Improve name parsing for ALTREE dialect0.1.3 (2018-01-16)improve Py3 compatibility0.1.2 (2017-11-26)Get rid of name formatting options, too complicated for this package.Describe name parsing for different dialects.0.1.1 (2017-11-20)Fix for missing modules.0.1.0 (2017-07-17)First release on PyPI.
Package: geda
GeDaGeDais a Python package that helps you toGet theData for your project easily.InstallationpipinstallgedaUsageUsing specific data provider classfromgeda.data_providers.vocimportVOCSemanticSegmentationDataProviderroot="<directory>/<to>/<store>/<data>"# e.g. "data/VOC"dataprovider=VOCSemanticSegmentationDataProvider(root)dataprovider.get_data()Usingget_datashortcutfromgedaimportget_dataroot="<directory>/<to>/<store>/<data>"# e.g. "data/VOC"dataprovider=get_data(name="VOC_SemanticSegmentation",root=root)dataprovider.get_data()Theget_datafunction currently supported names:MNIST,DUTS,NYUDv2,VOC_InstanceSegmentation,VOC_SemanticSegmentation,VOC_PersonPartSegmentation,VOC_Main,VOC_Action,VOC_Layout,MPII,COCO_KeypointsWhat it doesBy usingdataprovider.get_data()functionality, the data is subjected to the following pipeline:Download the data from source (specified by the_URLSvariable in each module)Unzip the files if needed (in case oftar,ziporgzfiles downloaded)Move the files to<root>/rawdirectoryFind the split ids (file basenames or indices - depending on the dataset)Arrange files, i.e. move (or copy) files from<root>/rawdirectory to task-specific directories[Optional]Create labels in specific format (f.e. YOLO)ExampleResulting directory structure of theget_data(name="VOC_SemanticSegmentation", root="data/VOC").
└── data
    └── VOC
        ├── raw
        │   ├── Annotations
        │   ├── ImageSets
        │   ├── JPEGImages
        │   ├── SegmentationClass
        │   └── SegmentationObject
        ├── SegmentationClass
        │   ├── annots
        │   ├── images
        │   ├── labels
        │   └── masks
        └── trainval_2012.tarCurrently supported datasetsImage classificationMNISTImage SegmentationPASCAL VOC 2012NYUDv2Person-PartsDUTSKeypoints detectionMPIICOCOContributingPull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.LicenseMIT
Package: gedcom5
GEDCOM v5Parser for GEDCOM v5 filesSpecificationshttps://www.gedcom.org/gedcom.htmlSampleshttps://www.gedcom.org/samples.htmlUsage Examplefrom gedcom5.parser import GEDCOM5Parser

msg = '\n'.join([
    '0 @I1@ INDI',
    '1 NAME Bob /BROWN/',
    '2 FAMC @F1@',
    '0 @F1@ FAM',
    '1 HUSB @I2@',
    '1 WIFE @I3@',
    '0 @I2@ INDI',
    '1 NAME Bob /BROWN/'
    '0 @I3@ INDI',
    '1 NAME Mary /SMITH/'
])
parser = GEDCOM5Parser()
gedcom = parser.parse_string(msg)
gedcom.indi[0].name.value == 'Bob /BROWN/'
for indi in gedcom.indi:
    print(f'{indi.name.value}')
Package: gedcom7
gedcom7AGEDCOM 7parser for Python.BackgroundThe parser is based on regular expressions generated directly from the ABNF grammar viaabnf-to-regexp. It does not attempt to parse files that are not standards compliant.Installationpython -m pip install gedcom7Usageimportgedcom7withopen("my_gedcom.ged","r",encoding="utf-8")asf:string=f.read()records=gedcom7.loads(string)CreditsInspiration was drawn from theJavascript parser.
Package: gedcompy
Python library to parse and work withGEDCOM(genealogy/family tree) files.It’s goal is to support GEDCOM v5.5 (specification here).This is released under the GNU General Public Licence version 3 (or at your option, a later version). See the fileLICENCEfor more.Example Usage>>> import gedcom
>>> gedcomfile = gedcom.parse("myfamilytree.ged")
>>> for person in gedcomfile.individuals:
...    firstname, lastname = person.name
...    print "{0} {1} is in the file".format(firstname, lastname)ContributingRun all unitttests withtox.