Saravanan666/pypi-org huggingface dataset:
Package: acinonyx
AcinonyxAsinoyx is a package which can simplify your multiprocessing implementation, also you
can easily watch the progress of multiprocessing execution.UsageA simple sample:importtimefromrandomimportrandomfromacinonyximportrundeflog(val):time.sleep(random())returnvalvalues=range(100)print(run(log,values))It will run withcpu_countprocesses and print progress bar, output is below:1%|█       | 1/100 [00:01<00:40,  2.29it/s]
26%|██       | 26/100 [00:01<00:32,  21.29it/s]
100%|██████████| 100/100 [00:03<00:00, 26.86it/s]
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ..., 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99]Also you can use multiple args:importtimefromrandomimportrandomfromacinonyximportrundefadd(a,b):time.sleep(random())returna+bif__name__=='__main__':values=[(i,i)foriinrange(100)]print(run(add,values))Also you can use it in other scenario such as web spider:importrequestsfromrandomimportrandomimporttimefromacinonyximportirundeffetch():delay=random()url='https://httpbin.org/uuid'time.sleep(delay)returnrequests.get(url).json().get('uuid')if__name__=='__main__':forresultinirun(fetch,range(10),ordered=False):print(result)Trouble ShootingNSPlaceholderDate initialize errorobjc[67206]:+[__NSPlaceholderDateinitialize]mayhavebeeninprogressinanotherthreadwhenfork()wascalledTry to set env before execute script:exportOBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
Package: acit1515
ACIT 1515A test framework for ACIT 1515 - Scripting for ITThe framework relies on the following assumptions:Assignments must consist of:Simple functions with no side effectsFunctions must not sys.exit, raise exceptions, or otherwise terminate the programFunctions must not output or accept input. Input, output, and user interaction must be confined to__main__Test functions are organized in order of blocking requirements, where x is the maximum number of marks for the question, e.g.:First function tests if a value is returned (x marks deducted if failing)Second function tests if value is correct type (x - 1 marks deducted if failing)Third function tests is value is valid (x - 2 marks deducted if failing)etc.
Package: acit4040-config-helper
Acit4040 Config HelperConfig Helper provides multiple ways of getting configuration data from
environment variables and secrets from GCP Secret Manager..Environment VariablesAs of version 0.1.1, the following methods are supported:get_envvar_int(envvar_name: str, default_value: int | None = None) -> intReads an integer from the environment variable inenvvar_name.Supports fallback values withdefault_value.get_envvar_path(envvar_name: str, check_exists: bool = True) -> PathReads a path from the environment variable inenvvar_name.Supports checking if the path exists withcheck_exists.Does not support fallback values.get_envvar_str(envvar_name: str, default_value: str | None = None) -> strReads a string from the environment variable inenvvar_name.Supports fallback values withdefault_value.GCP Secret ManagerAs of version 0.1.1, the following methods are supported:get_secret(env_var_name: str, fallback_env_var_name: t.Optional[str]) -> strReads a text secret from GCP Secret Manager.Supports fallback values withfallback_env_var_name.get_secret_file(env_var_name: str, output_file: Path, fallback_env_var_name: t.Optional[str]) -> PathReads a binary secret/a file from GCP Secret Manager and writes it tooutput_file.Supports fallback values withfallback_env_var_name.
Package: ackack
(Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 License, Author Wonder Wafflehttps://www.deviantart.com/wonder-waffle/art/ACK-ACK-Mars-Attacks-359710975)Have fun with your vaccuum robot!AckAck is a simple control API to manually controll weback vacuum robots.
Paired with its web interface, and a RTPS (in my case, I’m using an old yi ants
camera withyi-hack)This way you can remotely-scare your cats!KeysUse your arrow keys to move the robot left, right, go front or turn backwards.
Enter will start cleaning and backspace will stop.Environment variablesYou’ll need to setup your weback username and password.
Usually, this will be your phone + the password you use on the control app.
Besides that, only RTSP_URL is required.KEYDescriptionRTSP_URLYi camera’s RTSP stream URLWEBACK_USERNAMEYour weback’s username (phone number)WEBACK_PASSWORDYour weback’s passwordBASE_URLBase URL, for reverse proxiesInstallationDockerWith docker, just setup the specified env vars and launch the image.
You can use the following docker-compose.yml example.
Setting base_url is useful in reverse proxy scenarios (like traefik).version:"3.3"services:ackack:image:XayOn/ackackrestart:unless-stoppedports:-8080:8080environment:RTSP_URL:http://192.168.1...WEBACK_USERNAME:+33-123123123WEBACK_PASSWORD:yourpasswordBASE_URL:/ackackManual setupInstall the project, set your environment variables, launch ffmpeg to create a
m3u8 file in static/playlist.m3u8 from your rtsp.Requires ffmpeg. Check your distro’s instructions on how to install ffmpeg
You can checkout docker-entrypoint.sh and use its ffmpeg commandpipinstallackackWEBACK_USERNAME="+34-XXXX"WEBACK_PASSWORD="XXXX"poetryrunuvicornackack:appHow does it work?Ackack is simply an API for movement commands on python’sweback unofficial
library, with an interface in
plain html + js (with just videojs, minimal), paired with an ffmpeg command
that converts the rtsp output of the yi camera to a format playable by your
browser.
Package: ackit
ackitackit(aho-corasick kit) is a simple and pure python package and its method like pyahocorasick.pyahocorasick is a fast and memory efficient library for exact or approximate multi-pattern string search meaning that you can find multiple key strings occurrences at once in some input text. The strings “index” can be built ahead of time and saved (as a pickle) to disk to re re-sed later. The library provides an ahocorasick Python module that you can use as a plain dict-like Trie or convert a Trie to an automaton for efficient Aho-Corasick search.Installpip install ackit
Package: ackl
acklPublicationAnalytical chemistry kernel library for spectroscopic profiling data, Food Chemistry Advances, Volume 3, 2023, 100342, ISSN 2772-753X, https://doi.org/10.1016/j.focha.2023.100342.PyPI (Python Package Index) repositoryhttps://pypi.org/project/ackl/Reproducible Code-Ocean capsulehttps://doi.org/10.24433/CO.4614220.v2Install (Ubuntu Env Setup)!apt-get install r-base r-base-dev ffmpeg libsm6 libxext6 

!pip install rpy2
!pip install qsi==0.3.9
!pip install ackl==1.0.2
!pip install cla==1.1.4
!pip install opencv-python

# Post-install script

#!/usr/bin/env bash
set -e

Rscript -e 'install.packages("ECoL")'UseKernel Response Patternsimport ackl.metrics
ackl.metrics.linear_response_pattern(20)Run Kernels on Target Dataset_, dics, _ = ackl.metrics.classify_with_kernels(X, y,embed_title = False)Show the result as HTML table and bar charts:html_str = ackl.metrics.visualize_metric_dicts(dics, plot = True)
display(HTML( html_str ))
Package: acky
Acky LibraryThe Acky library provides a consistent interface to AWS. Based on botocore, it
abstracts some of the API work involved and allows the user to interact with AWS
APIs in a consistent way with minimal overhead.Acky takes a different approach to the API from libraries like the venerableBoto <https://github.com/boto/boto>. Rather than model AWS objects as Python
objects, Acky simply wraps the API to provide a more consistent interface. Most
objects in AWS are represented as collections in Acky, with get(), create(),
and destroy() methods. The get() method always accepts a filter map, no matter
if the underlying API method does.In cases where the API’s multitude of parameters would make for awkward method
calls (as is the case with EC2’s RunInstances), Acky provides a utility class
whose attributes can be set before executing the API call.Using AckyAcky uses a botocore-style AWS credential configuration, the same as the
official AWS CLI. Before you use Acky, you’ll need toset up your config
<http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html>.Once your credentials are set up, using acky is as simple as creating an
instance of the AWS object:from acky.aws import AWS
aws = AWS(region, profile)
instances = aws.ec2.Instances.get(filters={'tag:Name': 'web-*'})
print('Found {} web servers'.format(len(instances)))
for instance in instances:
    print('  {}'.format(instance['PublicDnsName'])Module StructureThe expected module structure for Acky follows. Many APIs are not yet
implemented, but those that are can be considered stable.AWSusername (property)userinfo (property)account_id (property)environment (property)ec2regionszonesACEsACLsElasticIPsInstancesIpPermissionsKeyPairsPlacementGroupsSecurityGroupsSnapshotsSubnetsVPCsVolumesiamUsersGroupsKeysrdsengine_versionsInstancesSnapshotsEventSubscriptionsSecurityGroupsSecurityGroupRulessqsQueuesMessagesstsGetFederationTokenGetSessionTokenOther services will be added in future versions.Installing ackyacky is available in PyPI and is installable via pip:pip install ackyYou may also install acky from source, perhaps from the GitHub repo:git clone https://github.com/RetailMeNot/acky.git
cd acky
python setup.py install
Package: acl2-kernel
acl2-kernelJupyter Kernel for ACL2What is Jupyter and ACL2?Project Jupyter exists to develop open-source software, open-standards, and services for interactive computing across dozens of programming languages. (https://jupyter.org/)ACL2 is a logic and programming language in which you can model computer systems, together with a tool to help you prove properties of those models. "ACL2" denotes "A Computational Logic for Applicative Common Lisp". (http://www.cs.utexas.edu/users/moore/acl2/)UsageWe follow to the standard jupyter kernel installation. So, you will install the kernel bypipcommand,
and will call the installation command like,$pip3installjupyteracl2-kernel
$python3-macl2_kernel.install
$jupyternotebookYou also can see the deep usage bypython3 -m acl2_kernel.install --help.DockerIn some case, you might want to run the kernel in the Docker containers.
This repository contains Dockerfile example. You can build example image by the following command.$ docker build . -t acl2To run the container, you would type the command like$ docker run --rm -p 8888:8888 acl2 jupyter notebook --ip='0.0.0.0'A running example is available in theexample/directory.
You can try it on.Building from sourceInstallPoetryand in the root directory, do$ poetry build
$ pip3 install dist/acl2-kernel-<version>.tar.gz
$ python3 -m acl2_kernel.install --acl2 <path-to-acl2-binary>Related ProjectsJupyter- Softwares for interactive computingACL2- Theorem prover based on Common LispLicenseThis project is released under the BSD 3-clause license.Copyright (c) 2020, TANIGUCHI Masaya All rights reserved.We borrow code from the following projects.Egison Kernel; Copyright (c) 2017, Satoshi Egi and contributors All rights reserved.Bash Kernel; Copyright (c) 2015, Thomas Kluyver and contributors All rights reserved.
Package: acl-anthology-py
acl-anthology-pyThis package accesses data from theACL
Anthology.DocumentationPackage on PyPIHow to useInstall viapip:$pipinstallacl-anthology-pyInstantiate the library, automatically fetching data files from theACL
Anthology repo(requiresgitto be
installed on your system):fromacl_anthologyimportAnthologyanthology=Anthology.from_repo()Some brief usage examples:>>>paper=anthology.get("C92-1025")>>>str(paper.title)Two-Level Morphology with Composition>>>[author.nameforauthorinpaper.authors][Name(first='Lauri', last='Karttunen'),Name(first='Ronald M.', last='Kaplan'),Name(first='Annie', last='Zaenen')]>>>anthology.find_people("Karttunen, Lauri")[Person(id='lauri-karttunen', names=[Name(first='Lauri', last='Karttunen')],item_ids=<set of 30 AnthologyIDTuple objects>, comment=None)]Find more examples and details on the API in theofficial
documentation.DevelopingThis package uses thePoetrypackaging system.
Development is easiest with thejustcommand runner; runningjust -lwill list all available recipes, whilejust -n <recipe>will print the commands that the recipe would run.Running checks, pre-commit hooks, and testsjust checkwill runblack,ruff,mypy, and some other pre-commit hooks on all
files in the repo.just install-hookswill install pre-commit hooks so they run on every
attempted commit.just test-allwill run all testsexceptfor tests that run on the full
Anthology data.just test NAMEwill only run test functions withNAMEin them.just test-integrationwill run tests on the full Anthology data.just fix-and-test(orjust ftfor short) will run all checks and tests,
additionally re-running the checks on failure, so that the checking and
testing will continue even if some hooks have modified files.The justfile defines several more useful recipes; list them withjust -l!Running benchmarksThere are some benchmark scripts intended to be run withrichbench:poetryrunrichbenchbenchmarks/Generating and writing documentationjust docsgenerates the documentation in thesite/folder.just docs-serveserves the documentation for local browsing.Docstrings are written inGoogle
styleas thissupports the most
featureswith the mkdocstrings handler (particularly compared to Sphinx/reST).
Package: aclass
aclassTool making your quarantine life so much easier.Are you tired of typing in credentials of your online classes?
I came up with solution. Now you can install aclass python package withpip3.Installationpip3installaclassConfigurationTo configure aclass after installation run:aclass--configureThis command will createclasses.jsonfile in root directory of package.
After json file is create you will be redirected tovimin order to edit the already created template.
Template is locatedhere.Running this command again will overwrite already existing file and remove all contents.Example{"maths":"link to your maths class","cs":"link to your cs class"}If you are wondering how json syntax works visitthis page.UsageJoining to your class is pretty simple. As the second argument you take name of object you assigned link inclasses.jsonto.
For example; in example above we have two classes: "maths" and "cs". You can name however you want. Key is to remember name of object.If you would like to join to your Computer Science class:aclass--joinname-of-cs-class-in-json-file
Package: aclc-ba
ACTAB (Arabic Centre Tools by Bibliotheca Alexandrina) is a collection of open source Python modules for Arabic language processing developed byBibliotheca Alexandrina.InstallationYou will need Python > …Linux/macOSInstall using pippipinstallactab# or run the following if you already have actab installedpipinstallactab-tools--upgradeInstall from source# Clone the repogitclonehttps://github.com/ba-aclc/actabcdactab# Install from sourcepipinstall.# or run the following if you already have actab installedpipinstall--upgrade.WindowsInstall using pippipinstallactab......# or run the following if you already have actab installedpipinstall--upgrade........actabInstall from source# Clone the repogitclonehttps://github.com/ba-aclc/actabcdactab# Install from sourcepipinstall.......pipinstall--upgrade........DocumentationCitationIf you find actab useful in your research, please citeour paper:@{,title = "",author = "",month = ,year = "",publisher = "",url = "",abstract = "We present actab, a collection of open-source tools for Arabic natural language processing",language = "English",ISBN = "",}LicenseACTAB is available under the GNU General Public License v3.0.
See theLICENSE filefor more info.ContributeIf you would like to contribute to ACTAB, please read theCONTRIBUTE.rstfile.
Package: aclhound
[link_documentation]:https://github.com/job/aclhound/blob/master/DOCUMENTATION.mdACLHOUND[![Build Status](https://travis-ci.org/job/aclhound.svg?branch=master)](https://travis-ci.org/job/aclhound)
[![Coverage Status](https://coveralls.io/repos/job/aclhound/badge.svg?branch=master)](https://coveralls.io/r/job/aclhound?branch=master)SummaryACLHound takes as input policy language following a variant of the [AFPL2] [1]
syntax and compiles a representation specific for the specified vendor which
can be deployed on firewall devices.Table of contents[Design goals](#design-goals)[Supported devices](#supported-devices)[Installation notes](#installation-notes)[Copyright and license](#copyright-and-license)Design goalsACLHound is designed to assist humans in managing hundreds of ACLs across
tens of devices. One key focus point is maximum re-usability of ACL
components such as groups of hosts, groups of ports and the policies
themselves.Supported devicesCisco ASANo support for ASA 9.1.2 or higher (yet)Cisco IOSWill autodetect IPv6 support through`show ipv6 cef`Juniper (planned)Installation notesStep 1: get the code` sudo pip install aclhound `DocumentationDocumentation can be found [here][link_documentation]. This describes directory structure, ACLhound language syntax and examples.Copyright and licenseCopyright 2014,2015 Job Snijders. Code and documentation released under the BSD
2-Clause license.ACLHound’s inception was commissioned by the eBay Classifieds Group.[1]:http://www.lsi.us.es/~quivir/sergio/DEPEND09.pdf“AFPL2”
[2]:http://jenkins-ci.org/“Jenkins”
[3]:https://wiki.jenkins-ci.org/display/JENKINS/Gerrit+Trigger“Gerrit Trigger”
Package: acli
acli========[![Build Status](https://travis-ci.org/jonhadfield/acli.svg?branch=master)](https://travis-ci.org/jonhadfield/acli)acli is a simple CLI for querying and managing AWS services, written in Python using the [boto3](http://aws.amazon.com/sdk-for-python/ "boto3") SDK and [terminaltables](https://github.com/Robpol86/terminaltables "terminal tables") libraries.Please submit any issues encountered.Latest changes ([changelog](https://github.com/jonhadfield/acli/blob/master/CHANGELOG.md "Changelog"))------------0.1.32 (18th April 2017)- Provide info on EFS file systems and targets- Fix issue where authentication issues were hidden0.1.31 (8th Jan 2017)- Add IAM user listing and user info- Fix secgroup list option- S3 - treat file as binary when getting md50.1.30 (18th August 2016)- Embed Six (remove external dependency)- Python 3 compatibility for S30.1.29 (29th July 2016)- Move s3 owner information to s3 info- Python 3 compatibility- Minor fixes0.1.28 (25th July 2016)- Add s3 owner information0.1.27 (25th July 2016)- Broken0.1.26 (24th July 2016)- Add basic support for EFS- Minor fixes0.1.25 (23rd July 2016)- Correct ec2 instance counts- Fix python 3 compatibility- Fix output issues with s3 and ec2- Upgrade dependencies0.1.24 (5th April 2016)- Improve permission checks to prevent false negatives- Minor fixesInstallation------------Simple:sudo pip install acliLatest (from source):git clone git@github.com:jonhadfield/acli.gitsudo python setup.py installSetup-----Using the boto3 library means that credentials will be retrieved from the standard locations: http://boto3.readthedocs.org/en/latest/guide/configuration.html#configuration-filesAlternatively, you can specify them on the command line (see -h option for details).Usage-----To see available services and commands, run:acli -hExamples--------List ec2 instances in the account matching:acli ec2 listView information on an instance:acli ec2 info i-12ab3c45List contents of an S3 bucket:acli s3 list my_bucketLicense-------MIT
Package: aclib
aclib - The alphacruncher python libraryInstallation$pipinstallaclibUsageThe library provides 2 convenience functions for connecting to the remote database with your credentials.
It assumes that you have a credential file~/.odbc.iniin the following format[nuvolos]
uid = <username>
pwd = <password>The library will also look for a special/lifecycle/.dbpathfile.
When used inside an Alphacruncher application, this file is populated by the platfrom
with the db and schema name of the application, and the library will pick these up automatically.You can then get the SQLAlchemy connection string, or create an SQLAlchemy engine directly:>>> from aclib import get_url, get_engine
>>> get_url()
'snowflake://<username>:<password>@alphacruncher.eu-central-1/?warehouse=<username>'
>>> get_url("db_name","schema_name")
'snowflake://<username>:<password>@alphacruncher.eu-central-1/?warehouse=<username>&database=db_name&schema=schema_name'
>>> eng = get_engine("db_name","schema_name")Source:https://github.com/datahub-ac/python-connector
Package: aclib.autowin
InstallationGeneralpip install aclib.autowinwork with dmpip install aclib.autowin[dm]work with cvpip install aclib.autowin[cv]full installationpip install aclib.autowin[full]Usagefromaclib.autowin._typingimport*fromaclib.autowinimportscreen,Window,AppWindowfromaclib.autowin.cvwindowimportCvWindow,Target# [cv] requiresfromaclib.autowin.dmwindowimportDmWindow,Target# [dm] requires# full requires# if all requires ready, you can get all api from this module# the classs 'Window' in this module is inherit from 'CvWindow' & 'DmWindow'fromaclib.autowin.windowsimportscreen,Window,AppWindow,Target
Package: aclib.pip
DescriptionFeatureacpip displays packages faster than pip.acpip provides short commands, it make everything so easy.acpip will analyze dependency relationship recursively when uninstall,then remind you if uninstalling package is required by other packages or not,also list the dependencies which are not required by other packages,
except pip and setuptools, you can use option -d to uninstall them together.although they are not required by other packages, maybe your project is
using some of them independently. so you can select
which dependcies not to uninstall before uninstallation start,
and if you select one, its dependencies will not be uninstalled either.AboutThis is a new project, i couldn't know all about specification of python distribution temporarily,
so sometimes i used pip to parse informations, it may be removed in future versions.Installationpip install aclib.pipUsage in command lineusagepython -m aclib.pip <command> [options]
acpip <command> [options]commands# list installed packages.
acpip li
acpip ls
acpip list


# show information about all installed packages.
acpip show

# show information about given packages.
acpip show pk1 pkg2 ... pkgn


# uninstall packages.
# use option -y to uninstall without comfirm.
# use option -d to uninstall dependencies together.
acpip uni [-y/-d] pkg1 pkg2 ... pkgn
acpip uninstall [-y/-d] pkg1 pkg2 ... pkgnUsage in python codeIn addition, this module also provides interfaces to access the informations about installed packages.# import aclib.pip
from aclib.pip import Distribution, SitePackages
Package: aclick
aclickaclickis a python library extendingclickwith the support for typing. It uses function signatures to
automatically register options to parsers. Please refer to thedocumentation.The following features are currently supported:Positional-only parameters are added as click Arguments, other parameters become click Options.Docstring is automatically parsed and used to generate command and parameter descriptions.Arguments withint,float,str,boolvalues both with and without default value.Complex structures of classes and dataclasses that are automatically inlined as a single string, e.g.,class1("arg1", arg2=class2()).Complex structures of classes and dataclasses that are expanded as individual options with thehierarchical=Trueoption enabled.TypeUnionof complex classes both inlined and hierarchical.TypeOptionalof inlined complex classes.TypeLiteralof strings.Lists and tuples of both the primitive and inlined complex types.Parameters can be renamed.Parameter values can be loaded from a JSON, YAML, or other file.Configuration can be loaded using thegin-configpackage.For other features please refer to thedocumentation.InstallationInstall the library from pip:$ pip install aclickGetting startedImportaclickinstead ofclick:# python main.py test --arg2 4importaclick@aclick.command()defexample(arg1:str,/,arg2:int=5):passexample()When usingclick.groups:# python main.py example test --arg2 4importaclick@aclick.group()defmain():pass@main.command('example')defexample(arg1:str,/,arg2:int=5):passmain()For further details please look at thedocumentation.LicenseMIT