Saravanan666/pypi-org huggingface dataset:
Package: elements-custom-fsspec
filesystem_specA specification for pythonic filesystems.Installpipinstallfsspecorcondainstall-cconda-forgefsspecPurposeTo produce a template or specification for a file-system interface, that specific implementations should follow,
so that applications making use of them can rely on a common behaviour and not have to worry about the specific
internal implementation decisions with any given backend. Many such implementations are included in this package,
or in sister projects such ass3fsandgcsfs.In addition, if this is well-designed, then additional functionality, such as a key-value store or FUSE
mounting of the file-system implementation may be available for all implementations "for free".DocumentationPlease refer toRTDDevelopfsspec usestoxandtox-condato manage dev and test
environments. First, install conda with tox and tox-conda in a base environment
(eg.conda install -c conda-forge tox tox-conda). Calls totoxcan then be
used to configure a development environment and run tests.First, setup a development conda environment viatox -e {env}whereenvis one of{py36,py37,py38,py39}.
This will install fsspec dependencies, test & dev tools, and install fsspec in develop
mode. You may activate the dev environment under.tox/{env}viaconda activate .tox/{env}.TestingTests can be run in the dev environment, if activated, viapytest fsspec.Alternatively, the full fsspec test suite can also be run viatox, which will
also build the appropriate environment (see above), with the environment specified
by the TOXENV environment variable.The full fsspec suite requires a system-level docker, docker-compose, and fuse
installation.Code Formattingfsspec usesBlackto ensure
a consistent code format throughout the project.
Runblack fsspecfrom the root of the filesystem_spec repository to
auto-format your code. Additionally, many editors have plugins that will applyblackas you edit files.blackis included in thetoxenvironments.Optionally, you may wish to setuppre-commit hooksto
automatically runblackwhen you make a git commit.
Runpre-commit install --install-hooksfrom the root of the
filesystem_spec repository to setup pre-commit hooks.blackwill now be run
before you commit, reformatting any changed files. You can format without
committing viapre-commit runor skip these checks withgit commit --no-verify.
Package: elements-manager
Installationpipinstallelements-managerImportfromelements_managerimportget_xpathExampleBelow script searches given keyword on google & scrapes result countfromselenium.webdriver.common.keysimportKeys
fromseleniumimportwebdriver
fromelements_managerimportget_xpathdriver=webdriver.Chrome("chromedriver.exe")# Open URLdriver.get('https://www.google.com/')xpath=get_xpath(driver,'QYQyyPtidm5_xqG')driver.find_element_by_xpath(xpath).click()# Type in search bardriver.switch_to.active_element.send_keys('shoes\n')# Advanced method to scrape result countxpath=get_xpath(driver,'z6XMV66vxokYpfn')result_count=driver.find_element_by_xpath(xpath).text
print('result_count ',result_count)driver.quit()Contact UsTelegram
Package: elements-pay
Elements Python SDKPython bindings for the Elements API.InstallationYou can install this package from source:pythonsetup.pyinstallConfigurationThis library requires you to configure the API key:importelementselements.api_key="my_api_key"You may connect to the sandbox by configuring the base url:importelementselements.api_base=elements.API_SANDBOXUsageimportelements# To create an authorized chargeauthorized_charge=elements.Charge.create(amount=300000,currency="USD",payment_method_id="PM-XXXX",)# Access model attributes like object fieldsauthorized_charge.amount# 30000authorized_charge.currency# "USD"authorized_charge.captured# False# To capture a chargecaptured_charge=elements.Charge.capture("CH-pV4rzxf9yRoWaPeJL2C47JoC",amount=300000)# To create a client tokenclient_token=elements.ClientToken.create(external_customer_id="foo").client_token# To retrieve a payment methodpayment_method=elements.PaymentMethod.retrieve("PM-XXXX",external_customer_id="cus_ext_id")Please refer to our REST API docs for detailed API usage.Development and TestingFirst, set up the virtualenv for development by:makeThen you may run tests like so:maketestIf you want to test for a specific Python version, supply the version like so (you must have the corresponding version installed first):TOX_ARGS="-e py38"maketestTo run the formatter, domakefmtFor adhoc testing, you may start a Python REPL and import elements, you may test your changes with a local or a sandbox
environment by setting theapi_baseandapi_key:importelementselements.api_base="http://localhost:3000"elements.api_key="my_api_key"
Package: elementtreewriter
IntroductionXML writer for elementtree with sane namespace support.This is an alternative for the standard XMLWriter of elementtree. If you need a better namespace handling - with sane prefixes - go with this version.CHANGELOG1.2 (2015-05-22)fix dependency on elementtree (was breaking newest buildouts)add README and CHANGELOG
[simahawk]1.1 (2008-09-05)Release [jensens]1.0 (2007-10-15)Release [jensens]
Package: elementy
ElementyThis package provides an interface to a variety of different data on elements of
the periodic table.InstallationThe metallurgy package can be installed frompypiusing pip:pip install elementyUsageAccess to elemental data is easily obtained by creating an instance of the
periodic table:fromelementyimportPeriodicTableperiodic_table=PeriodicTable()>>>periodic_table.elements["Cu"]["mass"]63.546>>>periodic_table.elements["Cu"]["valence_electrons"]11>>>periodic_table.elements["Cu"]["melting_temperature"]1357.77List of data typesThe following attributes are found in the Element class. Note that some entries
areNonedue to lack of experimental data available.NameSymbolProtonsElectronsNeutronsValence electronsGroupPeriodBlockSeriesOrbitalsAtomic numberPeriodic numberRadiusAtomic volumeMassValenceElectron affinityWigner Seitz electron densityChemical scaleMendeleev numberWork functionElectronegativity paulingElectronegativity allenElectronegativity miedemaElectronegativity mullikenIonisation energiesChemical hardnessChemical potentialMelting temperatureBoiling temperatureFusion enthalpyVaporisation enthalpyMolar heat capacityMolar volumeStructureThermal conductivityThermal expansionDensityCohesive energyDebye temperaturePrice-per-kilogrammeDocumentationDocumentation is availablehere.
Package: element-zstack
DataJoint Element - ZStackDataJoint Element for z-stack (volumetric) imaging, features cell segmentation withcellpose, data upload toBossDB, and data visualization withNeuroglancer. DataJoint Elements collectively standardize and automate data collection and analysis for neuroscience experiments. Each Element is a modular pipeline for data storage and processing with corresponding database tables that can be combined with other Elements to assemble a fully functional pipeline.Experiment FlowchartData Pipeline DiagramGetting StartedInstall from PyPIpipinstallelement-zstackInteractive tutorial on GitHub CodespacesDocumentationSupportIf you need help getting started or run into any errors, please contact our team by email atsupport@datajoint.com.
Package: elemeta
Elemeta: Metafeature Extraction for Unstructured DataElemeta is an open-source library in Python for metafeature extraction. With it, you will be able to explore, monitor, and extract features from unstructured data through enriched tabular representations. It provides a straightforward Python API for metafeature extraction from unstructured data like text and images.Key usage of Elemeta includes:Exploratory Data Analysis (EDA) - extract useful metafeature on unstructured data to analyze, investigate, and summarize the main characteristics and employ data visualization methods.Data and model monitoring - utilize structured ML monitoring techniques in addition to the typical latent embedding visualizations.Feature extraction - engineer alternative features to be utilized in simpler models such as decision trees.Getting StartedGet started with Elemeta by installing the Python library via pippipinstallelemetaOnce installed, there are a few example dataframes that can be used for testing the library.
You can find them inelemeta.dataset.datesetfromelemeta.dataset.datasetimportget_imdb_reviews# Load existing dataframereviews=get_imdb_reviews()After you have a dataset with the text column, you can start using the library with the following Python API:fromelemeta.nlp.runners.metafeature_extractors_runnerimportMetafeatureExtractorsRunnermetafeature_extractors_runner=MetafeatureExtractorsRunner()reviews=metafeature_extractors_runner.run_on_dataframe(dataframe=reviews,text_column='review')reviews.show()Pandas DataFramesElemeta can enrich standard dataframe objects:fromelemeta.nlp.runners.metafeature_extractors_runnerimportMetafeatureExtractorsRunnerimportpandasaspddf=pd.dataframe({"text":["Hi I just met you, and this is crazy","What does the fox say?","I love robots"})metafeature_extractors_runner=MetafeatureExtractorsRunner()df_with_metafeatures=metafeature_extractors_runner.run_on_dataframe(dataframe=reviews,text_column="text")StringsElemeta can enrich specific strings:fromelemeta.nlp.runners.metafeature_extractors_runnerimportMetafeatureExtractorsRunnermetafeature_extractors_runner=MetafeatureExtractorsRunner()metafeature_extractors_runner.run("This is a text about how good life is :)")DocumentationDocumentation homepageQuickstart notebookUse casesAPI referenceThis package aims to help enrich non-tabular data (i.e. text:nlp pictures: image processing and so on).
Currently, we only support textual data, and we enrich it by extracting meta features (such as avg word length).CommunityElemeta is brand new, so we don't have a formal process for contributions just yet. If you have feedback or would like to contribute, just go ahead and post aGitHub issue
Package: elen
elenEfficient Lexicographic Encoding of Numbers for python.
Based on ELEN algorithm published by Peter Seymour,http://www.zanopha.com/docs/elen.pdf.Free software: MIT licenseDocumentation:https://elen.readthedocs.io.Featurestwo-way conversion between ELEN notation and Pythondecimal.DecimalinstanceHistory0.1.0 (2017-10-21)First release on PyPI.
Package: elena-pdf
Elena PdfManage pdf files fast and easy
Merge, split, convert pdf to image and convert images to pdfInstall$pipinstallelena-pdfWindowsInstalling last version ofMicrosoft Visual C++ RedistributableLinuxMost distros ship withpdftoppmandpdftocairo. If they are not installed, refer to your package manager to installpoppler-utilsMacMac users will have to installpoppler for Mac.How to useImport modulefromelena_pdfimportelenaMerge pdf filesList of files to mergefiles_to_merge=["c:\\my_folder\\01.pdf","c:\\my_folder\\02.pdf","c:\\my_folder\\03.pdf"]Instance of the classmy_elena=elena.PdfManager(files_to_merge,replace=True,debug=True)# replace: replace destination file if exist# debug: print program status during executionMerge file and save in specific output filemy_elena.merge("c:\\output_folder\\output_file.pdf")Merge file and save in specific folder, with default output file namemy_elena.merge("c:\\output_folder")Split pdf filesList of files to mergefiles_to_split=["c:\\my_folder\\01.pdf","c:\\my_folder\\02.pdf","c:\\my_folder\\03.pdf"]Instance of the classmy_elena=elena.PdfManager(files_to_split,replace=True,debug=True)# replace: replace destination file if exist# debug: print program status during executionSplit files with default base namemy_elena.split("c:\\output_folder")Split files with specific base namemy_elena.split("c:\\output_folder"," page ")Split files with empty base namemy_elena.split("c:\\output_folder","")Convert pdf to imageOutput images extension:jpgList of files to mergefiles_to_convert=["c:\\my_folder\\01.pdf","c:\\my_folder\\02.pdf","c:\\my_folder\\03.pdf"]Instance of the classmy_elena=elena.PdfManager(files_to_convert,replace=True,debug=True)# replace: replace destination file if exist# debug: print program status during executionConvert files to images with default base namemy_elena.pdf_to_img("c:\\output_folder")Convert files to images specific base namemy_elena.pdf_to_img("c:\\output_folder"," page ")Convert files to images with empty base namemy_elena.pdf_to_img("c:\\output_folder","")Convert image to pdfInput images extension:jpg, eps, tga, webp, gifList of files to mergefiles_to_convert=["c:\\my_folder\\01.jpg","c:\\my_folder\\02.jpg","c:\\my_folder\\03.jpg"]Instance of the classmy_elena=elena.PdfManager(files_to_convert,replace=True,debug=True)# replace: replace destination file if exist# debug: print program status during executionConvert imges to pdf files, and generate one file for imagemy_elena.pdf_to_img("c:\\output_folder")Convert imges to pdf files, and merge in one oputput filemy_elena.pdf_to_img("c:\\output_folder","c:\\output_folder\\images_converted.pdf")
Package: elephant
Elephant - Electrophysiology Analysis ToolkitElephantpackage analyses all sorts of neurophysiological data:
spike trains, LFP, analog signals. The input-output data format is eitherNeo, Quantity or Numpy array.More InformationDocumentation:https://elephant.readthedocs.io/en/latest/Mailing list:https://groups.google.com/group/neuralensembleVisualization of Elephant analysis objectsViziphant package (https://github.com/INM-6/viziphant) is developed by Elephant
team for plotting and visualization of the output of Elephant functions in a
few lines of code.LicenseModified BSD License, seeLICENSE.txtfor details.Copyright:copyright: 2014-2023 by theElephant team.AcknowledgmentsSeeacknowledgments.CitationSeecitations.
Package: elephantor
Elephantorelephantoris a frontend to the duplicity backup tool written in pythonInstallInstall from pip$ pip install elephantorInstall from github$ git clone https://github.com/bougie/elephantorConfiguration# cp /etc/elephantor/config.sample.py /etc/elephantor/config.pyAnd fill variables with right value.How-tolaunch a backup$ elephator backupget a list of saved files$ elephator listget a list of saved files for a given date$ elephator list --time 2014-01-01do a restore in the /tmp/fubar directory$ elephator restore -d /tmp/fubarrestore the file toto ine the current directory$ elephator restore -f toto
Package: elephant-parsel
elephant_parselwrapper for PostgreSQL queries with transaction and connection pooling supportThis project is about makingpsycopg2easier to use.supported versionsDebian >=10, psycopg2 >=2.7, python >=3.7installationinstall usingpipenv:pipenvinstallelephant_parselbasic usagefromelephant_parsel.postgres_dbimportPostgresDB,PostgresDBExceptionimportloggingdb=PostgresDB(connection_config=dict(host='db.example.com',port=5432,dbname='the_database_name',user='the_username',password='****',minconn=1,maxconn=4),logger=logging.getLogger(),connect=True,register_hstore=False)server_version_string=db.query_one('select version()',None,column='version')Theconnection_configis used as kwargs for thepsycopg2.ThreadedConnectionPool, so it should support all libpq connection variables:https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-PARAMKEYWORDSAPI docs:https://elephant-parsel.readthedocs.io/en/latest/
Package: elephant-sock5
elephant-sock5-client-pypython client of Elephant(L4) tunnel for SOCK5 empowered bypy-netty.Elephant Servershould be deployed first, which is a L4 tunnel server designed to provide a secure and high-performance tunneling solution for TCP traffic.Usage$ elephant -h
Usage: elephant [OPTIONS]

Options:
  -p, --port INTEGER             Local port to bind  [default: 1080]
  -s, --server TEXT              Elephant tunnel server URL (like: ws[s]://localhost:4443/elephant/ws)  [required]
  -q, --quiet                    Quiet mode
  -l, --log-record               Save log to file (elephant-client.log)
  -t, --request-timeout INTEGER  Session request timeout (seconds)  [default: 3]
  --no-color                     Disable color output
  -v, --verbose                  Verbose mode
  -n, --tunnels INTEGER RANGE    Number of tunnels to achieve load balance  [default: 1; 1<=x<=8]
  --proxy-ip TEXT                Proxy IP
  --proxy-port INTEGER           Proxy port  [default: -1]
  --version                      Show the version and exit.
  -h, --help                     Show this message and exit.
Package: elephantsql-cli
CLI implementation of the ElephantSQL APIUsage:Install using pip$ pip install elephantsql-cliRegister your API token$ elephant register  # this will prompt you to add your API tokenList backups:$ elephant backups [--db=my_database]Create backups:$ elephant backup [--db=my_database]Restore backup:$ elephant restore backup_idList alarms:$ elephant alarmsProject Featureselephantsql_clia starterClickcommand-line
applicationautomated unit tests you can run withpytestaSphinxdocumentation
projectGetting StartedThe project’s documentation contains a section to help youget
startedas a developer or user of the library.Development PrerequisitesIf you’re going to be working in the code (rather than just using the
library), you’ll want a few utilities.GNU MakePandocResourcesBelow are some handy resource links.Project DocumentationClickis a Python package for
creating beautiful command line interfaces in a composable way with
as little code as necessary.Sphinxis a tool that
makes it easy to create intelligent and beautiful documentation,
written by Geog Brandl and licnsed under the BSD license.pytesthelps you write
better programs.[GNU Make] is a tool which controls the generation of executables and
other non-source files of a program from the program’s source files.AuthorsMalik S-Initial work-githubSee also the list ofcontributorswho participated in this project.LicenseMIT LicenseCopyright (c) flyudvikPermission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
“Software”), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Package: eleran
Simple & fast sass compiler and javascript minifier with hot reloadingInstallInstall using pip:pip install eleranUsageCommand:eleran <command> <path> --mode=<mode>commad:watchvalidategenerate–mode:debugExample, generate eleran.json to example directory:eleran generate exampleWatch:eleran watch exampleConfiguration Fileeleran.json:[
    {
        "sass": {
            "source": "sass/style.scss",
            "output": "style.min.css",
            "output_style": "compressed",
            "source_comments": false
        }
    },
    {
        "js": {
            "include": [
                "js/foo.js",
                "js/bar.js"
            ],
        "output": "script.min.js"
        }
    }
]Sass - output_style:compactcompressedexpandednested
Package: eletter
GitHub|PyPI|Documentation|Issues|Changelogeletterprovides functionality for constructing & deconstructingemail.message.EmailMessageinstances without having to touch the needlessly
complicatedEmailMessageclass itself.  A simple function enables
composition of e-mails with text and/or HTML bodies plus attachments, and
classes are provided for composing more complex multipart e-mails.Installationeletterrequires Python 3.6 or higher.  Just usepipfor Python 3 (You have pip, right?) to installeletterand its dependencies:python3 -m pip install eletterExamplesConstructing an e-mail with thecompose()function:importeletterTEXT=("Oh my beloved!\n""\n""Wilt thou dine with me on the morrow?\n""\n""We're having hot pockets.\n""\n""Love, Me\n")HTML=("<p>Oh my beloved!</p>\n""<p>Wilt thou dine with me on the morrow?</p>\n""<p>We're having <strong>hot pockets</strong>.<p>\n""<p><em>Love</em>, Me</p>\n")withopen("hot-pocket.png","rb")asfp:picture=eletter.BytesAttachment(content=fp.read(),filename="enticement.png",content_type="image/png",)msg=eletter.compose(subject="Meet Me",from_="me@here.qq",to=[eletter.Address("My Dear","my.beloved@love.love")],text=TEXT,html=HTML,attachments=[picture],)msgcan then be sent like any otherEmailMessage, say, by usingoutgoing.For more complex e-mails, a set of classes is provided.  Here is the equivalent
of the HTML-with-image e-mail with alternative plain text version from theemailexamples pagein the Python docs:fromemail.utilsimportmake_msgidimportelettertext=eletter.TextBody("Salut!\n""\n""Cela ressemble à un excellent recipie[1] déjeuner.\n""\n""[1] http://www.yummly.com/recipe/Roasted-Asparagus-Epicurious-203718\n""\n""--Pepé\n")asparagus_cid=make_msgid()html=eletter.HTMLBody("<html>\n""  <head></head>\n""  <body>\n""    <p>Salut!</p>\n""    <p>Cela ressemble à un excellent\n"'        <a href="http://www.yummly.com/recipe/Roasted-Asparagus-''Epicurious-203718">\n'"            recipie\n""        </a> déjeuner.\n""    </p>\n"f'    <img src="cid:{asparagus_cid[1:-1]}" />\n'"  </body>\n""</html>\n")image=eletter.BytesAttachment.from_file("roasted-asparagus.jpg",inline=True,content_id=asparagus_cid,)msg=(text|(html^image)).compose(subject="Ayons asperges pour le déjeuner",from_=eletter.Address("Pepé Le Pew","pepe@example.com"),to=[eletter.Address("Penelope Pussycat","penelope@example.com"),eletter.Address("Fabrette Pussycat","fabrette@example.com"),],)
Package: elevate
Elevate is a small Python library that re-launches the current process with
root/admin privileges using one of the following mechanisms:UAC (Windows)AppleScript (macOS)pkexec,gksudoorkdesudo(Linux)sudo(Linux, macOS)UsageTo use, callelevate.elevate()early in your script. When run as root this
function does nothing. When not run as root, this function replaces the current
process (Linux, macOS) or creates a new process, waits, and exits (Windows).
Consider the following example:importosfromelevateimportelevatedefis_root():returnos.getuid()==0print("before ",is_root())elevate()print("after ",is_root())This prints:before False
before True
after TrueOn Windows, the new process’s standard streams are not attached to the parent,
which is an inherent limitation of UAC. By default the new process runs in a
new console window. To suppress this window, useelevate(show_console=False).On Linux and macOS, graphical prompts are tried beforesudoby default. To
prevent graphical prompts, useelevate(graphical=False).
Package: elevationapi
elevationapi is a simple library that interfaces withhttp://www.elevationapi.xyz. It permits you to get the elevation of
almost any point on Earth.ExamplefromelevationapiimportElevatione=Elevation()elevation_of_Geneva=e.getElevation(46.2,6.15)#When asking for multiple points, use this instead:elevations=e.getElevations((46.2,6.15),(6.3,6.20))Using another API providerSimply instance Elevation with:e=Elevation(base_url='http://your-server.tld/api')
Package: elevation-Kyrgyzstan
Get the height of any point on the territory of KyrgyzstanElevation - Kyrgyzstan is a simple library that allows you to retrieve elevation information for almost any point in Kyrgyzstan. The data used by this library is sourced from the open database available atGEBCO.InstallationYou can install the Elevation-Kyrgyzstan package via pip with the following command:pipinstallelevation-KyrgyzstanUsageHere is a basic usage example:fromelevation.dataimportelevatione=elevation(latitude=42.81827,longitude=74.34551)CollaborationWe welcome contributions to the Elevation-Kyrgyzstan project. If you’d like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.TestingIf you want to run the tests for this project, you can do so by running python -m unittest.ContactIf you want to contact me, you can reach me at <azimkozho.developer@gmail.com>.