Saravanan666/pypi-org huggingface dataset:
Package: altair-viewer
Altair ViewerOffline chart viewer forAltairvisualizationsThis package provides tools for viewing Altair charts without a web connection in arbitrary Python
environments. Charts can be displayed either inline in a Jupyter notebook environment, or in a
separate browser window for use in any environment.InstallationAltair Viewer can be installed from thePython Package Indexwithpip:$ pip install altair_viewerUsage: General EnvironmentsAltair viewer provides two top-level functions for displaying charts:display()andshow().
Their intended use is slightly different:importaltair_vieweraltair_viewer.display(chart)display(chart)is meant for use in interactive computing environments where
a single Python process is used interactively. It will serve a chart viewer at a localhost
URL, and any susequent chart created within the session will appear in the same window.
The background server will be terminated when the main Python process terminates, so this
is not suitable for standalone scripts.importaltair_vieweraltair_viewer.show(chart)show(chart)is meant for use once at the end of a Python script. It does the
same asdisplay(), but automatically opens a browser window, and adds an input
prompt to prevent the script (and the server it creates) from terminating.Usage: IPython & JupyterWithin Jupyter notebook, IPython terminal, and related environments that supportMimetype-based display,
altair viewer can be used by enabling thealtair_viewerrenderer:importaltairasaltalt.renderers.enable('altair_viewer')This will cause charts at the end of a Jupyter notebook cell to be rendered in a
separate browser window, as with thedisplay()andshow()methods.If enabled withinline=True, charts will be rendered inline in the notebook:importaltairasaltalt.renderers.enable('altair_viewer',inline=True)To display a single inline chart using Altair viewer in an IPython environment without
globally enabling the associated renderer, you can use thedisplaymethod directly:importaltair_vieweraltair_viewer.display(chart,inline=True)Note that the display based on altair viewer will only function correctly as long as the
kernel that created the charts is running, as it depends on the background server started
by the kernel. In particular, this means that if you save a notebook and reopen it later,
charts will not display until the associated cells are re-run.
Package: altamisa
AltamISAAltamISA is an alternative implementation ofISA-toolsdata modelandISA-Tab file format.also:Ambrosia peruvianais a species of plant in the family Asteraceae. It occurs from Mexico south to Argentina, being common in the Antilles and the Andes.In its native range, A. peruviana is used as a medicinal plant with analgesic, antiinflammatory, anthelmintic and antiseptic properties.--Ambrosia peruviana, WikipediaFor the Impatient$pipinstallaltamisa## OR$condainstallaltamisaWhat is ISA and ISA-Tab?The ISA (Investigation-Study-Assay) defines a data model for describing life science experiments (specification).
ISA-Tab defines a file format based on TSV (tab-separated values) for storing of ISA data in files.
Shortly, experiments are encoded by DAGs (directed acyclic graphs) of samples being taken from sources (e.g., donor individuals) and then subjected to "operations" (e.g., extraction, assays, transformations) leading to different downstream "materials".Why AltamISA?Attempting to use the officialisa-apiPython package in early 2018 led to quite some frustration.
Even the official ISA-tab examples parsed into non-expected graph structures.
Attempting bug fixes toisa-apiproofed difficult because of not having complete automated tests.
Further, the scope ofisa-apiwas much broader (including between ISA-Tab and other formats) such that we expected high maintenance costs (developmenthad apparently stalled).Quick FactsProgramming Language: Python 3 (withfull type annotations)License: MITTest Coverage: >90%Documentation:see hereCode Style:black, 100 characters/lineHistoryv0.2.8Mostly meta adjustments.v0.2.7Adding exception for duplicate node annotationsv0.2.6Minor fixes regarding investigation file names and comments.v0.2.5Minor fixes of validation and warnings.Fixes optional parameterfilenameofAssayReader.v0.2.4Ensuring that input order is output order.
This is true except for the corner case where materials are not located in "blocks".
Such corner cases would require storing the tabular representation (and keeping it in sync) at all times and does not yield to a robustly usable implementation.
NB: the input is also not sorted the test adjusted with this patch shows.Adding optional parameterfilenameto the various readers.ExposingRefTableBuilderclass with slightly changed interface.v0.2.3Minor fixes and additions with focus on improving the export.v0.2.2Updating documentation for JOSS.v0.2.1Adding JOSS paper draft.Fixing problem with writing empty lines on Windows (#52).Update documentation with examples for manual model creation.Fixing authorship documentation.Fixing package (#58).v0.2.0Switching toattrsinstead of usingNamedtuple.
This gets rid of some warts regarding constructor overriding but should offer the same functionality otherwise.Various updates to the documentation.v0.1.0First public release.Started out with ISA-TAB parser andNamedTuple-based data model.
Package: altb
altbaltb is a cli utility influenced byupdate-alternativesof ubuntu.Linked paths are added to$HOME/.local/binaccording toXDG Base Directory Specification.Config file is located at$HOME/.config/altb/config.yaml.How to start?Must use Python > 3.9execute:pipxinstallaltbto track new binary use:altbtrackpath<app_name>@<app_tag>/path/to/binaryfor example:altbtrackpathpython@2.7/bin/python2.7
altbtrackpathpython@3.8/bin/python3.8# altb track path python ~/Downloads/python # will also work and generate a new hash for itList all tracked versions:$altblist-a
python|----2.7-/bin/python2.7|----3.8-/bin/python3.8Use specific version:altbuse<app_name>[@<app_tag>]example:altbusepython@2.7this will link the tracked path to~/.local/bin/<app_name>in this case -~/.local/bin/pythonCopy specific standalone binary automatically to~/.local/share/altb/versions/<app_name>/<app_name>_<tag>altbtrackpathhelm@3~/Downloads/helm--copyYou can run custom commands using:altbtrackcommandspecial_command@latest"echo This is a command"this especially useful for latest developments, example:altbtrackcommandspecial_command@latest"go run ./cmd/special_command"--working-directory"$HOME/special_command"DocsMigrationsMigrate to v0.5.0 and above from lower versions
Package: alt_cinder_sch
Alternative Classes such as filters, host managers, etc. for Cinder, the
OpenStack Block Storage service.The main purpose of this library is to illustrate the broad range of
possibilities of the Cinder Scheduler provided by its flexible mechanisms.Currently there’s only 2 interesting features, which are the possibility of
changing the default provisioning type on volume creation for volumes that
don’t specify the type using theprovisioning:typeextra spec and an
alternative calculation of the free space consumption.Scheduler’s original approach to space consumption by new volumes is
conservative to prevent backends from filling up due to a sudden burst of
volume creations.The alternative approach is more aggressive and is adequate for deployments
where the workload is well know and a lot of thin volumes could be requested
at the same time.It’s important to notice that even though the Schedulers will be able to
understandprovisioining:typeextra spec it will depend on the backend if
this parameter is actually used or not.Free software: Apache Software License 2.0Documentation:https://alt-cinder-sch.readthedocs.io.FeaturesCan default capacity calculations to thin or thick.Less conservative approach to free space consumption calculations.UsageFirst we’ll need to have the package installed:#pipinstallalt_cinder-schThen we’ll have to configure Cinder’s schedulers to use the package:scheduler_host_manager = alt_cinder_sch.host_managers.HostManagerThin
scheduler_default_filters = AvailabilityZoneFilter,AltCapacityFilter,CapabilitiesFilter
scheduler_driver = alt_cinder_sch.scheduler_drivers.FilterSchedulerAnd finally restart scheduler services.History0.1.1 (2017-07-03)Fix compatibility with older versionsFix thick over subscription valueImprove logging0.1.0 (2017-07-02)First release on PyPI.
Package: altcli_helper
CLIHelper: A Command-Line Interface AssistantCLIHelper is a command-line interface (CLI) tool designed to assist users by generating CLI commands or a series of CLI commands based on user input. Utilizing OpenAI's GPT model, it provides detailed responses and ensures a comprehensive understanding of the required tasks.InstallationThis tool can be installed using Poetry. Ensure you have Poetry installed on your machine. If not, you can install it following the instructions on theofficial Poetry website.Once Poetry is installed, you can install CLIHelper with the following command:poetryinstallUsageCLIHelper is straightforward to use and can be executed directly from the command line.Basic Command GenerationFor generating a CLI command based on your request:clih"Your request here"Example:clih"How to list all files in a directory?"Command Generation with RationaleIf you want to see the rationale behind the recommended commands, in addition to the commands themselves, use the-sor--show-rationaleflag:clih-s"Your request here"orclih--show-rationale"Your request here"Example:clih-s"How to list all files in a directory?"This will print out a detailed rationale explaining why certain commands are recommended, followed by the recommended commands themselves.ContactFor any inquiries or issues, please contact D0rkKnight atshouhanzen@gmail.com.LicenseThis project is open source and available under theMIT License.The README provides a concise yet comprehensive guide on how to install and use CLIHelper, including both basic command generation and command generation with rationale functionalities. It also includes contact information for support. Make sure to include an actual LICENSE file in your project if you mention it in the README.
Package: altdeutsch
Parser of Referenzkorpus Althochdeutsch exportsInstallation$pipinstallalthochdeutschLicenseLicense of the software:MIT LicenseLicense of the data:CC BY-NC-SA 3.0TheReferenzkorpus Altdeutsch projectis at the origin of annotations of thedata.Code usageimportosfromaltdeutsch.readerimportread_exportfromaltdeutschimportPACKDIRhildebrandslied=read_export(os.path.join(PACKDIR,"tests","data","hildebrandslied.txt"))print(hildebrandslied["tok"])You have now the Hildebrandslied text!
Package: alt-discord-flags
This is an alternative to XuaTheGrate/Flag-Parsing, which is not maintained.⚠ Please be sure to read the entire README, it explains
some important tricks.Flag ParsingA util for discord.py bots that allow passing flags into commands.To install, run the following command:pip install alt-discord-flags2.1.0 changes how signatures appear. If you wish to use
the legacy signatures, usecommand.old_signatureinstead.Basic example usage:importdiscordfromdiscord.extimportflags,commandsbot=commands.Bot("!")# Invocation: !flags --count=5 --string "hello world" --user Xua --thing y@flags.add_flag("--count",type=int,default=10)@flags.add_flag("--string",default="hello!")@flags.add_flag("--user",type=discord.User)@flags.add_flag("--thing",type=bool)@flags.command()asyncdefflags(ctx,**flags):awaitctx.send("--count={count!r}, --string={string!r}, --user={user!r}, --thing={thing!r}".format(**flags))bot.add_command(flags)Important note that@flags.commandMUST be under all@flags.add_flagdecorators.@flags.add_flagtakes the same arguments asargparse.ArgumentParser.add_argumentto keep things simple.Subcommands are just as simple:@commands.group()asyncdefmy_group(ctx):...@flags.add_flag("-n")@my_group.command(cls=flags.FlagCommand)asyncdefmy_subcommand(ctx,**flags):...Usage of discord.py'sconsume restbehaviour is not perfect withdiscord-flags,
meaning that you have to use a flag workaround:@flags.add_flag("message",nargs="+")@flags.command()asyncdefmy_command(ctx,arg1,**options):""" You can now access `message` via `options['message']` """message=' '.join(options['message'])
Package: alt-discord-flags-v2
Disclaimer: this is a quick fix to get the library to work on Discord.py v2The changes made have not been tested exclusively as I made this module to upgrade my Discord.py version and maintain flags. Use at your own risk (taking pull requests and issues though). Parts of the code were directly copy-pasted from the core Discord.py.This is an alternative to CircuitSacul/Flag-Parsing, which is not maintained.Flag ParsingA util for discord.py bots that allow passing flags into commands.To install, run the following command:pipinstallalt-discord-flags2.1.0 changes how signatures appear. If you wish to use
the legacy signatures, usecommand.old_signatureinstead.Basic example usage:importdiscordfromdiscord.extimportflags,commandsbot=commands.Bot("!")# Invocation: !flags --count=5 --string "hello world" --user Xua --thing y@flags.add_flag("--count",type=int,default=10)@flags.add_flag("--string",default="hello!")@flags.add_flag("--user",type=discord.User)@flags.add_flag("--thing",type=bool)@flags.command()asyncdefflags(ctx,**flags):awaitctx.send("--count={count!r}, --string={string!r}, --user={user!r}, --thing={thing!r}".format(**flags))bot.add_command(flags)Important note that@flags.commandMUST be under all@flags.add_flagdecorators.@flags.add_flagtakes the same arguments asargparse.ArgumentParser.add_argumentto keep things simple.Subcommands are just as simple:@commands.group()asyncdefmy_group(ctx):...@flags.add_flag("-n")@my_group.command(cls=flags.FlagCommand)asyncdefmy_subcommand(ctx,**flags):...Usage of discord.py'sconsume restbehaviour is not perfect withdiscord-flags,
meaning that you have to use a flag workaround:@flags.add_flag("message",nargs="+")@flags.command()asyncdefmy_command(ctx,arg1,**options):""" You can now access `message` via `options['message']` """message=' '.join(options['message'])
Package: altdphi
altdphiA Python library for calculating alternative variables for background rejection
in new physics searches with missing transverse momentum at LHCThe variables are described inTai Sakuma, Henning Flaecher, Dominic Smith,"Alternative angular variables
for suppression of QCD multijet events in new physics searches with missing
transverse momentum at the LHC",arXiv:1803.07942Documentation:http://altdphi.readthedocs.io
Package: alteia
This SDK offers a high-level Python interface toAlteia APIs.Installationpipinstallalteia*requires Python >= 3.6.1, pip >= 20.3Basic usageimportalteiasdk=alteia.SDK(user="YOUR_EMAIL_ADDRESS",password="YOUR_ALTEIA_PASSWORD")projects=sdk.projects.search()forprojectinprojects:print(project.name)# My awesome project📕 DocumentationReference documentationJupyter notebook tutorialsContributingPackage installation:poetryinstall(Optional) To install pre-commit hooks (and detect problems before the pipelines):pipinstallpre-commit
pre-commitinstall
pre-commitrun--all-files
pre-commitautoupdate# Optional, to update pre-commit versions
Package: alteraparser
IntroductionAlteraparser is a library that provides functions to define a grammar that can be passed to a parser.Basic UsageCode sample:from alteraparser.parser import Parser
from alteraparser import char_range, fork, many, grammar, ...

ALPHA = fork(char_range('a', 'z'), char_range('A', 'Z'))
NUM = char_range('0', '9')
ALPHA_NUM = fork(ALPHA, NUM)
...

variable = fork([ALPHA, many(ALPHA_NUM)]).set_name('var')
...
my_grammar = grammar(variable, ...)

my_parser = Parser(my_grammar)
ast = my_parser.parse_file("my_code.txt")Changes0.5.0.a2:added transform_ast method to enable transformation of AST nodes
Package: altered-states
Altered Statesis a reversible state tool. It changes values in an
object. When the changes are not needed anymore, it is possible to
reverse them.Read more here:https://github.com/Plexical/altered.states/blob/master/README.rst1.0.1Fixed issue in setup.py scriptAdded missing changelog1.0.0Altered States now runs on Python 3 (tested on 2.7, 3.5 and 3.6)Dropped support for Python 2.6Experimental support for Kenneth Reitz Pipenv toolCorrected invalid use ofos.modulesin examples0.8.6Better handling of objects that override__getitem__(thanks to
@merwok).Drop support for Python 2.5 (no sane way to solve issue #4 there).0.8.5Added a new API entry point:alter(), that can be used to perform
a two-step reversible alteration.0.8.2Updated test suites to use@pytest.fixturenotation for fixtures
(now requirespy.test> 2.3)Fixes a bug causingos.environnot to be patchable.Fixing bug #2 means switching thedict-like object check fromisinstance(x, dict)tohasattr(x, ‘__getitem__’). This change is
thought to not break backwards compatibility but if you encounter
unexpected behaviour indict/objectdetection this might be
it. I’d be very interested to know about that if you do.0.8.1AliasExpandoasEfor optional terseness.0.8.0Initial release.
Package: alterity
AlterityDocumentation:https://john-james-ai.github.io/alteritySource Code:https://github.com/john-james-ai/alterityPyPI:https://pypi.org/project/alterity/Outlier DetectionInstallationpipinstallalterityDevelopmentClone this repositoryRequirements:PoetryPython 3.7+Create a virtual environment and install the dependenciespoetryinstallActivate the virtual environmentpoetryshellTestingpytestDocumentationThe documentation is automatically generated from the content of thedocs directoryand from the docstrings
of the public signatures of the source code. The documentation is updated and published as aGithub project pageautomatically as part each release.ReleasingTrigger theDraft release workflow(pressRun workflow). This will update the changelog & version and create a GitHub release which is inDraftstate.Find the draft release from theGitHub releasesand publish it. When
a release is published, it'll triggerreleaseworkflow which creates PyPI
release and deploys updated documentation.Pre-commitPre-commit hooks run all the auto-formatters (e.g.black,isort), linters (e.g.mypy,flake8), and other quality
checks to make sure the changeset is in good shape before a commit/push happens.You can install the hooks with (runs for each commit):pre-commitinstallOr if you want them to run only for each push:pre-commitinstall-tpre-pushOr if you want e.g. want to run all checks manually for all files:pre-commitrun--all-filesThis project was generated using thewolt-python-package-cookiecuttertemplate.
Package: alternatives
***********************Alternatives api***********************Alternatives basics---------------------Alternatives api is just a syntax sugar for selecting alternative variants from some set of values.The main thing is alternative class that implements late call on callbacks.This allow to apply boolean logic on callbacks without being executed::a1 = Alternative(lambda: a)b1 = Alternative(lambda: b)a_b = a1 | b1assert isinstance(a_b, Alternative)assert bool(a_b) is (a or b)Also you can note, in the example above, that alternative can provide python truth when it's needed bycalling callbacks and evaluating boolean expressions.Alternatives usage---------------------How it may be used::package(one_of({os_centos() or os_windows(): 'php',os_ubuntu(): 'php5'}))Here one of values will be selected: php or php5.Alternative is object, that's why we can use it as dictionary key.In the example above you can see one_of() method:.. automodule:: pywizard.api:members: one_of:imported-members:Another style of evaluating alternatives is all_of:.. automodule:: pywizard.api:members: all_of:imported-members:And nobody restrict you from creating your own alternatives selection style.Use source of one_of, all_of as reference.Checks declaration-----------------------------*Check* is just a python function that return boolen with added annotation on it::@alternativedef os_linux():"""os_linux()Checks if it is linux-like os."""info = os_info()return 'linux' in info['platform'].. note::As function is annotated there is some extra work needed to provide correct documentation for this function.@alternative handles copying __doc__ transparently for your function. But, you should take careof specifying correct method signature in first line of docstring.
Package: alterparagraphs
Alterparagraphsis an ongoing effort for providing a family of
paragraph implementations, each to be used as a replacement for the
regular and only paragraph flowable inside the ReportLab package.The idea behind this collection of paragraphs is to provide simple
implementations that can be more easily understood and extended than
the monolithic paragraph implementation as implemented by ReportLab.Note that many of the paragraph classes inalterparagraphsare not
finished in the sense that they are directly ready for production
(this is especially true for the XMLParagraph, the development of
which has barely started). You must test yourself if they are suitable
for your purpose. In any case it should be much easier to tweak them
to make them do what you need compared to the standard ReportLab
implementation.
Package: alteryx-gallery-py
alteryx_gallery_pyA lightweight Python wrapper for the Alteryx gallery API.InstallationUse the package managerpipto install alteryx_gallery_py.pipinstallalteryx_gallery_pyUsageimportzipfileimportiofromalteryx_gallery_pyimportSubscriptionsgallery_url="http://devalteryx.continuus-technologies.com/gallery/"api_key='INSERT API KEY'client_secret='INSERT API SECRET'# Initiate Subscription Objectsub=Subscriptions(api_key,client_secret,gallery_url)# Search for a workflow in galleryworkflows=sub.get_workflows(search="pizza survey")pizza_app_id=workflows[0]["id"]# Get Questions for a workflowquestions=sub.get_questions(pizza_app_id)# Run an appanswers=[{"name":"Question 1","value":"True"},{"name":"Question 2","value":"Cheese"},{"name":"Question 3","value":150}]job_run=sub.create_job(pizza_app_id,questions=answers,priority="0")# Get job statusjob_status=sub.get_job(job_run["id"])output_id=job_status["outputs"][0]["id"]# List all jobs for an Alteryx appall_pizza_jobs=sub.list_jobs(pizza_app_id)# Get job outputjob_output=sub.get_job_output(job_run["id"],output_id)# Download an Alteryx Analytics Appapp_package=sub.download_app(pizza_app_id)z=zipfile.ZipFile(io.BytesIO(app_package))z.extractall("./")ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.LicenseMIT
Package: alteryx-open-src-update-checker
Alteryx Open Source Update CheckerAlteryx open source update checker is a Python library to automatically check that you have the latest version of an Alteryx open source library. If your Alteryx open source library is out of date, a warning to upgrade will be shown.InstallationInstall with pip (as an add-on to Alteryx open source libraries):python-mpipinstall"featuretools[updater]"python-mpipinstall"evalml[updater]"python-mpipinstall"woodwork[updater]"python-mpipinstall"compose[updater]"Install with conda from theconda-forge channel:condainstall-cconda-forgealteryx-open-src-update-checkerDisable CheckerYou can disable the update checker by changing your environment variables to include the following:export ALTERYX_OPEN_SRC_UPDATE_CHECKER=FalseBuilt at Alteryx Innovation Labs