Saravanan666/pypi-org huggingface dataset:
Package: goodorfs
IntroductionGOODORFS is a tool to classify open reading frames into coding and noncodingIt takes as input a fasta file representing the entire genome.  It then finds all potential open reading frames, and then for each, calculates the Energy Density Profile from the amino acid frequency.To installGOODORFS,git clone https://github.com/deprekate/goodorfs.git
cd goodorfs
python3 setup.py installTo runGOODORFSsimply provide the path to a fasta file.  The default output is the same format as Glimmers LONGORFS program, in order to serve as a drop in replacement.
The columns are: orf_id, start_location, stop_location, frame, a bunch of zeros as filler$ goodorfs.py tests/NC_001416.fna
00001     191     736  +2   0.000
00002     711    2636  +3   0.000
00003    2633    2839  +2   0.000
00004    3270    2830  -1   0.000
00005    2836    4437  +1   0.000
00006    5095    4604  -2   0.000
00007    4283    5737  +2   0.000
...AdditionallyGOODORFScan also output the nucleotide sequences in fasta format for use in other applications:$ good-orfs.py -Y fna tests/NC_001416.fna | head
>NC_001416_orf1 [START=191] [STOP=736]
ATGGAAGTCAACAAAAAGCAGCTGGCTGACATTTTCGGTGCGAGTATCCGTACCATTCA...
>NC_001416_orf2 [START=711] [STOP=2636]
GTGAATATATCGAACAGTCAGGTTAACAGGCTGCGGCATTTTGTCCGCGCCGGGCTTCG...
>NC_001416_orf3 [START=2633] [STOP=2839]
ATGACGCGACAGGAAGAACTTGCCGCTGCCCGTGCGGCACTGCATGACCTGATGACAGG...
>NC_001416_orf4 [START=3270] [STOP=2830]
GTGCATGGCCACACCTTCCCGAATCATCATGGTAAACGTGCGTTTTCGCTCAACGTCAA...
...
Package: goodplay
goodplay is an Apache2-licensed test framework for testing Ansible 2.x roles
and playbooks as well as running full integration tests for your software.Featuresdefine your test environments viaDocker ComposeandAnsible inventorieswrite your tests asAnsible 2.x playbook tasksresolve and auto-install Ansible role dependencies prior to test runrun your tests withinDockercontainer(s), an already existing test
environment, or on localhostbuilt as apytestplugin to have a solid test runner foundation,
plus you can run your goodplay tests together with your other testsVersioninggoodplay will useSemantic Versioningwhen reaching v1.0.0.
Until then, the minor version is used for backwards-incompatible changes.InstallationInstalling goodplay is simple withpip, just run this in your terminal:$pipinstallgoodplayContributingCheck for open issues or open a fresh issue to start a discussion around a
feature idea or bug.Forkthe repositoryon GitHub to start making your changes to themasterbranch (or branch off of it).Write a test which shows that the bug was fixed or that the feature works
as expected.Send a pull request. Make sure to add yourself toAUTHORS.Just don’t forget to check out ourCONTRIBUTINGguidelines — it includes
few technical details that will make the process a lot smoother.
Package: goodreads-api-client
A lightweight wrapper around the Goodreads APIInstallation$pipinstallgoodreads_api_clientUsage>>>importgoodreads_api_clientasgr>>>client=gr.Client(developer_key='<YOUR_DEVELOPER_KEY>')>>>book=client.Book.show('1128434')>>>keys_wanted=['id','title','isbn']>>>reduced_book={k:vfork,vinbook.items()ifkinkeys_wanted}>>>reduced_book{'id':'1128434','title':'The Last Wish (The Witcher, #1)','isbn':'0575077832'}ResourcesGoodreads API DocsRationaleThere are a number of Goodreads API wrapper libraries out there, but most are
either abandoned or the code is some combination of odd, undocumented,
untested, or incomplete in its API coverage.ContributingTo install locally$makeinstallAnd to test$maketest
Package: goodreads-export
Export goodreads books into markdown files (Obsidian etc)Transform your goodreads.com book reviews into structured markdown files,
ideal for use inObsidianand other markdown-based applications.Goodreads Book Page Links:Each markdown file contains a direct link to the corresponding book's page on Goodreads.Calibre Integration:Includes aCalibreURL for each book, allowing quick searches
in your local Calibre collection.Tagging Based on Goodreads Shelves:Reviews are automatically categorized with tags derived from your Goodreads shelves.Customizable Templates:Utilizing Jinja2 templates, the output format can be easily customized to suit your specific needs or preferences.User manualgoodreads-exportDevelopersCodebase structureAuto-generated reference.Create / activate environment. ./activate.shIt will also install the package inedit mode.Setting Up Pre-commit for Formatting and Static ChecksInstall Pre-commit:pipinstallpre-commitConfigure Pre-commit:pre-commitinstallThis sets uppre-commitin your local environment to run the same static checks as thestaticGitHub Action.Scriptsmake helpCoverage reportCodecovCoveralls
Package: goodreads_quotes
A Python module to fetch popular quotes and quote of the day fromGoodreadspage.DependenciesThis package depends on the following packages:requestslxmluThey can be installed usingpip.sudo pip install -r requirements.txtInstallationYou will need [Python 3](https://www.python.org/download/).[pip](http://pip.readthedocs.org/en/latest/installing.html) is recommended for installing dependencies.sudo pip install goodreads_quotesGetting Startedfromgoodreads_quotesimportGoodreadsprint(Goodreads.get_popular_quotes())print(Goodreads.get_popular_quotes_as_json())print(Goodreads.get_daily_quote())print(Goodreads.get_daily_quote_json())FeaturesPopular quotesDaily quoteContributionFeel free to create a Github issue. Also, you are more than welcome to submit
a pull request for a bug fix or additional feature.LicenseMIT License
Package: goodreads-to-sqlite
goodreads-to-sqliteSave data from Goodreads to a SQLite database. Can save all your public shelves and reviews, and also the public reviews
and shelves of other people.How to install$ pip install goodreads-to-sqliteAdd the-Uflag to update. Change notes can be found in theCHANGELOGfile, next to this README.AuthenticationCreate a Goodreads developer token:https://www.goodreads.com/api/keysRun this command and paste in your token and your profile URL:$ goodreads-to-sqlite authThis will create a file calledauth.jsonin your current directory containing the required value. To save the file at
a different path or filename, use the--auth=myauth.jsonoption.Retrieving booksThebookscommand retrieves all of the books and reviews/ratings belonging to you:$ goodreads-to-sqlite books goodreads.db rixxYou can specify the user to target, to fetch books on public shelves of other users. Please provide either the user ID
(the numerical part of a user's profile URL), or the name of their vanity URL.$ goodreads-to-sqlite books goodreads.db rixxSometime in 2018 or 2017, Goodreads started leaving out some "read_at" timestamps in their API. If you want to include
these datapoints regardless, you can add the--scrapeparameter, and the dates will be scraped from the website.
This will take a bit longer, by maybe a minute depending on the size of your library.$ goodreads-to-sqlite books goodreads.db --scrapeTheauth.jsonfile is used by default for authentication. You can point to a different location ofauth.jsonusing-a:$ goodreads-to-sqlite books goodreads.db rixx -a /path/to/auth.jsonLimitationsThe order of books in shelves is not exposed in the API, so we cannot determine the order of the to-read list.Goodreads also offers a CSV export, which is currently not supported as an input format.Since the Goodreads API is a bit slow, and we are restricted to one request per second, for larger libraries the
import can take a couple of minutes.The script currently re-syncs the entire library instead of just looking at newly changed data, to make sure we don't
lose information after aborted syncs.ThanksThis package is heavily inspired bygithub-to-sqlitebySimon
Willison.The terminal recording above was made withASCIInema.
Package: goodreads-user-scraper
Goodreads User ScraperContentsUsageArguments--user_id--output_dir--skip_user_info--skip_shelves--skip_authorsTroubleshootingDevelopmentPublishingUsageUsingpip:pipinstallgoodreads-user-scraper
goodreads-user-scraper--user_id54739262--output_dirgoodreads-dataUsingpipx:pipxrungoodreads-user-scraper--user_id54739262--output_dirgoodreads-dataArguments--user_idDescription: The user whose data should be scraped. Find your user id usingthese directions.Required: Yes--output_dirDescription: The directory where all scraped data will be output.Required: NoDefault:goodreads-data--skip_user_infoDescription: Whether the script should skip scraping user information.Required: NoDefault:False--skip_shelvesDescription: Whether the script should skip scraping shelves.Required: NoDefault:False--skip_authorsDescription: Whether the script should skip scraping authors.Required: NoDefault:FalseTroubleshootingEnsure that your profile is viewable by anyone:Navigate to theGoodreads Account SettingspageClick on theSettingstabIn thePrivacysection, under theWho Can View My Profilequestion, select "anyone"DevelopmentClone theGitHub repositorygitclonehttps://github.com/YashTotale/goodreads-user-scraper.gitRun theinstall scriptshscripts/install.shMake changesRun thetest scriptshscripts/test.shPublishingCreate.envTWINE_USERNAME=<foo>
TWINE_PASSWORD=<bar>Run thepublish scriptshscripts/publish.sh<patch|minor|major>
Package: good-smell
Good Smell - it makes your code smell good!A linting/refactoring library for python best practices and lesser-known tricksThis Tool tries to find bits of code that are possible to make more pythonic, more beautiful by using the language features and standard library functions you might not know aboutFor example
Directly nested for loops (nested-for)foriinseq_a:forjinseq_b:print(i,j)will be flattened to a nested comprehensionfori,jin((i,j)foriinseq_aforjinseq_b):print(i,j)For a full list - check the list ofimplemented smellsInstalling:pipinstallgood_smellUsage (Is likely to change when version 1.0 is released):To issue warnings, good_smell installs itself as aflake8plugin with error codes starting with SML.To automatically fix the code usegood_smell fix:good_smellfixPATH>PATH
good_smellfixPATH[--starting-lineSTARTING_LINE][--end-lineEND_LINE]DevelopingSeecontributing guide
Package: goodwan-client
GoodWan python clientGoodWan IoT python clientGetting Startedimportdatetimefromgoodwan_clientimportClient# Use system/pytz timezone name e.g. Europe/Moscowclient=Client("login","password","timezone")t_from=datetime.datetime(2019,1,1,0,0,0)t_to=datetime.datetime(2019,3,1,23,59,59)events=client.events(t_from=t_from,t_to=t_to)# events is a list of goodwan_client.event.Event classforeventinevents:print(event)"""<goodwan_client.event.Event id_event=123123123, id_system=0, id_transmitter=123,data_type=101, data=2525.0, data_ext=0.0, signal_lvl=0,timestamp=2019-02-28 05:15:22+03:00,device=<goodwan_client.devices.TempSensor data=2525.0, data_ext=0.0, temp=2525.0>,device_name=temp_sensor>"""For more info, see classes goodwan_client.event.Event and goodwan_client.devices.*PrerequisitesPython >= 3.5Installingpipinstallgoodwan_clientAuthorsDmitry Konovalov-Initial work-kanavisLicenseThis project is licensed under the MIT License - see theLICENSE.mdfile for details
Package: goodway-configs
Goodway ConfigsThis library contains utilities to work with configs in a good way.Installationpip install goodway-configsGetting StartedThe following code usesMultiConfigLoaderandJsonConfigLoaderto combine two config files together.frompathlibimportPathfromgoodway_configs.config_loader.json_loaderimportJsonConfigLoaderfromgoodway_configs.config_loader.multi_loaderimportMultiConfigLoaderloader=MultiConfigLoader(config_loaders=[JsonConfigLoader(file_path=Path('./config1.json')),JsonConfigLoader(file_path=Path('./config2.json')),])config=awaitloader.load_config()DocumentationDocumentation can be foundhere.
Package: goodwe
GoodWeLibrary for connecting to GoodWe inverter over local network and retrieving runtime sensor values and configuration
parameters.It has been reported to work on GoodWe ET, EH, BT, BH, ES, EM, BP, DT, MS, D-NS, and XS families of inverters. It may
work on other inverters as well, as long as they listen on UDP port 8899 and respond to one of supported communication
protocols.(If you can't communicate with the inverter despite your model is listed above, it is possible you have old ARM firmware
version. You should ask manufacturer support to upgrade your ARM firmware (not just inverter firmware) to be able to
communicate with the inveter via UDP.)White-label (GoodWe manufactured) inverters may work as well, e.g. General Electric GEP (PSB, PSC) and GEH models.UsageInstall this packagepip install goodweWrite down your GoodWe inverter's IP address (or invokegoodwe.search_inverters())Connect to inverter and read all runtime data, example belowimportasyncioimportgoodweasyncdefget_runtime_data():ip_address='192.168.1.14'inverter=awaitgoodwe.connect(ip_address)runtime_data=awaitinverter.read_runtime_data()forsensorininverter.sensors():ifsensor.id_inruntime_data:print(f"{sensor.id_}:\t\t{sensor.name}={runtime_data[sensor.id_]}{sensor.unit}")asyncio.run(get_runtime_data())References and useful linkshttps://github.com/mletenay/home-assistant-goodwe-inverterhttps://github.com/yasko-pv/modbus-loghttps://github.com/tkubec/GoodWehttps://github.com/OpenEMS/openems
Package: goodwe2pvoutput
Quick service for uploading data from your Goodwe inverter to PVOutput.org.It grabs generation (W), load (W), inverter temperature and voltage (V). If you're a subscriber to PVOutput you can store state of charge of your battery too. The data is pulled via my pygoodwe library in thegetDataPvOutput function.ConfigurationFile in one of these places:~/.goodwe2pvoutput.conf (Home dir)./goodwe2pvoutput.conf (Current dir)/etc/goodwe2pvoutput.confTemplate: seegoodwe2pvoutput.conf.exampleGoodwe configDetermine the Station ID from the GOODWE site as follows. Open theSems Portal. The Plant Status will reveal the Station ID in the URL. Example:https://www.semsportal.com/powerstation/powerstatussnmin/11112222-aaaa-bbbb-cccc-ddddeeeeeffffThen the Station ID is11112222-aaaa-bbbb-cccc-ddddeeeeeffff.PVOutput configGet your API key and system ID fromthe account page on PVOutputRunning itgoodwe2pvoutputshould do it for testing.If you want to make it asystemdservice:Downloadgoodwe2pvoutput.serviceto/etc/systemd/system/Make sure the config file is at/etc/goodwe2pvoutput.confRunsudo systemctl daemon-reloadto load the filesudo systemctl status goodwe2pvoutputto check it looks sanesudo systemctl enable goodwe2pvoutputto enable it on bootsudo systemctl start goodwe2pvoutputto start itDependenciespygoodwepvoutputscheduleContributingYou're probably better off contributing to other packages like the dependencies above, but if you feel the need -lodge an issue or PR on GithubChangelog0.0.1 Initial Version0.0.2 2019-10-12 Updated to include SoC upload0.0.3 2019-10-12 Turns out the "defaults" aren't as default as I thought in ConfigParser. Fixed.0.0.4 2019-10-12 Way more config error checking0.0.5 2021-01-08 Fixed the example config "systemid" field was mistyped.0.0.6 2021-07-15 Didn't change the module much, added lambda function.
Package: goodwe-louigie
GoodWeLibrary for connecting to GoodWe inverter over local network and retrieving runtime sensor values and configuration parameters.It has been reported to work on GoodWe ET, EH, BT, BH, ES, EM, DT, D-NS, XS and BP families of inverters.
It may work on other inverters as well, as long as they listen on UDP port 8899 and respond to one of supported communication protocols.(If you can't communicate with the inverter despite your model is listed above, it is possible you have old ARM firmware version.
Usually the ARM firmware (not inverter firmware) has to be >=13. You should ask manufacturer support to upgrade your ARM firmware to be able to communicate with inveter via UDP.)UsageInstall this packagepip install goodweWrite down your GoodWe inverter's IP address (or invokegoodwe.search_inverters())Connect to inverter and read all runtime data, example belowimportasyncioimportgoodweasyncdefget_runtime_data():ip_address='192.168.1.14'inverter=awaitgoodwe.connect(ip_address)runtime_data=awaitinverter.read_runtime_data()forsensorininverter.sensors():ifsensor.id_inruntime_data:print(f"{sensor.id_}:\t\t{sensor.name}={runtime_data[sensor.id_]}{sensor.unit}")asyncio.run(get_runtime_data())or the old way (for XS inverters only), create a processor and inverter instance:importasynciofromgoodweimportGoodWeInverter,GoodWeXSProcessorasyncdefget_data():ip_address='192.168.200.100'processor=GoodWeXSProcessor()inverter=GoodWeInverter(inverter_address=(ip_address,8899),processor=processor)data=awaitinverter.request_data()print(f'power is{data.power}at{data.date:%H:%M:%S}')asyncio.run(get_data())References and useful linkshttps://github.com/mletenay/home-assistant-goodwe-inverterhttps://github.com/tkubec/GoodWehttps://github.com/yasko-pv/modbus-loghttps://github.com/MiG-41/Modbus-GoodWe-DThttps://github.com/OpenEMS/openems
Package: goodwiki
GoodWikiGoodWiki is a Python package that carefully converts Wikipedia pages into GitHub-flavored Markdown. Converted pages preserve layout features like lists, code blocks, math, and block quotes.This package is used to generate theGoodWiki Dataset.InstallationThis package supports Python 3.11+.Install via pip.pipinstallgoodwikiInstall pandoc v2.19.2. Follow instructionshere.UsageInitializing ClientimportasynciofromgoodwikiimportGoodwikiClientclient=GoodwikiClient()You can also optionally provide your own user agent (default isgoodwiki/1.0 (https://euirim.org)):client=GoodwikiClient("goodwiki/1.0 (bob@gmail.com)")Getting Single Pagepage=asyncio.run(client.get_page("Usain Bolt"))You can also optionally include styling syntax like bolding to the final markdown:page=asyncio.run(client.get_page("Usain Bolt",with_styling=True))You can access the resulting data via properties. For example:print(page.markdown)Getting Category PagesTo get a list of page titles associated with a Wikipedia category, run the following:client.get_category_pages("Category:Good_articles")Converting Existing Raw WikitextIf you've already downloaded raw wikitext from Wikipedia, you can convert it to Markdown by running:client.get_page_from_wikitext(raw_wikitext="RAW_WIKITEXT",# The rest of the fields are meant for populating the final WikiPage objecttitle="Usain Bolt",pageid=123,revid=123,)MethodologyFull details are available in this package'sGitHub repo README.External LinksChangelogGitHubDataset
Package: gooee
Gooee Python SDK================> NOTE: Let's keep this repo private until we have something worth showing.Official Python SDK for Gooee_ API.See the LICENSE file for license and copyright information.-  Installation_-  Usage_-  License_.. _Installation:Installation~~~~~~~~~~~~Minimum System Requirements___________________________-  Python 2.6+ or Python 3.3+Installation from PyPI______________________.. code-block:: sh$ pip install gooee-sdkIf you need to, you can also use `easy_install`:.. code-block:: sh$ easy_install gooee-sdkBuild from source_________________.. code-block:: shgit clone https://github.com/GooeeIOT/gooee-python-sdk.gitcd gooee-python-sdkpython setup.py install.. _Usage:Usage~~~~~To use the SDK in your project:.. code-block:: pythonfrom gooee import GooeeClientclient = GooeeClient()client.authenticate('username@example.com', 'YourPasswordHere')response = client.get('/buildings')That is all!.. _Gooee: https://www.gooee.com.. _License:License~~~~~~~This SDK is distributed under the `Apache License, Version2.0 <http://www.apache.org/licenses/LICENSE-2.0>`__, see LICENSEfor more information.History-------0.0.1 (2017-01-25)------------------* Project has born.
Package: gooee-sdk
Gooee Python SDK================Official Python SDK for Gooee_ API.See the LICENSE file for license and copyright information.-  Installation_-  Usage_-  License_.. _Installation:Installation~~~~~~~~~~~~Minimum System Requirements___________________________-  Python 2.6+ or Python 3.3+Installation from PyPI______________________.. code-block:: sh$ pip install gooee-sdkIf you need to, you can also use `easy_install`:.. code-block:: sh$ easy_install gooee-sdkBuild from source_________________.. code-block:: shgit clone https://github.com/GooeeIOT/gooee-python-sdk.gitcd gooee-python-sdkpython setup.py install.. _Usage:Usage~~~~~To use the SDK in your project:.. code-block:: pythonfrom gooee import GooeeClientclient = GooeeClient()client.authenticate('username@example.com', 'YourPasswordHere')response = client.get('/buildings')That is all!.. _Gooee: https://www.gooee.com.. _License:License~~~~~~~This SDK is distributed under the `Apache License, Version2.0 <http://www.apache.org/licenses/LICENSE-2.0>`__, see LICENSEfor more information.History-------0.0.1 (2017-01-25)------------------* Project has born.
Package: goofis-ardihikaru
Google Finance ScraperTheGoogle Finance Scraperis a simple testing example to understand the basics of developing your first Python package.DeploymentSocketifyBuild:dockerbuild-fDockerfile-socketify-tsocketify/develop:0.1.Temp Run (bash):dockerrun--namesocketify-service--rm-it--networkhostsocketify/develop:0.1bashAPI ServiceBuild:dockerbuild--no-cache-tscraper-service/develop:0.1.--build-argGIT_COMMIT=$(gitrev-parseHEAD)dockerbuild--no-cache-tjejaktutorialdigitalcom_edutraderidscraper:latest.--build-argGIT_COMMIT=$(gitrev-parseHEAD)dockerbuild--no-cache-tjejaktutorialdigitalcom_edutraderidupdater:latest.--build-argGIT_COMMIT=$(gitrev-parseHEAD)Run:dockerrun--namescraper-api-service--rm-it--env-file./.env--networkhostscraper-service/develop:0.1
Package: goofit
GooFit is a highly parallel fitting framework originally designed for High Energy Physics.Installation basicsThis package can be installed with pip, but uses SciKit-Build, and is build,
fully optimized, on your system. Because of this, there are a few caveats when
running a pip install if you use an old version of pip. When you build, you
should also use pip’s-vflag, so that you can see it build (and observe
the configuration options). Otherwise, you might wait a very long time without
output (especially if CUDA was found).Installation: pipUsing pip 10+:pip install -v goofitUsing pip < 10:pip install scikit-build # optionally cmake ninja
pip install -v goofitGooFit will automatically look for CUDA, and build in GPU mode if it finds CUDA. You can pick a specific version by passing through a CMake option (see below), or by setting an environment variable,GOOFIT_DEVICEbefore building. You may want to build with OpenMP as a backend to avoid using your GPU, or you might want the CPP version if you are using Anaconda on macOS. Here are the three common backends:GOOFIT_DEVICE=CUDA pip install -v goofit
GOOFIT_DEVICE=OMP pip install -v goofit
GOOFIT_DEVICE=CPP pip install -v goofitThe lines above use environment variables; GooFit will find any environment variables that start withGOOFIT_*and set them as CMake defines. If you want to send arbitrary commands to CMake through PIP, you will need to pass each option through, starting with a--option. Pip will try to reuse the built version if you do not pass options, but will rebuild if you pass options, so this works for a rebuild, unlike the lines above. This is how you would do this to set OMP as the backend:pip install -v goofit --install-option="--" --install-option="-DGOOFIT_DEVICE=OMP"
# OR
PIP_INSTALL_OPTION="-- -DGOOFIT_DEVICE=OMP" pip install -v goofitInstallation: localIf you want to add PDFs to GooFit, or use GooFit packages, you should be working in a local directory using git. In the following example, I’m assuming you’ve set up SSH keys with GitHub; you can use https instead if you prefer by changing the URL tohttps://github.com/GooFit/GooFit.git:git clone --recursive git@github.com:GooFit/GooFit.git
cd goofitLocal pipThe normal install here works, though as usual you should include verbose output and you should be in a virtual environment (standard practice):pip install -v .