Saravanan666/pypi-org huggingface dataset:
Package: get-some-ncbi-genomes
get-some-ncbi-genomesInstallationpip install get-some-ncbi-genomesUsageDownload one or more NCBI genomes, given accession.Build a CSV file containing download info:get-some-ncbi-genomes GCA_002440745.1 --csv xyz.csvDownload the genome files directly:get-some-ncbi-genomes --output-dir genomes/ --download-genomes GCA_002440745.1Use the sourmash plugin to download genome files and make an info.csv:sourmash scripts get-genomes GCA_002440745.1SupportWe suggest filing issues inthe main sourmash issue trackeras that receives more attention!Dev docsget-some-ncbi-genomesis developed athttps://github.com/ctb/get-some-ncbi-genomes/TestingRun:pytest testsGenerating a releaseBump version number inpyproject.tomland push.Make a new release on github.Then pull, and:python -m buildfollowed bytwine upload dist/....
Package: getsong
A Python program which uses BeautifulSoup and Youtube-dl to download a
song from youtubeThe result will be stored in the current working directory.Usageusage: getsong [-h] [-y] [-m] [-p] [-u] [-q] [-i ID] [--artist ARTIST]
               [--title TITLE] [--album ALBUM]
               term

positional arguments:
  term              Youtube search term

optional arguments:
  -h, --help        show this help message and exit
  -y, --yes         Skip prompt
  -m, --musicvideo  Get first result for <term>, not '<term> lyrics'
  -p, --print-path  Prints path to file to stdout, so you can pipe it to a
                    command or play the file or something
  -u, --print-url   Prints URL to stdout without downloading the audio track
  -q, --quiet       Hides youtube-dl output. Still shows y/n prompt if not
                    hidden by -y
  -i ID, --id ID    Skip search, lookup ID. Use "" for the search term instead
  --artist ARTIST   Uses Mutagen to write the artist information to the output
                    file
  --title TITLE     Uses Mutagen to write the title information to the output
                    file
  --album ALBUM     Uses Mutagen to write the album information to the output
                    file

Track numbering currently unsupported by mutagenInstallationViapip:pip3 install getsongAlternatively:Clone the repository,cd getsongRunpython3 setup.py installorpip3 install-effmpeg(oravconv) is suggested to fix the container on the
downloaded audio.
Package: get-spotlights
Get SpotlightsDescriptionLove windows 10 spotlight images that show up on lock-screen. Then here's a simple program to copy those images and get them in your preferred directory.InstallationInstalling pythonYou will need python 3 installed and available on PATH.To do that clickhereto go to python downloads page, and download python.Now, open the downloaded installer, selectAdd Python 3.* to PATHas shown below, and clickInstall NowInstalling spotlights appNow, Open command prompt, by searchingcmdand pressing enter as followsEnterpython -m pip install get-spotlightsinside it.All set!UsageInside command prompt,Enterget-spotlights-guito start the app.If default settings seem sound to you, go ahead and clickGet Spotlightsbutton.Enterget-spotlights --helpto get help if you wish to use it completely from command line.Command line usage examples -get-spotlights "C:/Users/YourUserName/Pictures/"get-spotlights "C:/Users/YourUserName/Pictures/" --no-split
Package: getsshpubkey
getsshpubkeyGets public ssh keyThis extension is composed of a Python package namedgetsshpubkeyfor the server extension and a NPM package namedgetsshpubkeyfor the frontend extension.RequirementsJupyterLab >= 3.0InstallTo install the extension, execute:pipinstallgetsshpubkeyUninstallTo remove the extension, execute:pipuninstallgetsshpubkeyTroubleshootIf you are seeing the frontend extension, but it is not working, check
that the server extension is enabled:jupyterserverextensionlistIf the server extension is installed and enabled, but you are not seeing
the frontend extension, check the frontend extension is installed:jupyterlabextensionlistContributingDevelopment installNote: You will need NodeJS to build the extension package.Thejlpmcommand is JupyterLab's pinned version ofyarnthat is installed with JupyterLab. You may useyarnornpmin lieu ofjlpmbelow.# Clone the repo to your local environment# Change directory to the getsshpubkey directory# Install package in development modepipinstall-e.# Link your development version of the extension with JupyterLabjupyterlabextensiondevelop.--overwrite# Server extension must be manually installed in develop modejupyterserverextensionenablegetsshpubkey# Rebuild extension Typescript source after making changesjlpmbuildYou can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.# Watch the source directory in one terminal, automatically rebuilding when neededjlpmwatch# Run JupyterLab in another terminaljupyterlabWith the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).By default, thejlpm buildcommand generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:jupyterlabbuild--minimize=FalseDevelopment uninstall# Server extension must be manually disabled in develop modejupyterserverextensiondisablegetsshpubkey
pipuninstallgetsshpubkeyIn development mode, you will also need to remove the symlink created byjupyter labextension developcommand. To find its location, you can runjupyter labextension listto figure out where thelabextensionsfolder is located. Then you can remove the symlink namedgetsshpubkeywithin that folder.Testing the extensionServer testsThis extension is usingPytestfor Python code testing.Install test dependencies (needed only once):pipinstall-e".[test]"To execute them, run:pytest-vv-rap--covgetsshpubkeyFrontend testsThis extension is usingJestfor JavaScript code testing.To execute them, execute:jlpm
jlpmtestIntegration testsThis extension uses Playwright for the integration tests (aka user level tests).
More precisely, the JupyterLab helperGalatais used to handle testing the extension in JupyterLab.More information are provided within theui-testsREADME.Packaging the extensionSeeRELEASE
Package: getstanza
Stanza Python SDKStanza is a developer-first tool for increasing reliability based on prioritized traffic management, quota allocation, and rate-limiting. On the back-end, it helps prevent downtime related to overload and excessive use of third-party APIs. On the front-end, it helps segment and weight your traffic, react automatically to overload or other conditions, and inspect the state of your critical user journeys."Stanza Python SDK" provides higher-order functions ("guards") for adding this fault tolerance to your python 3.9+ application.InstallationThe SDK is available on the Python Package Index (PyPI). You can install them via pip with the following command:pipinstallgetstanzaConfigurationTo usesdk-python, you'll need to import thegetstanzapackage and initialize it with aStanza API Keyand other options.If not specified in the SDK initialization, the API Key, Service Name, Service Release, and Environment are read from the environment variablesSTANZA_API_KEY,STANZA_SERVICE_NAME,STANZA_SERVICE_RELEASE, andSTANZA_ENVIRONMENT, respectively.For more information, see theInitialize Stanza section of our Python SDK documentation.UsageThe SDK supports weighted, prioritized, global rate limiting which is externally managed by theStanza Dashboard.Thesamples/fastapidirectory is a good place to start! (It's an example application which shows how to wrap inbound and outbound HTTP traffic withStanza Guards.)Or browse theOfficial Stanza Documentationfor more info on how to get started.CommunityJoinStanza's Community Discordto get involved and help us improve the SDK!
Package: getsubtitle
getsubtitle下载pip install getsubtitle使用说明搜索规则getsubtitle会抽取视频名中包含的一下信息进行多次组合搜索，直到候选字幕包数达到设定值（默认为 10 条，可以通过-n参数设定）。美剧名（电影名）剧集信息（美剧）年份（电影）分辨率视频格式音频编码格式压制组信息如视频名为Game.of.Thrones.s07e01.1080p.web.h264-tbs.mkv， 所有组合如下，按搜索顺序先后排列：Game of Thrones s07 e01 1080p WEB-DL tbs
Game of Thrones s07 e01 1080p WEB-DL
Game of Thrones s07 e01 1080p
Game of Thrones s07 e01
Game of Thrones s07
Game of Thrones如视频名为The.Notebook.2004.720p.BluRay.x264.AC3.3Audio-HDWinG.mkv， 所有组合如下，按搜索顺序先后排列：The Notebook 2004 720p BluRay 3Audio-HDWinG
The Notebook 2004 720p BluRay
The Notebook 2004 720p
The Notebook 2004
The NoteBook标准视频名：全英文组成，包含美剧名（电影名）， 分辨率， 视频格式， 音频编码格式， 压制组等信息。如：Game.of.Thrones.s07e01.1080p.web.h264-tbs.mkv，T2_ Trainspotting (1080p HD).mp4其余视频名：其余一般为包含了中文的视频名。对于包含中文的视频名：若视频名的美剧名（电影名）中中文字数大于英文字数，选取中文作为视频的 title若视频名的美剧名（电影名）中英文字数大于等于中文字数，选取英文作为视频的 title其中若名称中英混合，只能作简单过滤中文（英文）字符。若视频名为[SPS辛普森一家字幕组].[丑陋的美国人.第一季].Ugly.Amricans.S01E01.rmvb这类， 无法抽取准确的名称。下载来源关于下载来源，现在首选是从subhd下载字幕，若搜索结果数太少，会继续搜索zimuzu、zimuku的字幕。关于下载频率，zimuzu 与 zimuku 目前都没有明显的下载频率限制，拖入一个视频文件夹下载一般不会报错。而 subhd 有下载频率限制，一般每次只能下载一两个视频的字幕，之后需要滑动验证码验证。若下载出现 unknown error，可能就是下载频率过高，可以等一段时间再试。
Package: get-summary
Keyboard press count and Mouse event countA Python package which will hepls you to get summary report of any webpage content or simply pass some content and get summaryUsagesimply import 
open terminal and run python then

import nltk
nltk.download('punkt')
nltk.download('stopwords')from get_summary import createsummary

AND THEN

pass some text over
contents = "your text or content"
n = number of paragraph

summary = createsummary.summarize()
summary = summary.get_summary(contents, n)
print(summary)Get Summary
Package: getsynthpy
License:Apache v2.0Documentation:https://openquery-io.github.io/synthpy/Homepage:https://getsynth.comWhat is this?This isSynth! A fast and highly
configurableNoSQL synthetic data engine. It reconciles the two
worlds ofsynthetic dataandtest databy letting users generate
realistic synthetic data for testing their applications and ML models.What can I do with this?WithSynthyou can:Anonymize sensitive data easily.As simple as JSON-in/JSON-out. If you're not happy with the result,
simply tweak the synthetic data model with a custom JSON metadata
format andSynthwill adjust everything on the fly, no
additional ETL required.Augment your datasets with synthetic data.For those times when you already have some data but just not enough
of it to do what you need to do. It can extrapolate from patterns
it finds in your data, so you can create as much of it as you want.Create entirely new fake data declaratively.You can even add you own set of constraints and logic to create
completely unseen scenario.How does it work?It has two components:synthd: a persistent process that ingests raw (usually
sensitive) training data and trains and builds synthetic data models
from it. Think of it as a NoSQL datastore that never persists actual
data, only anonymized model parameters.synthpy: our reference Python implementation for thesynthdAPI. This lets you leveragesynthdin
custom scripts and test harnesses.QuickstartHere is an end-to-end example using the Python client,synthpy.fromsynthpyimportSynth# Assuming `synthd` is running on `localhost` with default settingsclient=Synth("localhost:8182")withopen("my_users_data.json","r")asdata_f:documents=json.load(data_f)# Submit your JSON documents to `synthd` for trainingclient.put_documents(namespace="app",collection="users",batch=documents)# Generate 100 new synthetic userssynthetic_users=client.get_documents(namespace="app",collection="users",size=100)Want to know more?As of now, only the Python client forSynthis free and
open-source. But it is also on our roadmap to open-source big chunks
of the daemon,synthd, where the real magic happens! So
stay tuned!In the meantime, head over to ourdocumentationor hit us up
if you want togive Synth a try!
Package: get-template
# Get-Template
A simple tool use git repos as template for quick prototyping.## Installation`bash pip installget-template`## Usage
Before your first usage, you need to setget-templateto use a default remote source`bash template config set--default-sourcegit@gitlab:your_acount `Then pull your templates:`bash template init your_template_repo your_dest_directory `A new git repository will be initialize inyour_dest_directory.Thats all.
Package: gettestmail
python-sdkPython SDK for GetTestMailThis Python client library allows you to interact with the GetTestMail API, which provides a simple way to create temporary email addresses and receive messages sent to them.To use this library, you will need to have a GetTestMail account. If you don't have one, you can sign up for a freeaccount.InstallationpipinstallgettestmailUsagefromgettestmail.clientimportGetTestMailClient# optional parametersexpires_at="2023-04-01T00:00:00Z"client=GetTestMailClient("your-api-key")test_mail=client.create_new()print(test_mail.emailAddress)# This will wait for a message to be received up until expires_at timetest_mail=client.wait_for_message(test_mail.id)print(test_mail.message)ModelsGetTestMailThe GetTestMail model represents a disposable email address. It has the following attributes:id - The id of the email addressemailAddress - The email addressexpiresAt - The time at which the email address will expiremessage - The message received by the email addressMessageThe Message received by the email address. It has the following attributes:id - The id of the messagefrom - The sender of the messageto - The recipient of the messagesubject - The subject of the messagetext - Text representation of the messagehtml - HTML representation of the messageattachments - List of attachmentsAttachmentThe Attachment received by the email address. It has the following attributes:filename - The filename of the attachmentmimeType - The mime type of the attachmentcontent - The content of the attachmentAPI DocumentationTODOLicenseThis project is licensed under the MIT License. See the LICENSE file for details.
Package: get-text
Парсинг статей и новостей с сайтовПолучение теста статьи и новости с новостных сайтовБесплатно программное обеспечение: MIT licenseУстановка:https://github.com/NMelis/get_text/blob/master/docs/installation.rstГайд по использование:https://github.com/NMelis/get_text/blob/master/docs/usage.rst.В будущем[ ] Возможность указать файл со списком ссылок[ ] Работа с прокси серверами[ ] Возможность асинхронной работы при передаче файла с списком урлов[ ] Обработка изображении (как с ссылкой)[ ] Возможность рендринга html файла[ ] Json ответ[ ] Более продуманная логика получение текста (с подсчетом точек в текстах)History0.1.0 (2019-03-19)Первый релиз на PyPI.
Package: gettextcodecs
Get text codecsPython library for encodings.A singleget_text_codecsmethod is used for returning a python dict
with all available codec names for encoding or decoding text.
Dictionary keys are the default codec names
and each entry contains a single list with all aliases, if any.Installation & Usagepip installpip3install'gettextcodecs>=0.0.3'--upgradeUsageAfter installing the "library" you can import it and use it with:fromgettextcodecs.methodsimportget_text_codecscodec_names=get_text_codecs()Variablecodec_namesnow contains all available codec names
as dictionary keys and a list of their aliases as their value.
The list will be empty if no aliases exist.Parametersas_list: Optional. Get a single list with all possible codec names.
Package: get-the-hell-out-of-here
A function to remove control characters / non-printing characters from strings and binaries$pipinstallget-the-hell-out-of-herefromget_the_hell_out_of_hereimportremove_escaped_charactersimportnumpyasnptest1=np.array(["hi, my friend","are you fine?"]).tobytes()#lets create some test data#numpy as bytesb"h\x00\x00\x00i\x00\x00\x00,\x00\x00\x00\x00\x00\x00m\x00\x00\x00y\x00\x00\x00\x00\x00\x00f\x00\x00\x00r\x00\x00\x00i\x00\x00\x00e\x00\x00\x00n\x00\x00\x00d\x00\x00\x00a\x00\x00\x00r\x00\x00\x00e\x00\x00\x00\x00\x00\x00y\x00\x00\x00o\x00\x00\x00u\x00\x00\x00\x00\x00\x00f\x00\x00\x00i\x00\x00\x00n\x00\x00\x00e\x00\x00\x00?\x00\x00\x00"print(remove_escaped_characters(test1))#Result:  b'hi, my friendare you fine?'test2=b"h\\x00\\x00\\x00i\\x00\\x00\\x00,\\x00\\x00\\x00\\x00\\x00\\x00m\\x00\\x00\\x00y\\x00\\x00\\x00\\x00\\x00\\x00f\\x00\\x00\\x00r\\x00\\x00\\x00i\\x00\\x00\\x00e\\x00\\x00\\x00n\\x00\\x00\\x00d\\x00\\x00\\x00a\\x00\\x00\\x00r\\x00\\x00\\x00e\\x00\\x00\\x00\\x00\\x00\\x00y\\x00\\x00\\x00o\\x00\\x00\\x00u\\x00\\x00\\x00\\x00\\x00\\x00f\\x00\\x00\\x00i\\x00\\x00\\x00n\\x00\\x00\\x00e\\x00\\x00\\x00?\\x00\\x00\\x00"#double escapedprint(remove_escaped_characters(test2))# Result:   b'hi, my friendare you fine?'test3="h\x00\x00\x00i\x00\x00\x00,\x00\x00\x00\x00\x00\x00m\x00\x00\x00y\x00\x00\x00\x00\x00\x00f\x00\x00\x00r\x00\x00\x00i\x00\x00\x00e\x00\x00\x00n\x00\x00\x00d\x00\x00\x00a\x00\x00\x00r\x00\x00\x00e\x00\x00\x00\x00\x00\x00y\x00\x00\x00o\x00\x00\x00u\x00\x00\x00\x00\x00\x00f\x00\x00\x00i\x00\x00\x00n\x00\x00\x00e\x00\x00\x00?\x00\x00\x00"#as stringprint(remove_escaped_characters(test3))#Result: hi, my friendare you fine?test4="h\\x00\\x00\\x00i\\x00\\x00\\x00,\\x00\\x00\\x00\\x00\\x00\\x00m\\x00\\x00\\x00y\\x00\\x00\\x00\\x00\\x00\\x00f\\x00\\x00\\x00r\\x00\\x00\\x00i\\x00\\x00\\x00e\\x00\\x00\\x00n\\x00\\x00\\x00d\\x00\\x00\\x00a\\x00\\x00\\x00r\\x00\\x00\\x00e\\x00\\x00\\x00\\x00\\x00\\x00y\\x00\\x00\\x00o\\x00\\x00\\x00u\\x00\\x00\\x00\\x00\\x00\\x00f\\x00\\x00\\x00i\\x00\\x00\\x00n\\x00\\x00\\x00e\\x00\\x00\\x00?\\x00\\x00\\x00"#as string - double escapedprint(remove_escaped_characters(test4))#Result: hi, my friendare you fine?
Package: getTimer
# getTimer#### Alpha VersionPython utilities library for getting time inputs from users in CLI Apps as datetime objects.#### Installation```$ pip install getTimer```#### Examples```>>> date = getTimer.getUserDate()>>> datedatetime.date(2016, 2, 12)>>> date.day12```getTimer makes it easy to get properly formatted date, time, and datetime python objects from your users in Command Line Interface applications. Users may use either the arrow keys or their numeric keypad to enter data.![basic_usage](https://raw.githubusercontent.com/maxwellgerber/getTimer/master/gifs/basic_usage.gif)developers using the module can edit the top string, bottom string, and initial time shown to the user![customizable](https://raw.githubusercontent.com/maxwellgerber/getTimer/master/gifs/customizable.gif)rollover mode can be enabled or disabled as necessary![rollover](https://raw.githubusercontent.com/maxwellgerber/getTimer/master/gifs/rollover.gif)#### UsageThe module currently contains three functions:`getTimer.getUserDate(topString = 'Input your Date', bottomString = 'Press Enter when done', rollover = False, start = None)`* returns a python datetime.date object containing the user's input* topString and bottomString controll text displayed to user* rollover controlls behavior of widget* start must be a datetime.date object. Defaults to datetime.date.today()`getTimer.getUserTime(topString = 'Input your Date', bottomString = 'Press Enter when done', rollover = False, start = None)`* returns a python datetime.time object containing the user's input* topString and bottomString controll text displayed to user* rollover controlls behavior of widget* start must be a datetime.time object. Defaults to datetime.time()`getTimer.getUserDateTime(topString = 'Input your Date', bottomString = 'Press Enter when done', rollover = False, start = None)`* returns a python datetime.datetime object containing the user's input* topString and bottomString controll text displayed to user* rollover controlls behavior of widget* start must be a datetime.datetime object. Defaults to datetime.datetime.now()#### Todo- [ ] 12 hour AM/PM timestamp- [ ] verbose option (e.g. print month names instead of int)- [ ] Integration testing?- [ ] Enable rollover between date and time in getUserDateTime
Package: gettimestamp
A function to get a Timestamp string in the format YYYY_MM_DD_HH_MM_SS_microseconds ('_' can be defined)pip install gettimestampTested against Windows 10 / Python 3.10 / AnacondaThe function takes an optional sep argument,
which represents the separator character used in the timestamp string.
By default, the separator is set to "_".The function utilizes the datetime module to retrieve the current date and time.
It formats the timestamp using the provided separator and
includes the year, month, day, hour, minute, second, and microseconds.The resulting timestamp string is returned by the function.
However, if the separator is set to "ÇÇÇÇSXÇX",
a ValueError is raised to prevent the use of that specific separator.Args:sep(str,optional):Separatorcharactertouseinthetimestampstring.Defaultsto"_".Returns:str:Timestampstringintheformat"YYYY_MM_DD_HH_MM_SS_microseconds".Raises:ValueError:Raisedwhentheseparatorissetto"ÇÇÇÇSXÇX".Example:fromgettimestampimportget_timestamp>>>get_timestamp()'2023_06_26_15_30_45_123456'>>>get_timestamp("-")'2023-06-26-15-30-45-123456'
Package: getting-started-with-openstack
A little project to quickly set up all-in-one OpenStack using VagrantIntroductionThe Vagrantfile provided in this project will download and launch a
CentOS 7 Vagrant Box, install RDO, and provide you an environment to
follow along with in the originalGetting Started With
OpenStackvideo. These are the same (updated) materials used to present that
session.RequirementsYour machine must meet a minimum set of requirements to successfully run
an all-in-one OpenStack installation. At a minimum you need:A compatible hypervisor.Linux: KVM, Virtual Box.OS X: VMware Fusion, Virtual Box.Windows: VMWare Workstation, Virtual Box.Vagrant to control your hypervisor, along with supported provider.At least 8 GB of RAM to support a 6 GB virtual machine.12 GB or more to support an 8 GB virtual machine is highly
recommended.Installing OpenStackInstall Vagrant from:https://www.vagrantup.com/docs/installation/Download this repository:git clonehttps://github.com/hogepodge/getting-started-with-openstackStart the virtual machine and install OpenStack:$ cdgetting-started-with-openstack;vagrant upWait for the machine startup and installation to complete, it will
take some time.Pausing the InstallationTo suspend your installation you can use:$ vagrant haltTo resume it:$ vagrant upTroubleshootingIf you have trouble, please file a issue or pull request and we’ll help
you out as quickly as possible.If your vagrant environment fails for any reason, you can start off with
a clean slate by destroying the VM:$vagrant destroy-fThen beginning the process again with$vagrant up.AcknowledgmentsThanks to Dan Radez for the initial content, and to both him and Kenneth
Hui for the introductory presentation at the Austin OpenStack Summit.
Package: gettmpmail
Generates temporary emailspip install gettmpmailfromgettmpmailimportget_tmp_emaildf=get_tmp_email(n=2,timeout=5,imapfile=None)print(df)q=df.aa_checkmail.iloc[0]()print(q)r"""aa_id  ...                                    aa_fullname_adb0  64169847610fe899xxxeb803  ...  (sleep 0.001, input text V, sleep 0.001, input...1  6416984865f9fcd7xxxx2be8  ...  (sleep 0.001, input text J, sleep 0.001, input...[2 rows x 7 columns]{'@context': '/contexts/Message', '@id': '/messages', '@type': 'hydra:Collection', 'hydra:member': [], 'hydra:totalItems': 0}"""
Package: gettsim
GETTSIM provides a depiction of the German Taxes and Transfers System that is usable in
a wide array of research applications, ranging from complex dynamic programming models
to detailed microsimulation studies.GETTSIM is implemented in Python, thereby achieving both user-friendliness and
flexibility. All features are extensively tested.You can install GETTSIM via conda with$condainstall-cconda-forgegettsimThe documentation is available athttps://gettsim.readthedocs.io. If you want to use
it or help out in its development, feel free to get in touch! The ideal ways are to open
an issue if you find a bug or something does not work as expected, or by joining our
Zulip Chat athttps://gettsim.zulipchat.com.Initiated by