Saravanan666/pypi-org huggingface dataset:
Package: an
anScraping and parsing amazonTo install:pip install anAmazon Scraping LibraryOverviewThis Python library is designed for scraping and parsing data from Amazon product pages. It offers functionalities to extract various information like sales ranks, product reviews, and product titles from Amazon's different regional websites.InstallationThis library is not a standalone package and should be incorporated directly into your existing Python project. Copy the code into your project's directory.DependenciespandasnumpyrequestsBeautifulSouppymongomatplotlibEnsure these dependencies are installed in your environment.UsageExtracting Sales RankThe library can extract sales ranks of products from Amazon. Here's an example of how to get the sales rank of a product:asin='YOUR_PRODUCT_ASIN'country='co.uk'# Change to desired Amazon regionsales_rank=Amazon.get_sales_rank(asin=asin,country=country)print(sales_rank)Parsing Product TitleTo parse and get the product title from an Amazon product page:html_content=Amazon.slurp(what='product_page',asin=asin,country=country)title=Amazon.parse_product_title(html_content)print(title)Getting Number of ReviewsTo retrieve the number of customer reviews for a product:number_of_reviews=Amazon.get_number_of_reviews(asin=asin,country=country)print(number_of_reviews)ContributingContributions to this library are welcome. Please send pull requests with improvements or bug fixes.
Package: anabel
anabelAn end to end differentiable finite element framework.FoundationsInstallationThebaseAnabel package can be installed from a terminal with the following command:$pipinstallanabelThis installation includes basic tools for composing "neural network" -like models along with some convenient IO utilities. However, both automatic differentiation and JIT capabilities require Google's Jaxlib module which is currently in early development and only packaged for Ubuntu systems. On Windows systems this can be easily overcome by downloading the Ubuntu terminal emulator from Microsoft's app store and enabling the Windows Subsystem for Linux (WSL). The following extended command will install Anabel along with all necessary dependencies for automatic differentiation and JIT compilation:$pipinstallanabel[jax]The in-development version can be installed the following command:$pipinstallhttps://github.com/claudioperez/anabel/archive/master.zipCore API - Modeling PDEsfromanabelimporttemplate,diff,MappedMeshfromanabel.interpolateimportlagrange_t6@template(6)defpoisson_template(u,v,iso,f,):defpoisson(uh,xyz):returndiff.jacx(u)(u,v)Utility Modulesanabel.sectionsfromanabel.sectionsimportTeet_section=Tee(bf=60,tf=6,tw=18,d=24)t_section.plot()anabel.transientBuilding The DocumentationThe following additional dependencies are required to build the project documentation:PandocElstir (pip install elstir)To build the documentation, run the following command from the project root directory:$elstirbuildOrganization of Source CodeDocumentationelstir.ymlstyle/Directory holding style/template/theme files for documentation.docs/api/Automatically generated API documentation files.Source Codesetup.pyInstallation/setup; used for pip installation.src/anabel/Python source code[lib/] C++ source code for extension libraryDatadat/quadrature/Quadrature scheme data.Source Control, Testing, Continuous Integration.gitignoreConfiguration forGitsource control..appveyor.ymlconfiguration file forAppveyor.coveragercconfiguration file forCodeCov, used to measure testing coverage.pytest.iniconfiguration file forPyTest, used to setup testing.Changelog0.1.0 (2021-05-21)First documented release0.0.0 (2020-07-15)First release on PyPI.
Package: anacal
AnaCalAnalytic Calibration for Perturbation Estimation from Galaxy Images.This framework is devised to bridge various analytic shear estimators that have
been developed or are anticipated to be created in the future. We intend to
develop a suite of analytical shear estimators capable of inferring shear with
subpercent accuracy, all while maintaining minimal computational time. The
currently supported analytic shear estimators are:FPFSInstallationUsers can clone this repository and install the latest package bygitclonehttps://github.com/mr-superonion/AnaCal.gitcdAnaCal
pipinstall.or install stable verion from pypipip install anacalExamplesExamples can be foundhere.DevelopmentBefore sending pull request, please make sure that the modified code passed the
pytest and flake8 tests. Run the following commands under the root directory
for the tests:flake8
pytest-vv
Package: anachronos
AnachronosA testing framework for testing frameworks.Anachronos is an end-to-end testing framework usable with a wide variety of applications.
To get started, define anApplicationRunnerwhich can be used to start your application.
Then, write your test classes by inheriting fromanachronos.TestCase.How it worksThe framework provides access to a specialAnachronosobject which is accessible both from the tested application, and from the testing suite.
This object effectively acts as a logger on which assertions can be run afterwards. Anachronos assertions are accessible by using theself.assertThatmethod from within a TestCase.
Below is a simple TestCase example taken from the Jivago framework.importanachronosfrome2e_test.runnerimporthttpfrome2e_test.testing_messagesimportSIMPLE_GETclassSimpleResourceTest(anachronos.TestCase):deftest_simple_get(self):http.get("/")self.assertThat(SIMPLE_GET).is_stored()deftest_post_dto(self):response=http.post("/",json={'name':'Paul Atreides','age':17}).json()self.assertEqual('Paul Atreides',response['name'])if__name__=='__main__':anachronos.run_tests()With the matching application logic :importanachronosfrome2e_test.app.components.dtos.request_dtoimportRequestDtofrome2e_test.app.components.dtos.response_dtoimportResponseDtofrome2e_test.testing_messagesimportSIMPLE_GETfromjivago.lang.annotationsimportInjectfromjivago.wsgi.annotationsimportResourcefromjivago.wsgi.methodsimportGET,POST@Resource("/")classSimpleResource(object):def__init__(self):self.anachronos=anachronos.get_instance()@GETdefsimple_get(self)->str:self.anachronos.store(SIMPLE_GET)return"OK"@POSTdefpost_body(self,request:RequestDto)->ResponseDto:returnResponseDto(request.name,True)
Package: anaconda-catalogs
Anaconda Catalogs clientA light client library for interfacing with the Anaconda catalogs service.UsageCurrently, the catalogs are referenced by their unique ID of the formcid/09e802da-65b3-4ea0-b60d-642c88c7a541.
A user can load a catalog with the following:importanaconda_catalogscat=anaconda_catalogs.open_catalog("cid/09e802da-65b3-4ea0-b60d-642c88c7a541")Alternately, the nativeintakeplugin can be used:importintakecat=intake.open_anaconda_catalog("cid/09e802da-65b3-4ea0-b60d-642c88c7a541")Or in anIntake catalog file,## contents of catalog.yamlsources:anaconda:driver:anaconda_catalogargs:name:cid/09e802da-65b3-4ea0-b60d-642c88c7a541which is opened in Intake asimportintakecat=intake.open_catalog('catalog.yaml')Development guideA contributing guide can be found inCONTRIBUTING.md.
Package: anaconda-cli-base
anaconda-cli-baseA base CLI entrypoint supporting Anaconda CLI pluginsRegistering pluginsSubcommands can be registered as follows:# In pyproject.toml[project.entry-points."anaconda_cli.subcommand"]auth="anaconda_cloud_auth.cli:app"In the example above:"anaconda_cloud_cli.subcommand"is the required string to use for registration. The quotes are important.authis the name of the new subcommand, i.e.anaconda authanaconda_cloud_auth.cli:appsignifies the object namedappin theanaconda_cloud_auth.climodule is the entry point for the subcommand.Setup for developmentEnsure you havecondainstalled.
Then run:makesetupRun the unit testsmaketestRun the unit tests across isolated environments with toxmaketox
Package: anaconda-cloud-cli
anaconda-cloud-cliThe base CLI for Anaconda Cloud.
It currently provides the handling of cloud login/logout, and backwards-compatible passthrough of arguments to the coreanaconda-clientCLI.This CLI is intended to provide identical behavior toanaconda-client, except for minor changes to the login/logout flow, to provide a gentle deprecation path.Setup for developmentEnsure you havecondainstalled.
Then run:makesetupRun the unit testsmaketestRun the unit tests across isolated environments with toxmaketox
Package: anacreonlib
anacreonlib|PyPI Version| |Documentation Status|Thisunofficiallibrary provides a Python interface to the API ofAnacreon 3 <https://anacreon.kronosaur.com>, which is an online4X <https://en.wikipedia.org/wiki/4X>game produced byKronosaur Productions, LLC. <http://kronosaur.com/>_.The minimum supported Python version is 3.8Make sure to read the "Scripts and Bots" section of theKronosaur Terms of Service <https://multiverse.kronosaur.com/news.hexm?id=97#:~:text=scripts%20and%20bots>_.Installationanacreonlibcan be installed using pip::$ pip install anacreonlibUsageBelow is a minimum working example to get started with using the Anacreon API.. code-block:: pythonfrom anacreonlib import Anacreon, Fleet
import asyncio

async def main():
    ## Step 1: Log in
    client: Anacreon = await Anacreon.log_in(
        game_id="8JNJ7FNZ", 
        username="username",
        password="password"
    )

    ## Step 2: do cool stuff, automatically!
    # find all of our fleets
    all_my_fleets = [
        fleet 
        for fleet in client.space_objects.values()
        if isinstance(fleet, Fleet)
        and fleet.sovereign_id == client.sov_id
    ]

    # send all our fleets to world ID 100
    for fleet in all_my_fleets:
        await client.set_fleet_destination(fleet.id, 100)

if __name__ == "__main__":
    asyncio.run(main())Rate LimitsThe API has rate limits which are detailed inthis Ministry record <https://ministry.kronosaur.com/record.hexm?id=79981>_.
Beware that they apply to both any scripts you write AND the online client... |PyPI Version| image::https://img.shields.io/pypi/v/anacreonlib.svg:target:https://pypi.python.org/pypi/anacreonlib.. |Documentation Status| image::https://readthedocs.org/projects/anacreonlib/badge/?version=latest:target:http://anacreonlib.readthedocs.io/en/latest/?badge=latest:alt: Documentation Status
Package: anadama2
AnADAMA2 is the next generation of AnADAMA. AnADAMA is a tool to create reproducible workflows and execute them efficiently. Tasks can be run locally or in a grid computing environment to increase efficiency. Essential information from all tasks is recorded, using the default logger and command line reporters, to ensure reproducibility. A auto-doc feature allows for workflows to generate documentation automatically to further ensure reproducibility by capturing the latest essential workflow information. AnADAMA2 was architected to be modular allowing users to customize the application by subclassing the base grid meta-schedulers, reporters, and tracked objects (ie files, executables, etc).
Package: anadb-tools
Analytics Database ToolsA suite of tools and libraries for managing the analytics database servers.InstallationApplicationsThe following command-line applications are installed as part ofanadb-tools:CommandDescriptionanadb-analyzeInspect each analytics server via CloudFormation and each
analytics database in PostgreSQL, updating statistics in
the analytics broker database.anadb-assignCreate &  assign a new analytics database for a customer.anadb-cleanupBackup & Delete analytics databases for closed accounts.anadb-deployDeploy DDL to all of the analytics databases.anadb-migrateMove multiple analytics databases to a different server.anadb-moveMove an analytics database to a different server.anadb-orphansCleanup orphaned analytics databases.anadb-pageview-auditExamine all analytics databases to determine which have
pageview data.anadb-s3backupBackup the data in an analytics database to Amazon S3.anadb-sequence-fixReset all of the sequences in an analytics database.anadb-skeletonCreate a skeleton CLI application using anadb-tools.Common Environment VariablesThe following environment variables allow for overriding the database connection
information that can be provided by command line switches:VariableDescriptionANABROKER_HOSTThe database server to connect to the analytics broker onANABROKER_PORTThe port to connect to the analytics broker database onANABROKER_DBNAMEThe analytics broker database name.
Default: analytics_brokerANABROKER_USERThe user to connect as to the analytics broker db server.
Default: the current shell userANADB_USERThe user to connect to an analytics database server as.
Default: the current shell userAPPDB_HOSTThe database server to connect to for the app database.APPDB_PORTThe database server port to connect on for the app database.APPDB_DBNAMEThe database name to connect to for the app database.
Default:appAPPDB_USERThe user to connect to the app database server as.
Default: the current shell userLibrary ModulesModuleDescriptionanadb_tools.anabrokerMethods for connecting to and interacting with anabroker.anadb_tools.anadbMethods for connecting to and interacting with account
specified analytics databases.anadb_tools.appdbMethods for connecting to and interacting with the app
database.anadb_tools.commonMisc common methods including argument parsing and
logging configuration.anadb_tools.databaseLow-level database commands, including backup.anadb_tools.exceptionsCommon exceptions for the anadb-tools package.anadb_tools.memcachedClears caching keys for analytics broker assignment info.Development
Package: anad_dev
tools for development….. in anad laboInstallationpip install anad_devUsageecrypte.g.:>>>fromanad_devimportecrypt>>>pw='test_pass_phrase'>>>ec_pw=ecrypt.ecrypt.compr(pw)>>>ec_pw'/Td6WFoAAATm1rRGAgAhARYAAAB0L+WjAQAPdGVzdF9wYXNzX3BocmFzZQA3khspehQ3iwABKBDl\nC2xgH7bzfQEAAAAABFla\n'>>>>>>ecrypt.ecrypt.decompr(ec_pw)'test_pass_phrase'this is just a easy encryption everybody CAN decrypt.I just use it when I don’t want to show my password at glimpse.send_gmaile.g.:fromanad_devimportecrypt,send_gmailaccount='dais.cns@gmail.com'passwd=ecrypt.ecrypt.decompr('/Td6WFoAAATm1rRGAgAhARYAAAB0L+WjAQAPdGVzdF9wYXNzX3BocmFzZQA3khspehQ3iwABKBDl\nC2xgH7bzfQEAAAAABFla\n')body='test\nhehehe'subject='gmail test send'msg_to='dais.cns@gmail.com'send_gmail.send_gmail.doIt(account,passwd,body,subject,msg_to)*** you need to turn on as your gmail account can used low level
access on your gmail setting page.any questions to:dais.cns@gmail.com
Package: anafero
Provides a Django site with referrals functionality.DocumentationDocumentation can be found online athttp://anafero.readthedocs.org/.Commercial SupportThis app, and many others like it, have been built in support of many of Eldarion’s
own sites, and sites of our clients. We would love to help you on your next project
so get in touch by dropping us a note atinfo@eldarion.com.
Package: anaflow
Welcome to AnaFlowPurposeAnaFlow provides several analytical and semi-analytical solutions for the
groundwater-flow equation.InstallationYou can install the latest version with the following command:pip install anaflowDocumentation for AnaFlowYou can find the documentation underhttps://anaflow.readthedocs.io.ExampleIn the following the well known Theis function is called an plotted for three
different time-steps.importnumpyasnpfrommatplotlibimportpyplotaspltfromanaflowimporttheistime=[10,100,1000]rad=np.geomspace(0.1,10)head=theis(time=time,rad=rad,transmissivity=1e-4,storage=1e-4,rate=-1e-4)fori,stepinenumerate(time):plt.plot(rad,head[i],label="Theis(t={})".format(step))plt.legend()plt.show()Provided FunctionsThe following functions are provided directlythiemThiem solution for steady state pumpingtheisTheis solution for transient pumpingext_thiem_2dextended Thiem solution in 2D fromZech 2013ext_theis_2dextended Theis solution in 2D fromMueller 2015ext_thiem_3dextended Thiem solution in 3D fromZech 2013ext_theis_3dextended Theis solution in 3D fromMueller 2015neuman2004transient solution fromNeuman 2004neuman2004_steadysteady solution fromNeuman 2004grf"General Radial Flow" Model fromBarker 1988ext_grfthe transient extended GRF modelext_grf_steadythe steady extended GRF modelext_thiem_tplextended Thiem solution for truncated power lawsext_theis_tplextended Theis solution for truncated power lawsext_thiem_tpl_3dextended Thiem solution in 3D for truncated power lawsext_theis_tpl_3dextended Theis solution in 3D for truncated power lawsLaplace TransformationWe provide routines to calculate the laplace-transformation as well as the
inverse laplace-transformation of a given functionget_lapGet the laplace transformation of a functionget_lap_invGet the inverse laplace transformation of a functionRequirementsNumPy >= 1.14.5SciPy >= 1.1.0pentapy >= 1.1.0ContactYou can contact us viainfo@geostat-framework.org.LicenseMIT© 2019 - 2023
Package: anaforatools
anaforatoolsThe anaforatools project provides utilities for working withAnaforaannotations including:anafora.validate- checks Anafora XML files for syntactic and semantic errorsanafora.evaluate- compares two sets of Anafora XML files in terms of precision, recall, etc.anafora.regex- trains and applies simple regular expression models from Anafora XML filesanafora.copy_text- copies text into Anafora directory structureanafora.labelstudio- converts Anafora schemas and data files into Label Studio schemas and data filesFor details on the command line interfaces to these modules, use the--helpargument. For example:$ python -m anafora.validate --helpRequirements:Python 3.6 or laterPythonregexmodule
Package: anagenex-mdtraj
MDTraj is a python library that allows users to manipulate molecular dynamics
(MD) trajectories and perform a variety of analyses, including fast RMSD,
solvent accessible surface area, hydrogen bonding, etc. A highlight of MDTraj
is the wide variety of molecular dynamics trajectory file formats which are
supported, including RCSB pdb, GROMACS xtc, tng, and trr, CHARMM / NAMD dcd, AMBER
binpos, AMBER NetCDF, AMBER mdcrd, TINKER arc and MDTraj HDF5.
Package: anaio
ANA.IO - A Python module for ANA f0 file I/OThis isanaio, a Python module to perform file input and output operations
with the ANA f0 file format, originally developed by Robert Shine. This module
is mostly a wrapper around the slightly modified code of the IDL DLM library
by Michiel van Noort. This library in turn borrows code from the old ANA
routines.This library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.InstallationThe easiest and recommended way is to install viapip:$pipinstallanaioThis module can be installed using the standard NumPy distutils. Therefore,
simply runningpython setup.py installwill install this module to the default installation location. Runningpython setup.pywill start an interactive installation process.UsageImport it as usualimportanaioTo read a file:anadata=anaio.fzread(filename)which will return a dict with the data inanadata['data']and some meta info inanadata['header'].To return only either the data or header, useanaio.getdata()oranaio.getheader()respectively.
The letter will also not read the data and therefore speed up the process if you are interested in the header only.To write a file:anaio.fzwrite(filename,data):or useanaio.writeto(), which is an alias tofzwrite().Version history20230301, v1.0.0:Renamed to anaio to prepare publishing on pipy20220926, v0.5.0:Forked from Tim van Werkhoven's PyANA v0.4.3Added support to read ana headers without the data.Added more test cases.20090422, v0.4.0:Fixed dimension problem, ANA and numpy expect dimensions in different
order20090422, v0.3.3:Made errors a little nicer to read & more understandable.Added pyana.writeto() wrapper for fzwrite, similar to pyfits.20090331, v0.3.2:Updated segfault fix in anadecrunch(). Illegal read beyond memory
allocation can be as much as 4 bytes in the worst case in 32-bit
decrunching (although this is rarely used).20090327, v0.3.1:Fixed a segfault error in anadecrunch(). Problem was pre-caching of a few
bytes of compressed data, however the malloc() used for the compressed
data did not have those few bytes extra, causing a 1 or 2 byte illegal
read. Normally this shouldn't be a problem, but sometimes (like when I
needed it) it is.20090326, v0.3.0:Old code had memory leaks, trying Michiel van Noort's improved code from
libf0, the IDL DLM library. Hopefully this works better.Renamed functions to correspond with the (original) IDL functions.
load() -> fzread() and save() -> fzwrite(). Parameters still the same.20090218, v0.2.2:Added file exists check before calling _pyana.load C-routineContributionsBased on Tim van Werkhoven's original PyANA implementation.
A wrapper around Michiel van Noort's ANACompress library.Currently maintained by J. HölkenLicenseMITRepository / Code / Issuetracker:https://gitlab.gwdg.de/hoelken/pyana
Package: anakin-language-server
anakin-language-serverYet another Jedi Python language serverRequirementsPython >= 3.6pygls >= 1.1, <1.2Jedi >= 0.19pyflakes ~= 2.2pycodestyle ~= 2.5yapf ~=0.30Optional requirementsmypyImplemented featurestextDocument/completiontextDocument/hovertextDocument/signatureHelptextDocument/definitiontextDocument/referencestextDocument/publishDiagnosticstextDocument/documentSymboltextDocument/codeAction(Inline variable)textDocument/formattingtextDocument/rangeFormattingtextDocument/renametextDocument/documentHighlightInitialization optionvenv- path to virtualenv. This option will be passed to Jedi'screate_environment.Also one can setVIRTUAL_ENVorCONDA_PREFIXbefore runninganakinlsso Jedi will find proper environment. Seeget_default_environment.DiagnosticsDiagnostics are published on document open and save.Diagnostics providers:JediSeeget_syntax_errors.pyflakespycodestyleServer restart is needed after changing one of theconfiguration files.mypyInstallmypyin the same environment asanakinlsand setmypy_enabledconfiguration option.Configuration optionsConfiguration options must be passed underanakinlskey inworkspace/didChangeConfigurationnotification.Available options:OptionDescriptionDefaulthelp_on_hoverUsehelpinstead ofinferfortextDocument/hover.Truecompletion_snippet_firstTweaksortTextproperty so snippet completion appear before plain completion.Falsecompletion_fuzzyValue of thefuzzyparameter forcomplete.Falsediagnostic_on_openPublish diagnostics ontextDocument/didOpenTruediagnostic_on_changePublish diagnostics ontextDocument/didChangeFalsediagnostic_on_savePublish diagnostics ontextDocument/didSaveTruepyflakes_errorsDiagnostic severity will be set toErrorif Pyflakes message class name is in this list. SeePyflakes messages.['UndefinedName']pycodestyle_configIn addition to project and user level config, specify pycodestyle config file. Same as--configoption forpycodestyle.Nonemypy_enabledUsemypyto provide diagnostics.Falseyapf_style_configEither a style name or a path to a file that contains formatting style settings.'pep8'jedi_settingsGlobalJedi settings.E.g. set it to{"case_insensitive_completion": False}to turn off case insensitive completion{}Configuration exampleHere iseglotconfiguration:(defvarmy/lsp-venvnil"Name of virtualenv.Set it in project's dir-locals file.")(defclassmy/eglot-anakinls(eglot-lsp-server)():documentation"Own eglot server class.")(cl-defmethodeglot-initialization-options((_servermy/eglot-anakinls))"Pass initialization param to anakinls."`(:venv,(whenmy/lsp-venv(expand-file-name(concat"~/.virtualenvs/"my/lsp-venv)))));; Add this server to eglot programs to handle python-mode and run `anakinls'(add-to-list'eglot-server-programs'(python-modemy/eglot-anakinls"anakinls"));; Also treat UnusedVariable as error(setq-defaulteglot-workspace-configuration'((:anakinls:pyflakes_errors["UndefinedName""UnusedVariable"])))Installationpip install anakin-language-serverDevelopmentpip install pre-commit
pre-commit install
Package: analisischip
Analisis de secuencias ChIP-seqHerramientas para anÃ¡lisis de secuencias en resultados de ChIP-seq.Incluye:
Clase para buscar secuencias en resultados de ChIP-seq y en promotores del genoma.
Funciones para buscar sitios de union en listas de secuencias.
Generacion de archivos .csv con resultados e histogramas.