Saravanan666/pypi-org huggingface dataset:
Package: getbib
CONTENTS OF THIS FILEIntroductionRequirementsInstallationFunctionalityInstructions for UseLicenseContactINTRODUCTIONgetcite was created to save Florida Law Review member’s time by automating
the process called “pulling sources.”REQUIREMENTSgetcite currently has the following software dependencies:Python 3.5.0 or higher;
Selenium WebDriver 2.48.0 or higher;
Firefox 43 or higher;
python-docx 0.8.5 or higher;getcite has the following network dependencies:For sources from HeinOnline: must be on local UF network or logged in
to UF network through VPN;INSTALLATIONFor Mac:Download and install Python 3.5 or above, by going to this website:https://www.python.org/downloads/Once Python is installed, download getcite by opening terminal andtyping:python3 -m pip install getbib –download ~/DownloadsOnce getcite is downloaded and unzipped, go to the getcite rootfolder (that contains setup.py) and type:python3 setup.py installTo run, go to the ./getbib folder and type:python3 getbib.pyFUNCTIONALITYINSTRUCTIONS FOR USELICENSECopyright (C) 2015This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
more details.You should have received a copy of the GNU General Public License along with
this program.  If not, see <http://www.gnu.org/licenses/>.CONTACTYou can contact the author at:salexander2000@gmail.com
Package: getBitMEXData
This is an utility to download and update Bitmex historical price data.
It can download several binSize (“1m”, “5m” or coarser). By default you
can easily download data for XBTUSD and ADAM20 instruments.LicenceGNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007Installationgitclonegit@github.com:maliky/getBitMEXData.gitcdgetBitMEXDataOr with pippipinstallgetBitMEXDataUsageJust run the getBitMEXData.py like this for exemplepython getBitMEXData.py --startTime "2019-08-01" --live
# or if you install with pip
getBitMEXData --startTime "2020-06-01"  --liveOr update an existing file previously downloaded with getBitMEXData.py
(columns of csv file should be the same). It will get the time from the
last saved record in the file and the bin size from the file name and
continue from there.python update_date.py yourBitmexDataFile-1d.csvHelp and other optionspython-mgetBitMEXData.getBitMEXData-husage:getBitMEXData.py[-h][--foutFOUT][--countCOUNT][--pausePAUSE][--binSizeBINSIZE][--startTimeSTARTTIME][--endTimeENDTIME][--live][--logLevelLOGLEVEL][--entryPointENTRYPOINT][--symbolSYMBOL]Anapplicationtodownloadbitmex's data with what ever resolution you need.

optional arguments:
  -h, --help            show this help message and exit
  --fout FOUT, -f FOUT  base Name of the csv file where to save the results.
                        (default btxData-freq-lastrecorddate.csv)
  --count COUNT, -c COUNT
                        Max number each of records in requests (default 600)
  --pause PAUSE, -p PAUSE
                        Min time to wait between 2 requests (default 1.2). to
                        avoid overloading the server
  --binSize BINSIZE, -b BINSIZE
                        Bin size or type requested, or time resolution
                        (default 1d), can also be 1m, 5m, 1h.
  --startTime STARTTIME, -s STARTTIME
                        Time to start the data collection (default, oldest
                        available 2016-05-05 04:00:00 'UTC'). Check time zones
  --endTime ENDTIME, -e ENDTIME
                        Time to end the data collection (default, now - 1 unit
                        of chosen resolution)-05-05 04:00:00 'UTC').CheckTZ--live,-lIfpresentuseLIVEkeystogetthedataelseusethetestsite.--logLevelLOGLEVEL,-LLOGLEVELsettheloglevel--entryPointENTRYPOINT,-EENTRYPOINTSettheentrylevel.thepathtoappendtotheLIVEorTESTurlbeforethequery--symbolSYMBOL,-SSYMBOLSetthesymbolforwhichtogethistoricaldatadef.XBTUSD.defaultstartdatemaychangedependingonsymbol
Package: getblocks
getblocksNORMALIZATIONClean data is mission-critical for collecting operating system artifacts, especially with user home directories.APPLE, LINUX, & UNIXifpath[:1]=='/':out=path.split('/')try:ifout[1]=='home':out[2]='user'path='/'.join(out)elifout[1]=='Users':ifout[2]!='Shared':out[2]='user'path='/'.join(out)except:passMICROSOFT WINDOWSelifpath[1]==':':out=path.split('\\')try:ifout[1]=='Users'orout[1]=='Documents and Settings':ifout[2]!='Default'andout[2]!='Public'andout[2]!='All Users'andout[2]!='Default User':out[0]='C:'out[2]='Administrator'path='\\'.join(out)except:passCAPTURED DATAamipathfilesizemd5sha256b3md5pathsha256pathb3pathmd5dirsha256dirb3dirmd5namesha256nameb3nametypeentropyblocklocationREQUIREMENTScurl https://sh.rustup.rs -sSf | sh -s -- -y
source "$HOME/.cargo/env"INSTALLATIONpip install getblocksDEVELOPMENTpython setup.py install --user
Package: getbook
Generate ebooks in epub (for iBooks) or mobi (for Kindle) from a collection
of web links and feeds.InstallationInstall with pip:$ pip install getbookNote: this program only works on Python3.5+.You may need to installkindlegento create mobi format books.GuideThere are serval ways to generate books.You can generate a book from a feed:$ getbook -u http://example.com/feedIt is also possible to generate books from a config JSON file:$ getbook -f ./book.jsonUse--format=mobito generate mobi file for kindle:$ getbook -f ./book.json --format=mobiJSON FormatThe required fields inbook.jsonare:uid: the filename of the booktitle: book titleauthor: author of the bookchapters or sectionsGet some examples inhttps://github.com/lepture/getbook/tree/master/demoLicenseThis program is licensed under APGL.
Package: getboxplots
This library is used to plot boxplots for all columns at a time.
we have to give two parameters which are our “dataframe” and column name of output variable i.e our target
for example,
your csv file name is “train.csv” ||
then your code will be ||
from getboxplots import boxplots ||
data=pd.read_csv(“train.csv”) ||
your output variable column name is “SalePrice”||
boxplots(data,’SalePrice’) ||
we will get all boxplots.||
I am goint to publish article about this library.check it on “medium link=https://medium.com/@akashsathe79”Change Log0.0.1 (25/08/2020)First Release
Package: get-browser-cookies
get-browser-cookiesUses thebrowser_cookie3package to download cookies from your browser (Chrome or Firefox).Quickstart# Install via pip
pip install get-browser-cookies

# Or install via pipx
pipx install get-browser-cookies

# Run
get-browser-cookies --browser chrome --domain "mail.google.com"Usageusage: get-browser-cookies [-h] --domain DOMAIN [--path PATH] --browser {chrome,firefox}

optional arguments:
  -h, --help            show this help message and exit
  --domain DOMAIN
  --path PATH
  --browser {chrome,firefox}DevelopmentSetuppython3 -m venv .venv
source .venv/bin/activate
pip install -r requirements-dev.txtRelease# Activate venv
source .venv/bin/activate

# Delete old builds
rm -rf build dist

# Increment version
vim get_browser_cookies/version.py

# Build package
python setup.py sdist bdist_wheel

# Upload to Test PyPI
twine upload -r testpypi dist/*

# Upload to Test PyPI
twine upload dist/*
Package: getCalspec
getCalspecPython package to download Calspec spectra.The main function query the Calspec table located incalspec_data/calspec.csvto download spectrum FITS files fromSTSC archive.Example:from getCalspec.getCalspec import *

test = is_calspec("eta1 dor")
c = Calspec("eta1 dor")
c.get_spectrum_table(type="stis", date="latest")  # download and return an Astropy table
c.get_spectrum_numpy(type="mod", date="2010-12-11")  # download and return a dictionnary of numpy arrays with units
c.plot_spectrum()  # download and plot the spectrumTo get all Calspec data in one time in cache, write:from getCalspec.rebuild import rebuild_cache
rebuild_cache()When theSTSC webpageis updated,
it might be necessary to rebuild thecalspec_data/calspec.csvtable and the cache:from getCalspec.rebuild import rebuild_tables, rebuild_cache
rebuild_tables()
rebuild_cache()
Package: getCDFs
# getCDFsThis will check for cdfs on your computer. If they don't exist, or there's an updated version on the server, it will download from the server. It will then load the cdfs using spacepy.pycdf, and place them into a dictionary.##Usage:getCDFs(getCDFs(datetime, string, string, **kw):date: Python datetime object containing the date that you want cdfs for.craft: character - 'A' or 'B'.species: character - 'H', 'He', or 'O'.RBlevel: string - RBSPICE data level; '3PAP', '3', '2', '1', or '0'Hlevel: string - HOPE data level; '3', or '2'Hproduct: string - If using, HOPE level 3 data, which product; 'PA' or 'MOM'Maglevel: string - MagEIS data level; '3', or '2'EMlevel: string - EMFISIS data level; '4', '3', or '2'PH: string describing which Time of Flight by Pulse Height product you want:'LEHT'(Low Energy, High Time resolution) or 'HELT'(High Energy, Low Time resolution).EMF: string describing which EMFISIS product you want:('1sec', '4sec', or 'hires')+'-'+('gei', 'geo', 'gse', 'gsm', or 'sm').check: When True, it will query the server for updated versions.If False, then the server will not be queried at all.If you don't have the file on your computer, it will not be downloaded.Set this keyword to False if you do not have internet access.The last five keywords describe which data product you want.All is default, but if you set any one or more of them to True, will override this.Returns: Python dictionary containing spacepy cdf objects.Keys are 'TOFxE', 'TOFxPH', 'HOPE', 'MagEIS', and 'EMFISIS'changeRoot()On the first run, you will be asked to set a root directory where your files will be stored.This function will allow you to change this.
Package: getch
The getch module does single-char input by providing wrappers for the conio.h library functions getch() (gets a character from user input, no output - this is useful for password input) and getche() (also outputs to the screen), if conio.h does not exist, it uses a stub-library using termios.h and other headers to emulate this behaviour:import getch
# ...
char = getch.getch() # User input, but not displayed on the screen
# or
char = getch.getche() # also displayed on the screenHint: On Windows, you can use:import msvcrt
# ...
char = msvcrt.getch()
# or, to display it on the screen
char = msvcrt.getche()as a standard library alternative to this module
Package: get-changed-kustomize-overlays
Get chaged Kustomize overlaysWhen managing multiple applications across multiple clusters in aGitOps approach with kustomizethere are a lot of overlays to test.Kustomize doesn't even provide log output of it's transformations,
this tool recursively calculates the dependencies of a given overlay and compares them with the files changed by a merge request, returning only those kustomize overlays that were affected by a merge request.This tool does not check the validity of your kustomizations beyond resolving the paths of the dependencies,
for proper linting useoc apply --dry-run=server -forkubeconform.Usageusage: main.py [-h] --changed-files CHANGED_FILES [CHANGED_FILES ...] --base-overlays BASE_OVERLAYS [BASE_OVERLAYS ...] [-o OUTPUT_FILE]

optional arguments:
  -h, --help            show this help message and exit
  --changed-files CHANGED_FILES [CHANGED_FILES ...]
                        The files that were changed
  --base-overlays BASE_OVERLAYS [BASE_OVERLAYS ...]
                        The base overlays potentially affected
  -o OUTPUT_FILE, --output-file OUTPUT_FILE
                        The output file pathExampleManuallypython-mget-changed-kustomize-overlays--changed-filesfolder1/file1.yamlfolder2/file2.yaml--base-overlaysfolder1/kustomization.yamlfolder2/kustomization.yamlGitLab CIOVERLAYS=$(find.-regex'.*/overlays/[a-z]*/kustomization.yaml'|tr'\n'' ')CHANGED_FILES=$(gitdiff--name-only$CI_MERGE_REQUEST_TARGET_BRANCH_SHA$CI_MERGE_REQUEST_SOURCE_BRANCH_SHA|tr'\n'' ')python-mget-changed-kustomize-overlays--changed-files$(echo$CHANGED_FILES)--base-overlays$(echo$OVERLAYS)External dependenciesIt is not possible to check for changes in external dependencies in CI pipelines that are triggered by merge requests,
you should use tags or SHAs to signify changes in external dependencies.---
 apiVersion: kustomize.config.k8s.io/v1beta1
 kind: Kustomization

 resources:
 - https://github.com/ORGANIZATION/REPOSITORY.git//PATH_INSIDE_REPO?ref=<TAG/SHA>
Package: get-chefkoch
get_chefkochPython library to interact with Chefkoch.Examples:fromget_chefkochimportRecipe,Searchs=Search("Apfelstrudel")recipe=s.recipes(limit=1)print(recipe.name)print(recipe.description)fromget_chefkochimportRecipe,Searchrecipe=Search().recipeOfTheDay()print(recipe.name)print(recipe.description)Recipe-Class Parameters:name              Name of the recipe
 id                Unique identification of the recipe
 description       Description of the recipe
 image             Url of a beautiful picture of the recipe
 ingredients       Recipe ingredients
 category          Recipe category
 prepTime          Preparation time
 totalTime         Total Time
 cooktime          Cooking time
 
 Many more parameters are available after calling Recipe().data_dump()Features:Query the recipe of the daySearch for specific recipeQuerying information about a recipe(cooking time, description, ingredients, ...)Use the automatic suggestions from ChefkochGet it now:pip install get-chefkoch
Package: getchinamap
# 获得中国地图数据## 目的本包主要是为了解决获得中国地图数据难的问题，这里提供一个python的解决方案。让大家用中国地图更加宽心、方便。## 本包特点简单；高效；准确（相对网络上的数据，中国地图数据更加准确）；完整（数据完整，包括中国各个区域；并且可以让用户下钻到县区级别）## 数据来源本包查询到的数据全部来源于 阿里云的`DataV<http://datav.aliyun.com/portal/school/atlas/area_selector>`_因此数据基本上和高德地图保持一致；## 使用声明请合理使用地图数据；数据内容和本人无关；数据具体用途也和本人无关；## 使用方式https://github.com/yuanzhoulvpi2017/chinamap
Package: getchlib
getchlib - library for reading key pressesOverviewgetchlibis library for reading key presses and assigning hotkeys.FeaturesFull Unicode supportBlocking and non-blocking key press readingCross-platform supportBasic hotkeys (CTRL-VorALT-A) are definedNot interruptable key press reading support ( cannot be interrupted byCTRL-C, returns key code instead )Keys like arrow up, arrow left, arrow down, arrow right are defined (for full list, view getchlib.keynames.raw)Installationpip install getchlibUsageKey PressesBlockingimportgetchlibkey=getchlib.getkey()Waits until user presses a key.Non-Blockingimportgetchlibkey=getchlib.getkey(False)Returns first key pressed in time specified by its second argumenttout( 0.01 by default ).Not interruptableimportgetchlibkey=getchlib.getkey(catch=True)Echo argument (new in v1.0.3)Withecho=Truecharacters readed are echoed to the screen.key=getchlib.getkey(echo=True)Hotkeysimportgetchlibdeffunction():print('hello')f=getchlib.HotKeyListener()f.add_hotkey('ctrl-x',function)f.start()Not interruptableimportgetchlibdeffunction():print('hello')f=getchlib.HotKeyListener(catch=True)f.add_hotkey('a',function)f.start()Licensegetchlibis licensed underGPL License
Package: getchoice
getchoiceA simple library to allow a user to select from a list of options on the command line. Likepick, but with two major differences:getchoiceis intended for use alongsidepython prompt toolkit; its output can be styled using PPT-style(styling, text)format.getchoicedoes not usecurses, and does not clear the screen when used.Install it from PyPI:pip install getchoicefromgetchoiceimportChoicePrinterfromdatetimeimportdatechoice_printer=ChoicePrinter(normal_style="green italic")items=[("February 1",date(2023,2,1)),("Pi Day",date(2023,3,14)),("Stanislav Petrov Day",date(2023,9,26))]choice_printer.getchoice(items,title="Select a date")This displays an interactive prompt menu for the choices, that the user can navigate with the arrow or j/k keys, and select and item with space or enter.choice_printer.getchoice()returns a tuple of the form(selected_index: int, selected_object)For further details, see thegetchoice/getchoice.pyfile; it's quite simple and hopefully unsuprising.
Package: get-chromedriver-py
Getchromedriver-pyversion most suitable for your system.For instance, you could use it with GitHub Actions to match
installedChromiumbrowser version with most suitable version
ofchromedriver-py.See the documentation for more information on what is provided.DocumentationDocumentation is available onRead the Docs.PrerequisitesPython 3.7, 3.8, 3.9, 3.10 and 3.11.InstallationInstall latest stable version from PyPI:pipinstallget-chromedriver-pyOr latest stable version from GitHub:pipinstallhttps://github.com/barseghyanartur/get-chromedriver-py/archive/main.tar.gzUsageget-chromedriverOr run it in a very verbose mode:get-chromedriver-vvvvTestingProject is covered with tests.To test with all supported Python versions type:toxTo test against specific environment, type:tox-epy39To test just your working environment type:pytestTo run a single test in your working environment type:pytesttest_get_chromedriver.pyTo run a single test class in a given test module in your working environment
type:pytesttest_get_chromedriver.py::GetChromedriverTestCaseIt’s assumed that you havechromiumbrowser installed. If not, install it
first.Writing documentationKeep the following hierarchy.=====
title
=====

header
======

sub-header
----------

sub-sub-header
~~~~~~~~~~~~~~

sub-sub-sub-header
^^^^^^^^^^^^^^^^^^

sub-sub-sub-sub-header
++++++++++++++++++++++

sub-sub-sub-sub-sub-header
**************************LicenseMITSupportFor any security issues contact me at the e-mail given in theAuthorsection.
For overall issues, go toGitHub.AuthorArtur Barseghyan <artur.barseghyan@gmail.com>
Package: get-cli
get-cliA simple unsafe cli tool to store and fetch data locally.Need to fill in your parents zipcode on an online form?Need to paste your linkedin profile on a job application?Fetch them quickly from your terminal!The value will be copied to your clipboard, and you can paste it BLAZINGLY FAST! :)Dependenciespython 3.8+Install$pipinstallget-cliQuick start$get helloworldDocsUsage:get[OPTIONS][KEY]COMMAND[ARGS]...

Asimpleunsafetooltostoreandfetchvalueslocally.key[KEY]Retrievevaluebykey

Options
-------
--add-aTEXTCreate/updateakey-valueinthefollowingformatkey:value.Batchsupport:-akey1:value1-akey2:value2.Donotusecolons(:)inyourkeynames.Overridesifkeyalreadyexists.
--list-keys-lk,-lListallkeys
--list-items-liListallitems(key-values)--edit-with-eTEXTEditstorage(.get.yml)withyourfavouriteeditor.Testedwithvim,nano,code.

--install-completionInstallcompletionforthecurrentshell.
--show-completionShowcompletionforthecurrentshell,tocopyitorcustomizetheinstallation.
--version-vShowtheapplication'sversion
--helpShowthismessageandexit.Tested onmacOS + Windowspython 3.8+Currently does not support linux, possible extra packages need to be installed:https://pyperclip.readthedocs.io/en/latest/index.html#not-implemented-errorDevelop locallySetup environmentbrew install pyenvpyenvpyenv install 3.11(or 3.8 and above)install poetrypython -m venv .venvsource .venv/bin/activatepoetry installRunTests:poetry run python -m unittestRun:poetry run python get_cliPublish to pypipoetry publish --build(Don't forget to bump the version inpyporject.toml)
Package: get-code-from-markdown
get_code_from_markdownExtract code from within triple-quotes (```) in markdown files (code blocks).Run the extracted code usingexec()orsubprocess.run.Getting code blocks from markdown filesfromget_code_from_markdownimport*blocks=get_code_from_markdown(["# get_code_from_markdown","```python","print('hello world')","```"])# orblocks=get_code_from_markdown_filename("README.md",language="python")# orwithopen("README.md","r")asf:blocks=get_code_from_markdown_file(f,language="python")Thelanguageparameter defaults topythonRunning code blocks from markdown filesYou can use a subprocess or just exec the code to see if it works.fromget_code_from_markdownimport*blocks=["print('hello world')"]# run function uses exec() by defaultrun_code_from_markdown_blocks(blocks)# you can choose to use subprocess output instead# this will use python3 by defaultrun_code_from_markdown_blocks(blocks,method=RunMethods.SUBPROCESS)# give arguments to specify a different commandrun_code_from_markdown_blocks(blocks,method=RunMethods.SUBPROCESS(["python3","-c"]))Format of outputted code blocksThe format is a list of\n-delimited strings, each representing a block of code from the parsed markdown file. You can split the code blocks further into individual lines of code withstring.split("\n")LegalThis is a derivative work ofCodeblockswhich provides a simpler version with less dependencies. It is covered by the same Apache license (seeLICENSEfile in this git repo). Use Codeblocks for its CLI and automatic formatting features.
Package: getcohorts
GetCohortsGetCohorts provides an endpoint that will randomly determine a cohort for a user in an A/B test, and is gauranteed to always assign the same user to the same cohort for the same experiment.>>>importrequests>>>resp=requests.get('http://api.getcohorts.com/v1/cohorts',json={...'identifier':'user1',...'experiment':'homepage-test'...})>>>print(resp.json()['cohort'])experimentalMore details on using the service are available on the documentation site.DocumentationAPI ReferenceQuickstartGetCohorts provides a web service athttp://api.getcohorts.comthat you can use for testing. But that service runs on Heroku's free tier, and can occasionally have slow response times. So we recommend that you deploy GetCohorts yourself.Deploy with Dockerdockerrun--publish8000:8000tjwaterman99/getcohortsDeploy to HerokuYou can also deploy to Heroku directly with the button below.Deploy from PyPIYou can also download the Python package from PyPI and deploy yourself. For instructions, see the docs section ondeploying with pypi.DevelopmentClone this repo.gitclonehttps://github.com/tjwaterman99/getcohorts.gitInstall the package's dependencies. This will also installgetcohortsin editable mode.pip install -r requirements.txtRun the uvicorn server locally in development mode.uvicorn getcohorts.web:app --host 0.0.0.0 --port 8000 --reloadTestingRun the tests with pytest. Note that the tests assume the webserver is running locally on port 8000, and they will fail if you have not started the webserver.pytestYou can run the github CI workflows locally if you haveactinstalled.actDocumentationBuild the docs with mkdocs. The site is available at0.0.0.0:8000.mkdocs serve
Package: getCoingeckoData
This is an utility to download and update Coin Gecko data on a local
hard disk. you can specify what coins data you want to download, how
frequently. By default it will download data for all coins with maximum
precision. Unfortunately coingecko does not set automatically the time
resolution of its data. The older the data the coercer resolution. Once
the programme has started it will update the file latest fine grained
data.LicenceGNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007