Saravanan666/pypi-org huggingface dataset:
Package: autonormalize
AutoNormalizeAutoNormalize is a Python library for automated datatable normalization. It allows you to build anEntitySetfrom a single denormalized table and generate features for machine learning usingFeaturetools.Getting StartedInstallDemosAPI ReferenceInstallpipinstallfeaturetools[autonormalize]UninstallpipuninstallautonormalizeDemosBlog PostMachine Learning Demo with FeaturetoolsKaggle Liquor Sales Dataset DemoDemo with Editing DependenciesKaggle Food Production Dataset DemoAPI Referenceauto_entitysetauto_entityset(df,accuracy=0.98,index=None,name=None,time_index=None)Creates a normalized entityset from a dataframe.Arguments:df(pd.Dataframe) : the dataframe containing dataaccuracy(0 < float <= 1.00; default = 0.98) : the accuracy threshold required in order to conclude a dependency (i.e. with accuracy = 0.98, 0.98 of the rows must hold true the dependency LHS --> RHS)index(str, optional) : name of column that is intended index of dfname(str, optional) : the name of created EntitySettime_index(str, optional) : name of time column in the dataframe.Returns:entityset(ft.EntitySet) : created entity setfind_dependenciesfind_dependencies(df,accuracy=0.98,index=None)Finds dependencies within dataframe with the DFD search algorithm.Returns:dependencies(Dependencies) : the dependencies found in the data within the contraints providednormalize_dataframenormalize_dataframe(df,dependencies)Normalizes dataframe based on the dependencies given. Keys for the newly created DataFrames can only be columns that are strings, ints, or categories. Keys are chosen according to the priority:shortest lenghtshas "id" in some form in the name of an attributehas attribute furthest to left in the tableReturns:new_dfs(list[pd.DataFrame]) : list of new dataframesmake_entitysetmake_entityset(df,dependencies,name=None,time_index=None)Creates a normalized EntitySet from dataframe based on the dependencies given. Keys are chosen in the same fashion as fornormalize_dataframeand a new index will be created if any key has more than a single attribute.Returns:entityset(ft.EntitySet) : created EntitySetnormalize_entitysetnormalize_entityset(es,accuracy=0.98)Returns a new normalizedEntitySetfrom anEntitySetwith a single entity.Arguments:es(ft.EntitySet) : EntitySet with a single entity to normalizeReturns:new_es(ft.EntitySet) : new normalized EntitySetBuilt at Alteryx Innovation Labs
Package: autonose
Autonose is an autotest-like tool for python, using the excellent nosetest
library.Features:Re-run tests instantly when you save a fileRe-runs only tests that have failed or depend on changed filesGTK GUI (console fallback for other platforms or by passing in –console)focus mode: keep running a single test (GUI only)To activate focus mode, click the large grey circle next to the test result.
To go back to normal mode, click the “#” in the status bar (next to the
number of tests run).Note: on a Mac, to get immediate filesystem notification you may need to install
watchdog usingeasy_install, as it needs to compile a native extension which
isn’t included in the 0install package.Advanced use:nosetests has a lot of options and plugins. autonose tries to work as best
it can with them, but be warned that some plugins will interfere with autonose
(particularly any that do their own output or manage test results).However, you can pass any options you want to nose by prefixing them with-x,
or by using--config=nose.cfgif you have a config file.
(e.g. to turn on doctest, you should pass-x--with-doctestto autonose)Notes:Autotest does not (currently):understand dynamic imports (use of__import__)track any file types other than.py
Package: autonote
autonoteDescriptionAutomate creating daily, weekly, monthly, and quarterly manual repetitive documents:Daily: daily journal, habit trackerWeekly: weekly reportMonthly: monthly reportQuarterly: quarterly reviewPrerequisiteConfluence API Tokenexport CONFLUENCE_URL=https://xxx.atlassian.net
export CONFLUENCE_USERNAME=<yourname>@domain.com
export CONFLUENCE_PASSWORD=<TOKEN>Notion Integration Tokenexport NOTION_INTEGRATION_TOKEN=xxxPlease do not forget toshare the target database/page with your integrationInstallationpip install autonoteUsage Example (Notion: Create a page from a template.)Create a template page.Prepare Python script.fromautonote.notionimportNotionClientclient=NotionClient()kwargs={"Date":{"start":"2023-02-04","end":"2023-02-10"},"replace_rules":[{"block_types":["heading_1"],# target blocks to apply replacement"replace_str":"YYYY/MM/DD",# replacement string match"replace_type":"datetime",# currently only support "datetime""date_format":"%Y/%m/%d",# used to parse `start_date` and generate string from datetime when interpolating"start_date":"2023/02/04",# start date"increment":True,# if true, increment 1 day every time replacement is executed},],}client.create_page_from_template(template_id="a7cc4f73460c4b9fa82be8d4ed74d8ca",title="weekly note",override=True,**kwargs)Run the script.pip install autonote
python main.pyGenerated page:For more examples, please checkexamples.Creditsautonotewas created withcookiecutterand thepy-pkgs-cookiecuttertemplate.Licenseautonotewas created by Masato Naka. It is licensed under the terms of the MIT license.ReferencesAtlassian Python API Confluence modulenotion-clientNotion API
Package: auto-notion-py
Notion automation utilitiesNote: Package in heavy developmentInstallation:$poetryadd"auto_notion_py==0.1.4"Quick exmple:fromauto_notion_py.github.apiimportget_pull_requests_df,GHFetch,GHFetchOrg,GHFetchRepofromauto_notion_py.notion.apiimportnotion_db_pushfromauto_notion_py.zotero.apiimportget_zotero_publications_dfimportasyncio# Query all Zotero publications and update the Notion databasezotero_df=awaitget_zotero_publications_df(zotero_api_key,zotero_db_id,)awaitnotion_db_push(notion_token,notion_db_id_zotero_publications,zotero_df)# Query all PRs and update the Notion databaseall_prs_df=awaitget_pull_requests_df([GHFetch(token=github_token,creators=None,organizations=[GHFetchOrg(name="covid-genomics",creators=None,repositories=None,),],),])awaitnotion_db_push(notion_token,notion_db_id_pull_requests,all_prs_df)
Package: autonvtx
Installpip install autonvtxUsageWrite your model as usual andautonvtx(model)to your model:importtorchimportautonvtxclassModel(torch.nn.Module):def__init__(self):super().__init__()self.layer1=torch.nn.Linear(5,5)self.layer2=torch.nn.Linear(5,5)defforward(self,x):x=self.layer1(x)x=self.layer2(x)returnxm=Model().cuda()autonvtx(m)input_=torch.randn(1024,5,device='cuda')torch.cuda.profiler.start()for_inrange(10):output=m(input_)torch.cuda.profiler.stop()The screenshot for this would be:It also works with existing models:importtorchimporttorchvisionimportautonvtxm=torchvision.models.resnet50()autonvtx(m)input_=torch.randn(10,3,224,224)torch.cuda.profiler.start()for_inrange(10):output=m(input_)torch.cuda.profiler.stop()The screenshot for this would be:
Package: auto-obsidian
MetalayerWhen you install this package, you will get a command line tool calledmetalayer.To initialize your knowledge repo, run the following command, which will walk you through the process:metalayerinitWhen you've initialized the knowledge repo, run the following command:metalayerrunThis will start recording your screen(s) and printing a bunch of stuff.
Once you start looking at stuff related to the folders you created, files should start appearing in those folders.
After a few minutes, open up your Knowledge Repo folder up in Obsidian to explore the notes!To stop the metalayer. Typeq+enterin the terminal window where you ranmetalayer run.
This stops the program gracefully, but if you need to hard-stop just type^C(control+c).Manual Set-up (Optional)This section is OPTIONAL. Ignore unless you want/need to set up the metalayer manually.PermissionsFor each of the following pages in the settings app, you need to check the box next to Terminal or add Terminal.System Preferences > Privacy & Security > Screen RecordingSystem Preferences > Privacy & Security > AccessibilitySystem Preferences > Privacy & Security > Input MonitoringIf you're using chrome, you also need to enable apple events since metalayer uses those to get the
title of the active tab and other metadata.
To do this, open chrome then click View > Developer > Allow JavaScript from Apple Events.Setting up your knowledge repoThe tutorial inmetalayer initwill walk you through this, but in case you want to do it yourself this heres how:Before you start recording your screen and saving auto-generated markdown notes to a folder,
you need to first create the folder. I call mine Knowledge Repo. To set your folder as the obsidian vault root, run:metalayerset-vault-dir<path-to-your-folder>Then, create a subfolder for each topic you want to record notes for.
NOTE: for each subfolder, you need to create a file called_desciption.md,
which should have a 1-3 sentence description of what you want to be indexed into that folder.
A more specific description will make filtering quality better. Here's an example from my repo:Knowledge Repo
├── Control Theory
│   ├── _description.md
│   └── Model Predictive Control
│       └── _description.md
└── Evolutionary Algorithms
    └── _description.mdEvolutionary Algorithms/_description.md:Everything related to evolultionary algorithms an genetic algorithms, including motiviation, 
parallels to biological evolution, computational properties, implementation, variants, applications, etc.
Package: auto-ohin
auto-ohinYou can ohin on the input pdf easily.Installationpip install auto-ohinRequirementPillow="^8.0.1"reportlab="^3.5.55"PyPDF4="^1.27.0"jsonnet="^0.16.0"Usage1. First you only need config files like below.localroot="path/to/root";# row pathlocalpathgen(path)=root+path;{"input_path":pathgen("input.pdf"),# pdf path on which you want to sign"save_path":pathgen("output.pdf"),# save path you want to save"img_path":pathgen("inkan.png"),# img path which you want to put on the pdf"obj_pages":[1,3],# List of page numbers you want to put. This is 1-indexed."position":[147,225],# The position List(mm)[width, height] to put image. The origin point is the lower left corner."img_size":[20,20]# List(px)[width, height] you want to resize.}2. Run simply in commandlines.auto-ohinpath/to/config.jsonnetAuthorSota Misawa (mitawaut)mathematical engineering faculty of UTokyoE-mail:so.misawa.research@gmail.comLicense"auto-ohin" is underMIT license.
Package: autoopen
autoopenautoopenis a small drop-in replacement for the most common use cases of Python’s built-in open() function that will automatically handle compressed files based on the filename.UsageFor example:fromautoopenimportautoopenfilename="example.txt.xz"withautoopen(filename,"rt",encoding="utf-8")asfile:contents=file.read()autoopenwill check the given filename’s last suffix. If it indicates one of the supported compressors, the corresponding compressor or decompressor will be used, otherwise it falls back to built-inopen.Support for .gz, .bz2, .xz, .lzma, and .zst/.zstd is built-in (the latter requires thepython-zstandardpackage). The special filename-indicates reading from stdin or writing to stdout.
Package: auto-openvpn
auto-openvpnA command line interface for creating an OpenVPN account which will last for 5 days.OpenVPN supports unlimitedonline gamingand works for Port53, 8080 and 25000.PrerequisitesSeleniumDownload Chrome Drivers fromhereNow, extract the zip and save folder to Home Drive.Also addC:\chromedriver_win32toPATHvariable.UDP VPN configThese authentication credentials are meant for UDP VPN.Download UDP VPN config fromhere, and choose port 53.Installation$pipinstallauto-openvpnUpdating$aovpn-UDemoUsing$aovpn4CSGoCreatingOpenVPNaccountfor4CSGo.Thismaytakeupto20seconds....Username:udpvpn.com-4CSGo(Copiedtoyourclipboard)Password:testValidtill25/06/2018How does it work?It uses Headless Chrome driver to loadhttps://www.tcpvpn.com/homeand then select Asia -> India -> UDP VPN, and then submits the form for creating an account for 5 days with randomusernameandpasswordastestandcopiesthe username to your clipboard.LimitationsYou should not make more than 3 accounts in a day and more than one in a minute.This may lead to blocking your IP forever.Made from scratch byAashutosh Rathi
Package: autooptimizer
AutoOptimizer package provides tools for automatically optimizing machine learning models.It uses Exhaustive Search Mechanism with Hyperparameter Tuning for optimizing machine learning models.
It also provides evaluation metrics for regression models, and ability to delete outliers with several methods.#Prerequisites:{ sklearn - numpy - pandas }#Install package:pip install autooptimzer#Install package in jupyter notebook:1- open anaconda prompt (It is recommended open as administrator)2- pip install autooptimzer#Usage:Optimize machine learning models using python.Clustering: DBSCAN, KMeans, MeanShift, Mini Batch K-MeansSupervised: KNeighborsClassifier, KNeighborsRegressor, DecisionTreeClassifier, DecisionTreeRegressor, SupportVectorClassifier, SupportVectorRegressor, LogisticRegression, LinearRegressionEnsemble: RandomForestClassifier, RandomForestRegressor, GradientBoostingClassifier, GradientBoostingRegressor, AdaBoostClassifier, AdaBoostRegressor, BaggingClassifier, BaggingRegressor, ExtraTreesClassifierMetrics for regression models.Clear data by removing outliers.Download Document:https://genesiscube.ir/wp-content/uploads/2023/03/Auto-Optimizer-document-0.8.9.pdfFor more information visit:https://genesiscube.ir/autooptimizer/#Contact and Contributing:Please share your good ideas with us. Thanks for contributing with the program.https://github.com/mrb987/autooptimizerinfo@GenesisCube.irwww.GenesisCube.ir
Package: auto-optional
auto-optionalauto-optional: adds the Optional type-hint to arguments where the default value is NoneDocumentation:auto-optional.daanluttik.nlSource Code:github.com/luttik/auto-optionalWhat does auto-optional doThe basic purpose of auto-optional is ensuring that whenever a default argument isNonethe type annotation is Optional.For example:deffoo(bar:str=None):...Would turn intofromtypingimportOptionaldeffoo(bar:Optional[str]=None):...Why would you want thisEasily modify external libraries that didn't pay attention
to proper use of optional to improve mypy lintingf.Force consistency in your own code-base:
Enforcing thatNoneparameter implies anOptionaltype.Explicit is better than implicit —pep 20In the media:auto-optional was covered onPythonBytes #251I love these little tools that you can run against your code that will just reformat them to be better.— Michael KennedyInstallInstall withpip install auto-optional.RunAfter installing you can run auto-optional usingauto-optional [paths...](if no path is provided it'll process the current working directory).pre-commitYou can run auto-optional viapre-commit.
Add the following text to your repositories.pre-commit-config.yaml:repos:-repo:https://github.com/luttik/auto-optionalrev:v0.3.1# The version of auto-optional to usehooks:-id:auto-optionalThings of noteThings that are handled wellThe alternatives toOptionalare supported, that means both;Union[X, None]x | None(allowed since python 3.10+).Existing imports are reused.import asandfrom typing import ...statements are properly handled.Things that need improvementFor all these points you can leave a thumbs-up if you want it. Also, I welcome pull-requests for these issues.There is no exclude (for file patterns) option yet[#2]There is no ignore (for code lines) option yet[#3]Code is aways read and written asUTF-8(which is accurate most of the time).[#4]There is nodifforcheckcommand yet for a dry-run or linting.[#5]
Package: autopack-tools
AutoPackAutoPack is a Python library and CLI designed to interact with theAutoPack repositoryrepository, a collection of tools for AI. It is designed to be agent-neutral with a simple interface.InstallationYou can install AutoPack using pip:pipinstallautopack-toolsUsageAutoPack provides both a CLI and a Python library for interacting with the AutoPack repository.CLI:autopackSearch for Packs:autopack search {query}Install Packs:autopack install {Pack ID}Python library:autopackTheautopackPython library allows you to work with Packs programmatically. Key functionalities include:Search for Packs:pack_search(query)Get a Pack:get_pack(pack_id)Get all installed Packs:get_all_installed_packs()Install a Pack:install_pack(pack_id)Select packs using an LLM:select_packs(task_description, llm)For detailed examples and more information, refer to
theAutoPack documentation.ContributingWe welcome contributions to the AutoPack ecosystem. Here are some ways you can help:Create new tools!Expand the AutoPack repository by developing and submitting your own tools. Share your ideas and
solutions with the AutoPack community.Try it out for yourself: Test AutoPack in your projects and provide feedback. Share your experiences, report bugs,
and suggest improvements by opening issues on GitHub.Contribute code: Help improve AutoPack by opening pull requests. You can choose to work on unresolved issues or
implement new features that you believe would enhance the functionality of the library. Please note that the AutoPack
library is intentionally designed to be compact and straightforward.We appreciate your contributions and look forward to your involvement in making AutoPack a vibrant and valuable resource
for the autonomous AI community.LicenseAutoPack is released under theMIT License.
Package: autoparaselenium
AutoParaSeleniumA library to make parallel selenium tests that automatically download and setup webdriversUsageInstallationpip install autoparaseleniumCodeThe API is very simplefromtypingimportUnionfromseleniumimportwebdriverfromautoparaseleniumimportconfigure,chrome,firefox,run_on,all_,Extension# All parameters are optional, but still call it once before everythingconfigure(extensions=[Extension(chrome="path to chrome extension to install"),Extension(firefox="path to firefox extension to install"),Extension(chrome="chrome path",firefox="firefox path")],headless=True,# if there are chrome extensions, chrome will not be headless as a selenium limitationselenium_dir="./drivers")@run_on(all_)deftest_both_firefox_and_chrome(web:Union[webdriver.Firefox,webdriver.Chrome]):...@run_on(firefox)deftest_firefox_only(web:webdriver.Firefox):...@run_on(chrome)deftest_chrome_only(web:webdriver.Chrome):...RunningUsepytest --tests-per-worker PROCwherePROCis the number of parallel threadsCreditspytest-parallel python3.9 support fork
Package: autopartial
AutopartialThis is a simple library that provides a decorator that allows your to apply a function partially. In other words, it allows you to curry a function with some of its arguments, from left to right.InstallationAfter cloning this repository, you can install the package by running the following command in the root directory of the repository:pipinstall-e.Usage and exampleThe main use case is to decorate a function definition with@autopartial.An example can is inmain.py. It contains the following code:fromautopartialimportautopartial@autopartialdefadd(x,y):returnx+yif__name__=='__main__':x=10y=20add_10=add(x)# add(x): y -> x + yprint(add_10(y))# 30Here, theaddfunction takes 2 arguments and returns its sum. You can now partially apply the argumentxtoaddby callingadd(x). This returns a new function that takes only one argumentyand returnsx + y.In the example above,add(10)returns a functionadd_10that always adds 10 to its input.You can run this example, after installing this package, by running the following command from the root of the repository:pythonmain.py
Package: autopass
autopassInstallationUsageEntering password automatically for sudo, ssh (remote command) and scp,
like sshpass. Autopass is a pure python version.
For ssh, ayesconfirmation is also issued automatically
for you if necessary.No third party module is needed! No need pexpect!Installation$pipinstallautopassUsage$python-mautopass-p'passwd'sudo<command>
$AUTOPASS='passwd'python-mautopass[-t<N>]sshuser@domain[-pport]<command>-p<passwd>, specify the password.-t<N>, specify a timeout in seconds. SIGKILL will be issued to
child process after timeout. No timeout by default.Password will be issued only once, so if the password is not correct,
the child process will wait for a long time. This is your chance to
place a timeout. Other cases for using timeout might be facing the
terrible network. You can always place a relatively large timeout
value to keep you from waiting like forever.Password can also be exported toAUTOPASSenvironment variable.$exportAUTOPASS='passwd'$python-mautopass<passwd-needed-command>Autopass is focused on command execution, locally or remotely. It cannot
be used interactively. And please do not start a background process by
autopass, like-foption of ssh. It is an error. But you definitely
could run autopass with command as a whole in background (by&).Exit code of the executed command is return by autopass, you can
useecho $?in your shell script to check if the command execution
is successful.
Package: auto-paste-from-script
auto-paste-from-scriptUtilities for interactively pasting script code into an interpreter.
Currently supports Python, R, Scala.Python Usagefromauto_paste_from_scriptimportAutoPasteFromScriptmyS=AutoPasteFromScript("script.py")myS(5,10)R Usagesource("AutoPasteFromScript.R")myS<-AutoPasteFromScript$new(fileName="this.R")myS$exec(1,5)Scala Usageimportauto.paste.from.script.AutoPasteFromScript// $intp is the current interpretervalmyS=AutoPasteFromScript("filename.scala",$intp)myS(1,5)
Package: auto-patch
Automatically install security and other system updatesThis package provides a script to call zypper to install security and
other system updates.  It also provides systemd unit files to
automatically call that script regularly.Since the script depends on zypper, it will probably only work for
SUSE distributions (openSUSE and SLES).System requirementsPython:Python 3.5 or newer.External programs:zypperRequired library packages:setuptoolspython-systemdOptional library packages:setuptools_scmThe version number is managed using this package.  All source
distributions add a static text file with the version number and
fall back using that ifsetuptools_scmis not available.  So this
package is only needed to build out of the plain development source
tree as cloned from GitHub.pytest>= 3.0Only needed to run the test suite.distutils-pytestOnly needed to run the test suite.Copyright and LicenseCopyright 2020–2022 Rolf KrahlLicensed under theApache License, Version 2.0 (the “License”); you
may not use this file except in compliance with the License.Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.  See the License for the specific language governing
permissions and limitations under the License.