Saravanan666/pypi-org huggingface dataset:
Package: absfuyu
SUMMARY:TL;DR: A collection of codeINSTALLATION:$pipinstall-UabsfuyuUSAGE:importabsfuyuhelp(absfuyu)DOCUMENTATION:hereDEV SETUPCreate virtual environmentpython-mvenvenvNote: Might need to run this in powershell (windows)Set-ExecutionPolicy-ExecutionPolicyUnrestricted-ScopeCurrentUserInstall all required packagespython-mpipinstall-e.[all]orpython-mpipinstall-e.[dev]LICENSE:MIT License

Copyright (c) 2022-2023 AbsoluteWinter

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: absfuyu-res
SUMMARY:TL;DR: A collection of codeINSTALLATION:$pipinstall-Uabsfuyu-resLICENSE:MIT License

Copyright (c) 2023 AbsoluteWinter

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: abs-imports
abs-importsA pre-commit hook to automatically convert relative imports to absolute.Installationpip install abs-importsUsage as a pre-commit hookSeepre-commitfor instructionsSample.pre-commit-config.yaml:-repo:https://github.com/MarcoGorelli/abs-importsrev:v0.2.1hooks:-id:abs-importsCommand-line example$catmypackage/myfile.pyfrom . import __version__$abs-importsmypackage/myfile.py$catmypackage/myfile.pyfrom mypackage import __version__If your package follows the popular./srclayout, you can pass your application directories via--application-directories, e.g.$catsrc/mypackage/myfile.pyfrom . import __version__$abs-importssrc/mypackage/myfile.py--application-directoriessrc$catsrc/mypackage/myfile.pyfrom mypackage import __version__Multiple application directories should be comma-separated, e.g.--application-directories .:src. This is the same as inreorder-python-imports.See alsoCheck outpyupgrade, which I learned a lot from when writing this.
Package: absio
Protect your application’s sensitive data with Absio’s Secured Containers.DocumentationFull documentation isavailable.Obtaining an API KeyTheabsiolibrary requires a valid API Key that must be passed into theabsio.initialize(...)function.  Obtain an API Key by contacting ushereor sending an email tosales@absio.com. An API key should
be considered private and protected as such.Quick StartInstallation:pipinstallabsiocryptography--no-binary=cryptographyImport and initialize the module:importabsioabsio.initialize(api_key='your api key')Create accounts:alice=absio.user.create('password','reminder','passphrase')bob=absio.user.create('password','reminder','passphrase')Log in with an account:absio.login(alice.id,'password','passphrase')Create and share an Absio Secured Container:container=absio.container.create(header={'some sensitive metadata':None},content=open('/some/sensitive/data.bin','rb').read(),access=[bob.id,alice.id],)Securely access this container from another system:absio.login(bob.id,'password','passphrase')# Access the container with the container ID returned during creation, or a Container Event.container=absio.container.get('container_id')
Package: absl-extra
ABSL-ExtraA collection of utils I commonly use for running my experiments.
It will:Notify on execution start, finish or failed.By default, Notifier will just log those out tostdout.I prefer receiving those in Slack, though (see example below).Log parsed CLI flags fromabsl.flags.FLAGSand config values fromconfig_file:get_config()Select registered task to run based on --task= CLI argument.Minimal exampleimportosfromabslimportloggingimporttensorflowastffromabsl_extraimporttf_utils,tasks,notifier@tasks.register_task(notifier=notifier.SlackNotifier(slack_token=os.environ["SLACK_BOT_TOKEN"],channel_id=os.environ["CHANNEL_ID"]))@tf_utils.requires_gpudefmain()->None:iftf_utils.supports_mixed_precision():tf.keras.mixed_precision.set_global_policy("mixed_float16")withtf_utils.make_gpu_strategy().scope():logging.info("Doing some heavy lifting...")if__name__=="__main__":tasks.run()flax_utils.pyCommon utilities used for training flax models, which I got tired of copy-pasting in every project.
Package: absl-py
Abseil Python Common LibrariesThis repository is a collection of Python library code for building Python
applications. The code is collected from Google's own Python code base, and has
been extensively tested and used in production.FeaturesSimple application startupDistributed commandline flags systemCustom logging module with additional featuresTesting utilitiesGetting StartedInstallationTo install the package, simply run:pipinstallabsl-pyOr install from source:pythonsetup.pyinstallRunning TestsTo run Abseil tests, you can clone the git repo and runbazel:gitclonehttps://github.com/abseil/abseil-py.gitcdabseil-py
bazeltestabsl/...Example CodePlease refer tosmoke_tests/sample_app.pyas an example to get started.DocumentationSee theAbseil Python Developer Guide.Future ReleasesThe current repository includes an initial set of libraries for early adoption.
More components and interoperability with Abseil C++ Common Libraries
will come in future releases.LicenseThe Abseil Python library is licensed under the terms of the Apache
license. SeeLICENSEfor more information.
Package: absolang
A sentiment analysis library for detecting absolutist language.QuickstartInstallation:$ pip install absolang
$ python -m spacy download en_core_web_smDetermining absolutist index for text:>>> from absolang import absolutist, absolutist_index
>>> absolutist_index("The bigger dog is running.")
0.0
>>> absolutist("The bigger dog is running.")
False
>>> absolutist_index("He was completely bowled over.")
0.2
>>> absolutist("He was completely bowled over.")
TrueAlgorithmParse text into tokens using Spacy’s en_core_web_sm language model.Count the number of word tokens (a token is considered a word if it
consists solely of characters from the alphabet).Count the number of absolutist word tokens (a token is considered
absolutist if its stem word is in the dictionary of absolutist words
and it is not preceded by a negation, modifier or interjection).The absolutist index is the number of absolutist words divided by the
total number of words.Text is considered absolutist if the index is greater than 1.1 percent.CaveatsThe frequency of absolutist words in control texts (ones written by
people presumed not to suffer from anxiety or depression more than
the average person) is about 1%, so one needs a few hundred words of
texts before results start becoming meaningful.ReferencesIn an Absolute State: Elevated Use of Absolutist Words Is a Marker Specific to Anxiety, Depression, and Suicidal IdeationFCA Occasional Paper No. 8: Consumer Vulnerability
Package: absolufy-imports
absolufy-importsA tool and pre-commit hook to automatically convert relative imports to absolute.Installation$pipinstallabsolufy-importsUsage as a pre-commit hook (recommended)Seepre-commitfor instructionsSample.pre-commit-config.yaml:-repo:https://github.com/MarcoGorelli/absolufy-importsrev:v0.3.0hooks:-id:absolufy-importsCommand-line example$absolufy-importsmypackage/myfile.py- from . import __version__+ from mypackage import __version__ConfigurationApplication directoriesIf your package follows the popular./srclayout, you can pass your application directories via--application-directories, e.g.$absolufy-importssrc/mypackage/myfile.py--application-directoriessrc- from . import __version__+ from mypackage import __version__Multiple application directories should be colon-separated, e.g.--application-directories .:src. This is the same as inreorder-python-imports.Only use relative importsUse the--neverflag, e.g.$absolufy-importsmypackage/myfile.py--never- from mypackage import __version__+ from . import __version__
Package: absolute-control
Absolute ControlIntroductionA library for assisting with control of computer processes using python.Install via pip through PyPipipinstallabsolute-controlUsageGet all processes running on the systemfromabsolute_controlimportget_all_processesprocesses=get_all_processes()You may also filter by pid, or by name.fromabsolute_controlimportget_process_by_id,get_process_by_namepid_processes=get_process_by_id(12345)name_processes=get_process_by_name('chrome')Kill all processes on the system.Note: This will kill all processes on the system, including the ones you have not started provided you have permission to do so.fromabsolute_controlimportkill_all_processeskill_all_processes()You may kill processes by name or pid.fromabsolute_controlimportkill_process_by_id,kill_processes_by_namekill_process_by_id(12345)kill_processes_by_name('chrome')Start a new process.fromabsolute_controlimportopen_process_using_commandprocess=open_process_using_command('chrome')TestingTo test the library, run the following commands:cdsrc
pythonrun_tests.pyLicenseThis project is licensed under the MIT license.ContributionThis project is open source. You can contribute by making a pull request or by sending an email toJohnny Irvin
Package: absolute-import
absolute-importAboutPackage providing a one-line functionality to set up a project for ability to perform absolute imports both after setup and with plain download. Additionally, provides namespaces support.UsageAbsolute importIn the root__init__.py.fromabsolute_importimportabsolute_importabsolute_import(file=__file__)In the root__main__.pyor root directly executable python files.fromabsolute_importimportabsolute_importif__name__=="__main__":absolute_import(file=__file__)Absolute import and namespaceIn the root__init__.py.fromabsolute_importimportabsolute_importabsolute_import(file=__file__,name=__name__,path=__path__)In the root__main__.pyor root directly executable python files.fromabsolute_importimportabsolute_importif__name__=="__main__":absolute_import(file=__file__,name=__name__,path=__path__)
Package: absorbing_centrality
This is an implementation of theabsorbing random-walk centralitymeasure for
nodes in graphs. For the definition of the measure, as well as a study of the
related optimization problem and algorithmic techniques, please see the pre-print
publication onarXiv. A short version of this paper will appear in theICDM 2015.To cite this work, please useMavroforakis, Charalampos, Michael Mathioudakis, and Aristides Gionis.
"Absorbing random-walk centrality: Theory and algorithms"
Data Mining (ICDM), 2015 IEEE International Conference on. IEEE, 2015.InstallationYou can install theabsorbing_centralitypackage by executing the following command in a terminal.pip install git+https://github.com/harrymvr/absorbing-centrality#Egg=absorbing_centralityDocumentationFor instructions on how to use the package, consultits documentation.DevelopmentTo run all the tests for the code, you will needtox– check its webpage for instructions on how to install it.Oncetoxis installed, use your terminal to enter the directory with the local copy of the code (here it’s named ‘absorbing-centrality’) and simply type the following command.absorbing-centrality $ toxIf everything goes well, you’ll receive a congratulatory message.Note that the code is distributed under the Open Source Initiative (ISC) license.
For the exact terms of distribution, see theLICENSE.Copyright (c) 2015, absorbing-centrality contributors,
Charalampos Mavroforakis <cmav@bu.edu>,
Michael Mathioudakis <michael.mathioudakis@aalto.fi>,
Aristides Gionis <aristides.gionis@aalto.fi>Changelog0.1.0 (2015-08-31)Working version of the package.
Package: abspath
abspathis a command line tool that prints the absolute paths of all given
files. File names can be piped viaSTDINor given as arguments.Usageabspath file1.txt path/to/file2.pdf
abspath Desktop/*
find . -name *.pdf | abspathInstallationInstallation from PyPIsudo pip install abspathInstallation from the repositorygit clone https://github.com/arne-cl/abspath.git
cd abspath
sudo python setup.py installLicense3-clause BSD.
Package: abspath-notfresh
IntroThis is a command tool like linux commandpwdbut stronger.It's really efficient.When you want to copy a absolute path of some file in your shell, you have to use pwd and then append the file  name, and select it with your mouse or usecontrol + c, but now, just use abspathfilenameand it will copy the absolute path to your clipboard.This just saves you 3 seconds at least per operation.Requirementsjust require python3.6+ and a pip packagepyperclip.InstallIn a python3 enviroment and usepip install abspath-notfreshto install.UsageYou can use the commandabspathwithout param to copy the current directory path orabspath file_or_dir_in_this_directoryto copy the full path to your clipbord.Just so easy and enjoy it!Maintaineremail:notfresh@foxmail.comgithub: github.com/notfresh
Package: absplots
Matplotlibsubplots with absolute margins in mm or inches.Installation:pip install absplotsExample usage:import absplots as apl

# init 150x100 mm figure with 5 mm margins between and around subplots
fig, grid = apl.subplots_mm(figsize=(150, 100), nrows=2, ncols=2,
                            gridspec_kw=dict(left=5, right=5, wspace=5,
                                             bottom=5, top=5, hspace=5))
Package: absresgetter
absresgetterGet absolute resource path of exterior packageSetuppython -m pip install absresgetterDescriptionThere is only one method.getabsres(res: str) -> strThis package find the module in the stack which includes relative resource path like 'ico/sample.png'.You can get the absolute path like 'C:/.../sample_exists_directory/ico/sample.png'.Exampleprint(getabsres('ico/dark-notepad.svg'))# C:/.../ico_dark_notepad_exists_directory/ico/dark-notepad.svg
Package: abst
Auto BastionManage your bastion sessions automatically without
pain of creating them by clicking and copy pasting commandsSupportedOSNo specific requirements here, whatever runs PythonCloud ProvidersOracle CloudRequirementsPython3.7+Configuration of OCI SDKAdd key in your Oracle cloud profileGenerate new keyCopy configuration file generated in your profile to~/.oci/configReplace path of your*.pemkey on line with#TODOInstallingMacOSOn most MacOS machines there ispip3instead ofpipuse pip3 for installInstall and update usingpip:pipinstallabst

or

pip3installabstHow to set upUseabst config fill {context}to fill your credentials for usage, you can find all the
credentials on
cloud provider site, leave context empty if you want to fill defaultUseabst generate {context}to generate default config for context, leave context empty if you
want to generate to
defaultUsageBoth commands do automatic reconnect on idle SSH Tunnel terminationabst create forward/managed {context}for automatic Bastion session creation once
deleted, will keep your,
leave context empty if you want to use default
connection alive till you kill this scriptabst cleanfor removal all the saved credentialsabst use {context}for using different config that you had filled,defaultis the default
context increds.jsonUseabst locate {context}to locate your configs, leave context empty if you want to locate
defaultParallel executionIf you are more demanding and need to have connection to your SSH Tunnels ready at all times
you can use parallel executed Bastions that currently work for full-auto forwarded settingChange local port in the setting to port that is unique to other configs, and it will be running on
all the added ports
Until you kill theabstcommand, it will automatically remove all generated Bastion sessions by
this programabst parallel add {context}will add context from yourcontext folderto stack that will be
executedabst parallel remove {context}will remove context from yourcontext folderto stack that
will be executedabst parallel run {context}will run all the stacked contextsabst parallel displaywill display current stacked contextsHelm registry commandsabst helm loginwill log you in with credentials set in config.json, you set these credentials
when running this command first time. Edit with flag --edit 1-n number is the index of credential
in listabst helm push <chart-name>will push to specified remote branch, if more credentials preset it
will let you pick which one to useKubectl commandsabst cp secret secret_namespace target_namespace source_namespace(optional)this will copy
secret to target namespace, without providing source namespace it will use current as a sourceDid I made your life less painful ?Support my coffee addiction ;)
Package: abstra
✨ Abstra ✨Abstra is a simple way to build business processes in Python, with no engineering overhead and complexity.It's a powerful backoffice engine with:drag'n drop workflow builderdynamic formsserveless endpointsscript schedulerszero-config authenticationone-click scalable deploycloud managed databaseplug'n play api integrationsautomatic audit loggingaccess controland much more! ⚡️🚦 Getting startedThis package is compatible with Python >= 3.8To install, run the following:pip install abstraRun the CLI server in the directory where you'd like to create your Abstra project. This can be any folder:abstra serve ./your-project-directory🧩 Workflow builder for PythonUse Workflows to automate processes that require a mix of manual steps and integrations between systems.A Workflow is made up of Python-coded steps, which are then assembled visually in the editor. All steps share an environment, and can share variables and functions.📝 Scriptable formsForms are Python scripts that allow for user interaction. They are the quickest way to build interactive UIs on the web.With a Form, you can collect user input and use Python code to work with that information however you need. Some examples are making calculations with specialized libs, generating documents and graphs, and sending it to other systems via Requests.🛟 Useful linksWebsite|Docs|Cloud|Youtube|Privacy
Package: abstract-builder
Abstract BuilderУстановкаpip install abstract-builderИспользованиеAbstract builder запускается одной командой:abstract-builder [path]где[path]- путь к каталогу, в котором находятся необработанные файлы. В случае,
если нужно обработать файлы в текущем каталоге, можно выполнить команду:abstract-builder $(pwd)
Package: abstract-data-types
Abstract data typesThis is a package that adds some complex data structures like arrays and graphs that are tailored to suit our needs. Over time we added methods that helped us in specific situations such as the generation of a Voronoi diagram that is included in the matrix, which is perhaps not so related to its operation, however, we added them anyway because the objective to create this library was to learn more about python and try to make as many advances from scratchAuthorsArcos Juan-ArcosJuan.Carazo Medley Matías-Matimed.Licenseabstract-data-types as a whole is licensed under the MIT License - Look theLICENSEfile for details.
Package: abstractfactory
Copyright (c) 2016-2017 David BetzSee test_provider.py unit test for usage.Basically an implementation of an abstract factory pattern.In one system where I use this, I create factories for eachs type of
thing in my system. So, SearchFactory, CloudStorageFactory,
QueueFactory, AristotleFactory, etc… These would implement for ID
interface like ICloudStorageProvider (in Node, it’s just a class).Each of these would have their own switch/case (or whatever) to create
the factory for it. So, for example, I may have config in a YAML file
specifying that I want to use Mongo for my Aristotle provider
(“Aristotle” is what most people incorrectly call “NoSQL”).To begin, create the factory (do this one for the entirety of your
system):abstractFactory = AbstractFactory()Then, add your factories:abstractFactory.set(SearchFactory)
abstractFactory.set(CloudStorageFactory)
abstractFactory.set(QueueFactory)
abstractFactory.set(AristotleFactory)When the time comes, just ask for your provider:provider = abstractFactory.resolve(IAristotleProvider)Your code SHOULD. NOT. CARE. ABOUT. MONGO. It should the your
configuration or something handle that. Don’t tightly couple your
providers.Also note that the resolver also accepts various arguments for extra
flexibility:provider = abstractFactory.resolve(IAristotleProvider, "alternateConnectionString", collection="log")Despite what random bloggers say, service locators are awesome and
provide excellent decoupling.Look at theMockexamples provided with the tests; they’re rather
extensive.