Saravanan666/pypi-org huggingface dataset:
Package: aot-x
Algorithm-Of-ThoughtsThe open source implementation of "Algorithm of Thoughts: Enhancing Exploration of Ideas in Large Language Models"Algorithm of Thoughts: Enhancing Exploration of Ideas in Large Language ModelsInstallationpip install aot-xUsagefromaotimportAoTsystem_prompt="""Use numbers and basic arithmetic operations (+ - * /) to obtain 24. Whenconsidering the next steps, do not choose operations that will result in anegative or fractional number. In order to help with the calculations, thenumbers in the parenthesis represent the numbers that are left after theoperations and they are in descending order.Another thing we do is when there are only two numbers left in the parenthesis, wecheck whether we can arrive at 24 only by using basic arithmetic operations(+ - * /). Some examples regarding this idea:(21 2) nosince 21 + 2 = 23, 21 - 2 = 19, 21 * 2 = 42, 21 / 2 = 10.5, none of which is equalto 24.(30 6) 30 - 6 = 24 yes(8 3) 8 * 3 = 24 yes(12 8) no(48 2) 48 / 2 = 24 yesMost importantly, do not give up, all the numbers that will be given has indeed asolution.14 8 8 2"""task="5 10 5 2 "aot=AoT(task=task,system_prompt=system_prompt)aot.run()TodoAll thoughts over 0.5 are added to cache or longterm vectorstoreDFS search similiar to tree of thoughtsPropose solutions functionBacktrack to nearest successful statesImplement evaluation strategy similiar to tot with [0.0, 1.0]Working demo: Conducts search then backtracks through states, provide visuals green textStreamlit demoCitation@misc{2308.10379,
Author = {Bilgehan Sel and Ahmad Al-Tawaha and Vanshaj Khattar and Lu Wang and Ruoxi Jia and Ming Jin},
Title = {Algorithm of Thoughts: Enhancing Exploration of Ideas in Large Language Models},
Year = {2023},
Package: ap
AP powers-up commands with AWS profile, assume-role and MFA functionality.e.g:ap myCrossAccountProfile some command(Your command must support standard AWS environment variables:AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEYandAWS_SECURITY_TOKEN.)Installationpip install apHelp! It keeps asking for my MFA codeapasks for an MFA code every time if enabled on a cross-account role.Use--cachedto store MFA for 60 minutes, e.g:ap --cached myCrossAccountProfile some command
Package: apa102
APA102 LibraryA simple library to drive APA102 pixels from the Raspberry Pi, or similar SBCs.Uses either spidev or RPi.GPIO depending on the pins specified.Pre-requisitesYou must enable SPI:spi:sudo raspi-config nonint do_spi 0You can optionally runsudo raspi-configor the graphical Raspberry Pi Configuration UI to enable interfaces.InstallingStable library from PyPi:Just runpython3 -m pip install apa102Latest/development library from GitHub:git clone https://github.com/pimoroni/apa102-pythoncd apa102-pythonsudo ./install.shUsageThe APA102 class will attempt to use spidev or RPi.GPIO depending on which pins you specify.For example; three RGB LEDs connected to SPI pins 10 and 11 with chip-select 8 (CE0):fromapa102importAPA102lights=APA102(3,10,11,8)You can then set individual pixels withset_pixel:lights.set_pixel(0, 255, 0, 0)  # Pixel 1 to Red
lights.set_pixel(1, 0, 255, 0)  # Pixel 2 to Green
lights.set_pixel(2, 0, 0, 255)  # Pixel 3 to BluePixels are zero-indexed and accept Red, Green and Blue colour values from 0 to 255.Changelog0.0.3Support SPI with cs None and no_csAdd support for inverted output (GPIO ONLY)Fix colour order to BGRFix SOF, EOF and data lengthsDrop noisy debug print from SPI modeFix set_brightness so it doesn't break pixel SOFAdd spi_max_speed_hz parameter0.0.2Bugfixes and improvements0.0.1Initial Release
Package: apa102-gpiod
apa102_gpiodA python library for accessingAPA102addressable LEDs usinglibgpiod,
a library used to access the userspace gpio character device.Useful for situations where you need to drive LEDs attached to non-SPI capable
I/O lines, or when the in-kernelspi-gpiodriver is not available (example:
Pimoroni Blinkt on the default kernels from mainstream distributions)The usage of this library is probably frowned upon by virture oflinux/Documentation/driver-api/gpio/drivers-on-gpio.rst, so go and pressure
the Raspberry Pi kernel devs to includespi-gpio, so we wouldn't have to
resort to custom out-of-tree kernels orevil bitbanging in userspace!PrerequisitesLinux Kernel >=4.8libgpiod>=039b301b173c78664775d1ea93493825ef80c9d4Python >=3.6Installationlibgpiodhttps://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/Remember to--enable-bindings-pythonwhen configuring.apa102_gpiodpip install apa102_gpiodTestsTests can be found in thetestdirectory.Only unit tests are present now, more tests welcome.Use your favourite test runner to run the tests, or:pip install setuptoolspip install pytestpython setup.py testPerformanceSince we're accessing the GPIOs through the character device and not through
some memory-mapped magic, performance is guaranteed to be lower. Here are some
test results:DeviceSoftwareAchieved data rate (kByte/s)RPI3 BArch Linux ARM Linux 4.14.3713962CaveatsNo clock rate control is implemented, since the achieved data rates are
way below the maximum data rates supported by theAPA102.File an issue report if needed.ExamplesSee theexamplesdirectory.LicensingThis project is licensed under theMIT License.
SeeLICENSE.txtfor more details.
Package: apa102-spi
APA102_SPILibrary for controlling APA102 LEDs through any SPI bus.This library was created because any other library I found couldn't use any SPI bus other than spi0. As the APA102 LEDs don't have a Chip Select, they have to be on a seperate bus without any other devices attached.On a Raspberry Pi 4, there are additional SPI busses that can be enabled by appending to/boot/config.txt. For example, to enable SPI5:enable_uart=0
dtoverlay=spi5-1csHere, UART0 has to be disabled, as it shares pins with SPI5.
Package: apac
APACAutomatic parcellation of auditory cortex (APAC)APAC is a lightweight module for parcellate human brain auditory cortex.
It is primarily intended for dividing the aduitory cortex into subregionsLicenseSupportPaperConferenceK. Byeon, B.-y. Park, H. S. Lee, S.-G. Kim and H. Park, "Fully automated parcellation of the primary auditory cortex"
Society for Neuroscience - Neuroscience 2019Core development teamSean H. Lee - Max Planck Institute for Empirical AestheticBo-yong Park, MICA Lab - Montreal Neurological InstituteKyoungseob Byeon, MIPL - Sungkyunkwan University
Package: apace
apaceapaceis yetanotherparticleacceleratorcodedesigned for the optimization of beam optics. It is available as Python package and aims to provide a convenient and straightforward API to make use of Python's numerous scientific libraries.InstallingInstall and update using pip:pipinstall-UapaceRequirementsPython 3.6 or higher (CPython or PyPy)CFFI 1.0.0 or higherNumPy/SciPyMatplotlibQuick StartImport apace:importapaceasapCreate a ring consisting out of 8 FODO cells:d1=ap.Drift('D1',length=0.55)b1=ap.Dipole('B1',length=1.5,angle=0.392701,e1=0.1963505,e2=0.1963505)q1=ap.Quadrupole('Q1',length=0.2,k1=1.2)q2=ap.Quadrupole('Q2',length=0.4,k1=-1.2)fodo_cell=ap.Lattice('FODO',[q1,d1,b1,d1,q2,d1,b1,d1,q1])fodo_ring=ap.Lattice('RING',[fodo_cell]*8)Calculate the Twiss parameters:twiss=ap.Twiss(fodo_ring)Plot horizontal and vertical beta functions using matplotlib:importmatplotlib.pyplotaspltplt.plot(twiss.s,twiss.beta_x,twiss.s,twiss.beta_y)LinksDocumentation:https://apace.readthedocs.ioAPI Reference:https://apace.readthedocs.io/en/stable/reference/apace/index.htmlExamples:https://apace.readthedocs.io/en/docs/examples/index.htmlReleases:https://pypi.org/project/apace/Code:https://github.com/andreasfelix/apaceIssue tracker:https://github.com/andreasfelix/apace/issuesLicenseGNU General Public License v3.0
Package: apache2-vh
# Apache2 virtual host creator for Ubuntu## Installationpip install apache2-vh## UsageYou can see all the commands and basic usage typing:vh –helpusage: vh server_name folder_name [-h] [-m2] [-a SERVER_ALIAS] [-d DIRECTORY_ROOT] [-p PORT] [-c CONF_NAME]The minimal usage is with 2 arguments:server_name           Your server name (ex.: blabla.com)
folder_name           The folder name where your project is in the document root (default is /var/www/html if you have in a different place set it with -dr)But you have a few more optional arguments:-m2, –magento2       Virtual Host para magento 2 (if you are creating  virtual host for magento2)
-a SERVER_ALIAS, –server_alias SERVER_ALIAS Add a server alias (ex.: www.blabla.com)
-d DIRECTORY_ROOT, –directory_root DIRECTORY_ROOT  Full path of your apache document root that will be set in the virtual host (default is /var/www/html)
-p PORT, –port PORT  Change the listening port (default is 80)
-c CONF_NAME, –conf_name CONF_NAME Add a diferent name to your conf file (without the .conf extension) default is the name of your folder_name (ex.: blabla -> file created blabla.conf)## NotesFeel free to use, copy, extend or contribute to this project, if you want to reuse a mention to this project is appreciated, but I don’t really care if you don’t do it.
This is a open source project without any warranty or something like that.
Package: apache-age-community-detection
Community-Detection-ModularityEigenvector-based community detection is a method used to identify communities or groups within a network by analyzing the eigenvectors of the network's adjacency matrix. The basic idea behind this approach is that nodes that belong to the same community will be more strongly connected to each other than to nodes in other communities.The method starts by calculating the adjacency matrix of the network, which represents the connections between nodes. Next, the eigenvalues and eigenvectors of this matrix are calculated. The eigenvectors with the largest eigenvalues are then used to assign nodes to communities.The basic idea is that nodes that belong to the same community will have similar eigenvector values for these dominant eigenvectors. By grouping nodes with similar eigenvector values together, communities can be identified.The method starts by calculating the adjacency matrix of the network, which represents the connections between nodes. Next, the eigenvalues and eigenvectors of this matrix are calculated. The eigenvectors with the largest eigenvalues are then used to assign nodes to communities.The basic idea is that nodes that belong to the same community will have similar eigenvector values for these dominant eigenvectors. By grouping nodes with similar eigenvector values together, communities can be identified.InstallationInstall via PIPpip install apache-age-community-detectionBuild from Sourcesudo apt-get update
sudo apt-get install libeigen3-dev
git clone https://github.com/Munmud/Community-Detection-Modularity
cd Community-Detection-Modularity
python setup.py installUnit Testpython -m unittest test_community.pyInstructionimportfromage_community_detectionimportGraphCreate Graphnodes=[0,1,2,3,4,5]edges=[[0,1],[0,2],[1,2],[2,3],[3,4],[3,5],[4,5]]g=Graph.Graph()g.createGraph(nodes,edges)Nodes :0 to N-1Edges :2d array : adjacency listEach element between 0 to N-1Generate Community Assignmentres=g.get_community()Output Format[1, 1, 1, 0, 0, 0, 2, 2, 0, 3, 3, 1, 3]Here each number represents the community number of corresponding nodeSamplesCreating GraphReferenceFinding community structure in networks using the eigenvectors of matricesModularity and community structure in networksStatistical Mechanics of Community Detection
Package: apache-airflow-backport-providers-apache-beam
Package apache-airflow-backport-providers-apache-beamRelease: 2021.3.13Table of contentsBackport packageInstallationPIP requirementsCross provider package dependenciesProvider class summaryOperatorsNew operatorsHooksNew hooksReleasesRelease 2021.3.13Release 2021.2.5Backport packageThis is a backport providers package forapache.beamprovider. All classes for this provider package
are inairflow.providers.apache.beampython package.Only Python 3.6+ is supported for this backport package.While Airflow 1.10.* continues to support Python 2.7+ - you need to upgrade python to 3.6+ if you
want to use this backport package.Release 2021.3.13Bug fixesImprove Apache Beam operators - refactor operator - common Dataflow logic (#14094)Corrections in docs and tools after releasing provider RCs (#14082)Remove WARNINGs from BeamHook (#14554)InstallationYou can install this package on top of an existing airflow 1.10.* installation viapip install apache-airflow-backport-providers-apache-beamPIP requirementsPIP packageVersion requiredapache-beam[gcp]Cross provider package dependenciesThose are dependencies that might be needed in order to use all the features of the package.
You need to install the specified backport providers package in order to use them.You can install such cross-provider dependencies when installing from PyPI. For example:pipinstallapache-airflow-backport-providers-apache-beam[google]Dependent packageExtraapache-airflow-backport-providers-googlegoogleProvider classes summaryIn Airflow 2.0, all operators, transfers, hooks, sensors, secrets for theapache.beamprovider
are in theairflow.providers.apache.beampackage. You can read more about the naming conventions used
inNaming conventions for provider packagesOperatorsNew operatorsNew Airflow 2.0 operators:airflow.providers.apache.beampackageoperators.beam.BeamRunJavaPipelineOperatoroperators.beam.BeamRunPythonPipelineOperatorHooksNew hooksNew Airflow 2.0 hooks:airflow.providers.apache.beampackagehooks.beam.BeamHookReleasesRelease 2021.3.13CommitCommittedSubject4e57630602021-03-03Remove WARNINGs from BeamHook (#14554)589d6dec92021-02-27Prepare to release the next wave of providers: (#14487)8a731f5362021-02-05Improve Apache Beam operators - refactor operator - common Dataflow logic (#14094)10343ec292021-02-05Corrections in docs and tools after releasing provider RCs (#14082)Release 2021.2.5CommitCommittedSubjectd45739f7c2021-02-04Fixes to release process after releasing 2nd wave of providers (#14059)1872d87192021-02-03Add Apache Beam operators (#12814)
Package: apache-airflow-backport-providers-email
Package apache-airflow-backport-providers-emailRelease: 2020.6.24Backport packageThis is a backport providers package foremailprovider. All classes for this provider package
are inairflow.providers.emailpython package.Only Python 3.6+ is supported for this backport package.While Airflow 1.10.* continues to support Python 2.7+ - you need to upgrade python to 3.6+ if you
want to use this backport package.InstallationYou can install this package on top of an existing airflow 1.10.* installation viapip install apache-airflow-backport-providers-emailCompatibilityFor full compatibility and test status of the backport packages checkAirflow Backport Package CompatibilityProvider classes summaryIn Airflow 2.0, all operators, transfers, hooks, sensors, secrets for theemailprovider
are in theairflow.providers.emailpackage. You can read more about the naming conventions used
inNaming conventions for provider packagesOperatorsMoved operatorsAirflow 2.0 operators:airflow.providers.emailpackageAirflow 1.10.* previous location (usuallyairflow.contrib)operators.email.EmailOperatoroperators.email_operator.EmailOperatorReleasesRelease 2020.6.24CommitCommittedSubject12af6a0802020-06-19Final cleanup for 2020.6.23rc1 release preparation (#9404)c7e5bce572020-06-19Prepare backport release candidate for 2020.6.23rc1 (#9370)f6bd817a32020-06-16Introduce 'transfers' packages (#9320)0b0e4f7a42020-05-26Preparing for RC3 relase of backports (#9026)00642a46d2020-05-26Fixed name of 20 remaining wrongly named operators. (#8994)375d1ca222020-05-19Release candidate 2 for backport packages 2020.05.20 (#8898)12c5e5d8a2020-05-17Prepare release candidate for backport packages (#8891)f3521fb0e2020-05-16Regenerate readme files for backport package release (#8886)92585ca4c2020-05-15Added automated release notes generation for backport operators (#8807)4bde99f132020-03-23Make airflow/providers pylint compatible (#7802)97a429f9d2020-02-02[AIRFLOW-6714] Remove magic comments about UTF-8 (#7338)9a04013b02020-01-27[AIRFLOW-6646][AIP-21] Move protocols classes to providers package (#7268)
Package: apache-airflow-backport-providers-neo4j
Package apache-airflow-backport-providers-neo4jRelease: 2021.3.3Table of contentsBackport packageInstallationPIP requirementsProvider class summaryOperatorsNew operatorsHooksNew hooksReleasesRelease 2021.3.3Release 2021.2.5Backport packageThis is a backport providers package forneo4jprovider. All classes for this provider package
are inairflow.providers.neo4jpython package.Only Python 3.6+ is supported for this backport package.While Airflow 1.10.* continues to support Python 2.7+ - you need to upgrade python to 3.6+ if you
want to use this backport package.Release 2021.3.3Bug fixesCorrections in docs and tools after releasing provider RCs (#14082)InstallationYou can install this package on top of an existing airflow 1.10.* installation viapip install apache-airflow-backport-providers-neo4jPIP requirementsPIP packageVersion requiredneo4j>=4.2.1Provider classes summaryIn Airflow 2.0, all operators, transfers, hooks, sensors, secrets for theneo4jprovider
are in theairflow.providers.neo4jpackage. You can read more about the naming conventions used
inNaming conventions for provider packagesOperatorsNew operatorsNew Airflow 2.0 operators:airflow.providers.neo4jpackageoperators.neo4j.Neo4jOperatorHooksNew hooksNew Airflow 2.0 hooks:airflow.providers.neo4jpackagehooks.neo4j.Neo4jHookReleasesRelease 2021.3.3CommitCommittedSubject10343ec292021-02-05Corrections in docs and tools after releasing provider RCs (#14082)Release 2021.2.5CommitCommittedSubjectac2f72c982021-02-01Implement provider versioning tools (#13767)1d2977f6a2021-01-14Add Neo4j hook and operator (#13324)
Package: apache-airflow-backport-providers-sendgrid
Package apache-airflow-backport-providers-sendgridRelease: 2021.3.3Table of contentsBackport packageInstallationPIP requirementsProvider class summaryReleasesRelease 2021.3.3Release 2021.2.5Backport packageThis is a backport providers package forsendgridprovider. All classes for this provider package
are inairflow.providers.sendgridpython package.Only Python 3.6+ is supported for this backport package.While Airflow 1.10.* continues to support Python 2.7+ - you need to upgrade python to 3.6+ if you
want to use this backport package.Release 2021.3.3Bug fixesCorrections in docs and tools after releasing provider RCs (#14082)Release 2021.2.5Deprecate email credentials from environment variables. (#13601)InstallationYou can install this package on top of an existing airflow 1.10.* installation viapip install apache-airflow-backport-providers-sendgridPIP requirementsPIP packageVersion requiredsendgrid>=6.0.0,<7Provider classes summaryIn Airflow 2.0, all operators, transfers, hooks, sensors, secrets for thesendgridprovider
are in theairflow.providers.sendgridpackage. You can read more about the naming conventions used
inNaming conventions for provider packagesReleasesRelease 2021.3.3CommitCommittedSubject10343ec292021-02-05Corrections in docs and tools after releasing provider RCs (#14082)Release 2021.2.5CommitCommittedSubject88bdcfa0d2021-02-04Prepare to release a new wave of providers. (#14013)ac2f72c982021-02-01Implement provider versioning tools (#13767)86695b62a2021-01-30Deprecate email credentials from environment variables. (#13601)295d66f912020-12-30Fix Grammar in PIP warning (#13380)6cf76d7ac2020-12-18Fix typo in pip upgrade command :( (#13148)32971a1a22020-12-09Updates providers versions to 1.0.0 (#12955)c34ef853c2020-11-20Separate out documentation building per provider  (#12444)0080354502020-11-18Update provider READMEs for 1.0.0b2 batch release (#12449)7825e8f592020-11-13Docs installation improvements (#12304)c5806efb52020-11-10Added missing sendgrid readme (#12245)349b0811c2020-10-20Add D200 pydocstyle check (#11688)d305876be2020-10-12Remove redundant None provided as default to dict.get() (#11448)f3e87c5032020-09-22Add D202 pydocstyle check (#11032)fdd9b6f652020-08-25Enable Black on Providers Packages (#10543)7269d15ad2020-08-03[GH-9708] Add type coverage to Sendgrid module (#10134)a97400d0d2020-06-28Move out sendgrid emailer from airflow.contrib (#9355)
Package: apache-airflow-backport-providers-tableau
Package apache-airflow-backport-providers-tableauRelease: 2021.3.3Table of contentsBackport packageInstallationPIP requirementsProvider class summaryOperatorsNew operatorsSensorsNew sensorsHooksNew hooksReleasesRelease 2021.3.3Backport packageThis is a backport providers package fortableauprovider. All classes for this provider package
are inairflow.providers.tableaupython package.Only Python 3.6+ is supported for this backport package.While Airflow 1.10.* continues to support Python 2.7+ - you need to upgrade python to 3.6+ if you
want to use this backport package.Release 2021.3.3Initial version of the providerInstallationYou can install this package on top of an existing airflow 1.10.* installation viapip install apache-airflow-backport-providers-tableauPIP requirementsPIP packageVersion requiredtableauserverclientProvider classes summaryIn Airflow 2.0, all operators, transfers, hooks, sensors, secrets for thetableauprovider
are in theairflow.providers.tableaupackage. You can read more about the naming conventions used
inNaming conventions for provider packagesOperatorsNew operatorsNew Airflow 2.0 operators:airflow.providers.tableaupackageoperators.tableau_refresh_workbook.TableauRefreshWorkbookOperatorSensorsNew sensorsNew Airflow 2.0 sensors:airflow.providers.tableaupackagesensors.tableau_job_status.TableauJobStatusSensorHooksNew hooksNew Airflow 2.0 hooks:airflow.providers.tableaupackagehooks.tableau.TableauHookReleasesRelease 2021.3.3CommitCommittedSubject45e72ca832021-02-25Add Tableau provider separate from Salesforce Provider (#14030)
Package: apache-airflow-backport-providers-telegram
Package apache-airflow-backport-providers-telegramRelease: 2021.3.3Table of contentsBackport packageInstallationPIP requirementsProvider class summaryOperatorsNew operatorsHooksNew hooksReleasesRelease 2021.3.3Backport packageThis is a backport providers package fortelegramprovider. All classes for this provider package
are inairflow.providers.telegrampython package.Only Python 3.6+ is supported for this backport package.While Airflow 1.10.* continues to support Python 2.7+ - you need to upgrade python to 3.6+ if you
want to use this backport package.InstallationYou can install this package on top of an existing airflow 1.10.* installation viapip install apache-airflow-backport-providers-telegramPIP requirementsPIP packageVersion requiredpython-telegram-bot==13.0Provider classes summaryIn Airflow 2.0, all operators, transfers, hooks, sensors, secrets for thetelegramprovider
are in theairflow.providers.telegrampackage. You can read more about the naming conventions used
inNaming conventions for provider packagesOperatorsNew operatorsNew Airflow 2.0 operators:airflow.providers.telegrampackageoperators.telegram.TelegramOperatorHooksNew hooksNew Airflow 2.0 hooks:airflow.providers.telegrampackagehooks.telegram.TelegramHookReleasesRelease 2021.3.3CommitCommittedSubject106d2c85e2021-02-10Fix the AttributeError with text field in TelegramOperator (#13990)88bdcfa0d2021-02-04Prepare to release a new wave of providers. (#14013)ac2f72c982021-02-01Implement provider versioning tools (#13767)3fd5ef3552021-01-21Add missing logos for integrations (#13717)295d66f912020-12-30Fix Grammar in PIP warning (#13380)6cf76d7ac2020-12-18Fix typo in pip upgrade command :( (#13148)32971a1a22020-12-09Updates providers versions to 1.0.0 (#12955)b40dffa082020-12-08Rename remaing modules to match AIP-21 (#12917)cd66450b42020-12-05Add Telegram hook and operator (#11850)