Saravanan666/pypi-org huggingface dataset:
Package: endaq-plot
endaq-plot - Painless Plotting Of Sensor Dataendaq-plot is a package comprising a collection of plotting utilities for sensor data analysis. It leverages Plotly in order to produce interactive plots, and makes creating powerful visualizations simple and easy for those new to Python.endaq-plot is a sub-package of the larger enDAQ ecosystem. Seethe endaq packagefor more details.Installationendaq-plot is available on PYPI viapip:pip install endaq-plotFor the most recent features that are still under development, you can also usepipto install endaq-plot directly from GitHub:pip install git+https://github.com/MideTechnology/endaq-python-plot.git@developmentUsage ExamplesFor these examples we assume there is a Pandas DataFrame nameddfwhich has it's index as time stamps and it's one column being sensor values (e.g. x-axis accleration, or pressure).   It also assumes there is a Pandas DataFrameattribute_dfwhich contains all the attribute data about various data files.  More information can be found about how to get this data from enDAQ IDE files in theendaq-cloud package.fromendaq.plotimportoctave_spectrogram,multi_file_plot_attributes,octave_psd_bar_plotfromendaq.plot.utilitiesimportset_themeSetting The Aesthetic Themeset_theme(theme='endaq')Creating Spectrograms With Octave Spaced Frequenciesfreqs,bins,Pxx,fig=octave_spectrogram(df,window=.15)fig.show()Creating PSD Bar Plots With Octave Spaced Frequenciesfig=octave_psd_bar_plot(df,yaxis_title="Magnitude")fig.show()Plot Attributes In Figure With Subplotsfig=multi_file_plot_attributes(attribute_df)fig.show()Other Linksthe endaq package -https://github.com/MideTechnology/endaq-pythonthe enDAQ homepage -https://endaq.com/
Package: endb
Endatabas Console and Python ClientThe official console and Python client library forEndatabas.Installationpipinstallendb
pipinstallwebsockets# optional WebSocket supportpipinstallpyarrow# optional Apache Arrow supportendbis supported on Python 3.10 and above.WebSocketsupport is optional.DocumentationEndb ConsolePython client libraryEndb SQL ReferenceConsole Usageendb_console[--urlURL][-uUSERNAME][-pPASSWORD]Python Client Library UsagefromendbimportEndbe=Endb()e.sql("INSERT INTO users {name: 'Yuvi'}")e.sql("SELECT * FROM users;")When thewebsocketsdependency is installed, it is possible to
return asynchronous results to the Python interactive shell
directly if you start it withpython3 -m asyncio:fromendbimportEndbWebSocketews=EndbWebSocket()result=awaitews.sql("SELECT * FROM users;")print(result)Developmentpipinstallsetuptoolswheeltwine
makeCopyright and LicenseThis subdirectory of the main Git repository and the contents of
theendbPyPI package are subject to the MIT License:Copyright 2023-2024 Håkan Råberg and Steven Deobald.Permission 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: endeavour-services-client
OverviewThis ia a Python client for the EndeavourWebServices, enabling users to consume the services without
having to explicitly resort to invoking the webservices.  In order for the client to work, you need to ensure
that the Endeavour Video Services are running in an environment that you can access, either locally or deployed
on a remote network.How To UseAt present there are 4 client methods that have been built.  These areVideo Length - Determines the length of a videoVideo to gif - Extracts images from the video to create both an animated gif and extract key framesYouTubeDownload - Enables a user to download a video from youtube onto a fileshare used by the webservicesVideSummary - Uses ML and NLP to identify key areas within a video, which once identified, enables the creation of a summary videoVideo LengthThis method enables users to determin the length of a video that is stored on the webservices serverfrom client.client_video_length import ClientVideoLength
    from client.models.video_length_request import VideoLengthRequest


    def runTests():
        endPointVideoLengthServiceURL = "http://192.168.0.52:8061/video_length/"
        vlRequest = VideoLengthRequest(user_id="Betty",
                               file_name="z.mp4",
                               input_path="../data/sourcing")

        vl = ClientVideoLength(endPointVideoLengthServiceURL)
        vlr = vl.getVideoLength(vlRequest)
        print(str(vlr.record_duration))


    if __name__ == '__main__':
        runTests()endPointVideoLengthServiceURL - URL to Video Length Serviceinput_path = directory on the webservice machine containing the temporary video filesfile_name = the name of the mp4 file that can be found at the doc rootHow to package source for pypidelete build and dist directoriespython setup.py bdist_wheelpython -m twine upload dist/*
Package: endec
endecWeb-compatibleencoding anddecoding library.endecusesencoding_rs(which powers Firefox) under the hood.InstallationRequires Python 3.8+$ pip install endecNOTE: This project is in a pre-release state, please do not use it in production workloads.ExamplesEncodeimportendecutf8_bytes=endec.encode("こんにちは")assertutf8_bytes==b"\xe3\x81\x93\xe3\x82\x93\xe3\x81\xab\xe3\x81\xa1\xe3\x81\xaf"iso2022jp_bytes=endec.encode("㊤㊥㊦","iso-2022-jp")assertiso2022jp_bytes==b"\x1b$B-e-f-g\x1b(B""㊤㊥㊦".encode("iso-2022-jp")# Standard Library `encode`# UnicodeEncodeError: 'iso2022_jp' codec can't encode character '\u32a4' in position 0: illegal multibyte sequenceDecodeimportendecutf8_str=endec.decode(b"\xe3\x81\x93\xe3\x82\x93\xe3\x81\xab\xe3\x81\xa1\xe3\x81\xaf")assertutf8_str=="こんにちは"iso2022jp_str=endec.decode(b"\x1b$B-e-f-g\x1b(B","iso-2022-jp")assertiso2022jp_str=="㊤㊥㊦"b"\x1b$B-e-f-g\x1b(B".decode("iso-2022-jp")# Standard Library `decode`# UnicodeDecodeError: 'iso2022_jp' codec can't decode bytes in position 3-4: illegal multibyte sequenceCodecsPlease refer toWHATWG Web Encoding Standardfor available codecs.LicenseThis project is licensed under the terms of theMIT license.
Package: endecrypt
EndecryptA simple python library for encryption and decryption . Library contain 10 (version 1.0) including ciphers and various other cryptographyDonate To Programmer [Donate] -bc1q9xu6n7cks0gddgqhdp4nqf7je2jetge0ys9sx7knf5653ukpkgmsptykwyOR -FeatureEasy to useSimple 3 - 4 line code required to convert text to encryptionInput also acceptedMore feature added LaterInstallationForWindowsandMACUserpip install endecryptORpython -m pip install endecryptForLinuxUserpip3 install endecryptUsageSimple Encryptionimportendecrypt#Encryptionmessage_1="hello world"#Use Small Wordencryption='morse'endecrypt.encode(message_1,encryption)# >> .... . .-.. .-.. ---  .-- --- .-. .-.. -..#Decryptionmessage_2=".... . .-.. .-.. ---  .-- --- .-. .-.. -.."# Don't leave spacedecryption='morse'endecrypt.decode(message_2,decryption)# >> hello worldAdvance EncryptionIn Advance Encryption we can use cipher text this library contain 5 ciphers more added laterfromendecryptimportcipher# Encryptionmessage_1="Hello World"encryption='affine'#We Can Use Anything As Variable ex - y = 'affine'slop_1=7slop_2=25cipher.encode(message_1,encryption,slop_1,slop_2)# >> WBYYTXTOYU#Decryptionmessage_2="WBYYTXTOYU"decryption='affine'#We Can Use Anything As Variable ex - y = 'affine'slop_1=7slop_2=25cipher.decode(message_2,decryption,slop_1,slop_2)# >> Hello WorldFor More Sample Run examples.pyLike my work -Donate To Programmer [Donate] -bc1q9xu6n7cks0gddgqhdp4nqf7je2jetge0ys9sx7knf5653ukpkgmsptykwyOR
Package: ender-ansi
ender-ansi🌈 uwu cutesy rainbow text <3 ✨this package is just a quicker way to colour your textusagefromender_ansiimport*print(f"{fg.pink}Hello, World!{fx.reset}")print(f"{fg.cyan}This is{fg.green}{fx.bold}very{fx.italic}cool!{fx.reset}")installpipinstallender_ansicolourseffectsresetbold/strongdull/dim/faintitalic/obliqueunderlinereverse/invert/inversestrikethrough/disabled/linethrough/crossedoutfunctionsclear()
Clears the terminal screenclear_all()
Clears the terminal, including the scrollback buffer, and resets the cursor positionclear_line()
Clears the current line at the cursormove_cursor(row, col)
Moves the cursor to a given row and columnlicenseThis project is released into the public domain under The Unlicense.
See LICENSE for more information.
Package: endereco
EnderecoTo installpip install enderecoTo import the libraryfrom endereco import EnderecoDefining the CEP, UF, CIDADE, BAIRRO or ENDERECOdata = Endereco('59082310')or addressdata = Endereco('rua buzius')Get Mensagemprint(data.mensagem())Get number of registerprint(data.total())Get all addressprint(data.resultados())All functions of addressprint(data.resultados()[0]['uf'])
print(data.resultados()[0]['localidade'])
print(data.resultados()[0]['locNoSem'])
print(data.resultados()[0]['locNu'])
print(data.resultados()[0]['localidadeSubordinada'])
print(data.resultados()[0]['logradouroDNEC'])
print(data.resultados()[0]['logradouroTextoAdicional'])
print(data.resultados()[0]['logradouroTexto'])
print(data.resultados()[0]['baiNu'])
print(data.resultados()[0]['nomeUnidade'])
print(data.resultados()[0]['cep'])
print(data.resultados()[0]['tipoCep'])
print(data.resultados()[0]['numeroLocalidade'])
print(data.resultados()[0]['situacao'])
print(data.resultados()[0]['faixasCaixaPostal'])
print(data.resultados()[0]['faixasCep'])LinksSee myGitHub.
Package: endersutils
Ender's UtilsWorking Versions:Currently supported/working versions as of the release of this oneCurrent version is always a maybeThere will be bugs, but versions not mentioned are completely broken0.2.20.3.00.3.10.3.2How to use:from endersutils import endersutilsWould recommend usingasto make it easierfrom endersutils import endersutils as euIt will be shown aseuthroughout the docs so that is all the explanation you're gettingeu.fixedrange(Depreciated):Returns a range with a bias of one(I.E.range(3)returns(0, 1, 2)whereasfixedrange(3)returns(1, 2, 3))eu.fixedindex(Depreciated):Its like one of those python tutorials where it just adds 1 to a numberOnly this time, I did it for some reason. No docs, just timewastingeu.version:Returns the version inSemantic Versioningeu.intversion:Returns the main integer versionUsed so I can exclude main versions but small bug-fixes will stay the same and I don't have to specify 1000 version ruleseu.pair()(Depreciated):Returns a name-value pair atobj[0]for name andobj[1]for the value(assuming obj is equal toeu.pair())eu.components():Returns a manager class for componentsMethods:
-add_component(func, params): Adds a function component and passes inparams. Stores at the next available index starting at 0 of theeu.componentsclass
-run_component(idx): Runs the command stored atidx-del_component(idx): Deletes the command at the specified index and pushes the ones behind it down
-list_components(): Prints a neatly formatted version of all the components in a class. (Doesn't return the list, doeu.components.component)eu.game:Returns a game class for simplepygameor other game projectsMakes an instance of the module used
Parameters:
-width: The width of the screen
-height: The height of the screen
-engine: The game engine to be used, only pygame is currently supported, if your crazy enough to make a game engine, dm me ;)
Methods:
-initEngine():REQUIRED, should be done among the first lines of code
-keyPressed(key): Tests if a key is pressed
-runAtFps(fps): Used by therun()function, I don't know why you would use this, knock em' dead ig
-getEvents(): Get the events since the last update
-run(gameFunction, fps, bgcol): Runs the game by executing these functions: Checking if the program was quit, and if so, quitting it, resetting the frame by setting the background color(bgcolis a tuple in RGB format), runsgameFunction, and then ticks atfpseu.getAllInDir():Returns all single files in a directory and all sub-directoriesParameters:
-dir: The directory to search
Package: endesive
DescriptionPython library for digital signing and verification of digital signatures in mail,
PDF and XML documents.The ASN.1 implementation depends onasn1crypto.
Cryptographic routines depends oncryptographylibrary.For certificate verificationCertValidatoris used.This library implements S/MIME handler which can encrypt and decrypt S/MIME messages
using a public RSA key, in AES-128/192/256 CBC/OFB modes.
It can also sign and verify S/MIME messages.This library implements CAdES-B handler for signing and verifying PDF documents in
Adobe.PPKLite/adbe.pkcs7.detached form.
It can sign documents during generation using a modified version ofpyfpdfwhich is
included in this library. It can also sign documents generated by external programms.This library implements XADES BES/T  with enveloped and enveloping format for creating
signed xml files.This library implements CMS handler for signing and verifying plain text files with
detached signature files.LicenseThis software is licensed under the MIT License. See the LICENSE file in
the top distribution directory for the full license text.## RequirementsPython 3.*cryptographyasn1cryptocertvalidatorlxmlpykcs11PillowExamplescert-make.pyCreate required certificates (password is 1234)cert-make-hsm.pyCreate required certificates for SoftHSM (password is secret1)pdf-make.pyCreate simple two paged PDF document which is used in pdf-sign-cms.py.pdf-sign-cms.pyCreate signature in externally created PDF.pdf-sign-cms-hsm.pyCreate signature in externally created PDF but signed with key stored in SoftHSM.pdf-sign-fpdf.pyCreate signature while creating PDF.pdf-verify.pyVerify prevously generated files (cms/pdf).plain-make.pyCreate simple UTF-8 text file.plain-openssl.shSign, encrypt and decrypt text file with help of openssl executable.plain-sign-attr.pySign text file with ‘extended’ CMS attributes.plain-sign-noattr.pySign text file without ‘extended’ CMS attributes.plain-verify.pyVerify all generated signatures for text file.smime-make.pyCreate simple UTF-8 text file for use in following examples.smime-openssl.shCreate signed S/MIME file, encrypted S/MIME file and decrypt generated S/MIME file
with help of openssl executable.smime-encrypt.pyCreate encrypted S/MIME file.smime-decrypt.pyDecrypt encrypted S/MIME file.smime-sign-attr.pyCreate signed S/MIME file with ‘extended’ CMS attributes.smime-sign-noattr.pyCreate signed S/MIME file without ‘extended’ CMS attributes.smime-verify.pyVerify all generated S/MIME files.xml-make.pyCreate simple xml file for use in following examples.xml-hsm-certum-enveloped.pyXADES enveloped mode with real certificate (BES/T).xml-hsm-certum-enveloping.pyXADES enveloping mode with real certificate (BES/T).xml-hsm-softhsm2-enveloped.pyXADES enveloped mode with SoftHSM certificate (BES).xml-hsm-softhsm2-enveloping.pyXADES enveloping mode with SoftHSM certificate (BES).ToolsOnline pdf validatorpdfvalidatororverapdf.
Offline Apachepdfboxjava based validator.Validate electronic signatures:ec_europa.
Package: endf
ENDF Python Interfaceendfis a Python package for reading and interpretingENDF-6andACEformat nuclear data files.
Compared to other packages that provide functionality for working with ENDF and
ACE files, this package has numerous advantages:Easily installable throughpipThoughtful API design targeting Python firstOffers both a low-level interface for working with the raw data in an ENDF
file as well as a more intuitive high-level interfaceFast file-loading performance thanks to optimized read routinesFully documented, tested, and type-hintedInstallationTheendfPython package can be installed from thePython Package
Indexusingpip:python-mpipinstallendfDocumentationFor information on how to use theendfpackage and a full API reference,
please see theonline documentation.
Package: endf-parserpy
endf-parserpy - an ENDF-6 toolkit for Pythonendf-parserpyis a Python package for reading
and writingENDF-6files.
This functionality in combination with Python's
powerful facilities for data handling enables you to
perform various actions on ENDF-6 files, such as:Easily access any informationModify, delete and insert dataPerform format validationConvert from and to other file formats, such as JSONMerge data from various ENDF-6 files into a single oneCompare ENDF-6 files with meaningful reporting on differencesConstruct ENDF-6 files from scratchThe support for theENDF-6 formatis comprehensive.
The package has been tested on the various sublibraries
of the major nuclear data libraries, such asENDF/B,JEFF,
andJENDL.
Note that the package does not support several materials
in a single ENDF-6 file.Install endf-parserpyThis package is available on thePython Package Indexand can be installed usingpip:pipinstallendf-parserpyDocumentationThe documentation is available online@readthedocs.Simple exampleThe following code snippet demonstrates
how to read an ENDF-6 file, change theAWRvariable in the MF3/MT1 section
and write the modified data to a new
ENDF-6 file:from endf_parserpy import EndfParser
parser = EndfParser()
endf_dict = parser.parsefile('input.endf')
endf_dict[3][1]['AWR'] = 99.99
parser.writefile('output.endf', endf_dict)CitationIf you want to cite this package,
please use the following reference:G. Schnabel, D. L. Aldama, R. Capote, "How to explain ENDF-6 to computers: A formal ENDF format description language", arXiv:2312.08249, DOI:10.48550/arXiv.2312.08249LicenseThis code is distributed under the MIT license, see the
accompanying license file for more information.Copyright (c) International Atomic Energy Agency (IAEA)AcknowledgmentsDaniel Lopez Aldama made significant contributions
to the development of this package. He debugged the
ENDF-6 recipe files and helped in numerous discussions
to convey a good understanding of the technical details of
the ENDF-6 format that enabled the creation of this package.
Package: endi-celery
Since version 6, endi-celery only supports python 3.Asynchronous tasks are executed through celery.
pyramid_celery is used to integrate celery with the Pyramid related stuff.
pyramid_beaker is used to cache responses.tasks:Asynchronous tasks called from enDIscheduler:Beat tasks, repeated along the time (like cron tasks)ResultsNo result backend is used, tasks interact directly with enDI’s database to
return datas.enDI celery provides all the models that should be used to store task
execution related stuff (see endi_celery.models).InstallSystem packagesautonmie_celery needs a redis server to runOn Debianapt-get install redis-serverOn Fedoradnf install redis-serverPython stuffendi_celery should be run in the same environment as enDI :https://framagit.org/endi/endiYou may first runworkon endigit clone https://framagit.org/endi/endi_celery.git
cd endi_celery
python setup.py install
cp development.ini.sample development.iniCustomize the development.ini file as neededStart itLaunch the following command to launch the worker daemon:celery worker -A pyramid_celery.celery_app  --ini development.iniLaunch the following command to launch the beat daemon:celery beat -A pyramid_celery.celery_app --ini development.iniCustomize accounting operation parser and producer for different general_ledger filesIn the inifile of your celery service, configure service factoriesSage (default)endi_celery.interfaces.IAccountingFileParser=endi_celery.parsers.sage.parser_factoryendi_celery.interfaces.IAccountingOperationProducer=endi_celery.parsers.sage.producer_factorySage Generation Expertendi_celery.interfaces.IAccountingFileParser=endi_celery.parsers.sage_generation_expert.parser_factoryendi_celery.interfaces.IAccountingOperationProducer=endi_celery.parsers.sage_generation_expert.producer_factoryQuadraendi_celery.interfaces.IAccountingFileParser=endi_celery.parsers.quadra.parser_factoryendi_celery.interfaces.IAccountingOperationProducer=endi_celery.parsers.quadra.producer_factory
Package: endi-oidc-provider
This is still a work in progress.Open Id connect provider based on enDI (http://endi.coop).OnlyAuthorization Code Flowis supportedGetting StartedInstallInstall oidc provider in the same virtual environment as endi.$VENV/bin/pipinstallendi_oidc_providerConfigure your development.ini fileEnsure the paths to the session files :session.data_dir : path on disksession.lock_dir : path on diskSet the connection uri for database access :sqlalchemy.url : the mysql uri to access endi’s databaseConfigure oidc specific keys (unique salt and oidc endpoint url ):oidc.salt : a unique salt used for encryptionoidc.issuer_url : url of the oidc endpoint (likehttps://myendi.coop/oidc)Start the service$VENV/bin/pserve development.inienDI integrationIn your enDI’s ini file add the following :pyramid.includes =
                    ...
                    endi_oidc_provider
                    ...That’s for model registration so that the db startup initialize the tables.And add the following :endi.includes =
                    ...
                    endi_oidc_provider.plugin
                    ...It adds an administration panel to manage the oidc consumers that access the
API.Authorization handlingClient’s keyYou can generate a Client private key through command-line or through the
administration panelhttps://myendi.coop/admin/oidc/oidc-manage <config_uri> clientadd --client=<client> --uri=<redirect_uri> --scopes=<scopes> --cert_salt=<cert_salt> --logout_uri=<logout_uri> --admin_email=<admin_email>config_uri : Your ini fileclient: A label for your clientredirect_uri : The redirect uri has described in the openid connect specifications (The one passed in the Authorize step)scopes : The scope the application is requesting (at least the openid scope should be provided) e.g: “openid profile”cert_salt : A salt random key that will be used to encrypt the client secret in the databaselogout_uri : The uri to call on global logout (will be called through iframes)admin_email: The e-mail of the consumers administratorAfter generating both client_id and client_secret. The client app is able to request authentication.
The client secret and client id should be pased to the consumer’s admin, they
are mandatory to allow the oidc authentication/authorization.Authorize EndpointThe client app can call the Authorization url :https://myoidc_provider.com/oidc/authorizeIt authenticates the user and returns an Authorization code in the response.Token urlCalled in the background, the Token endpoint is accessible at the following url :https://myoidc_provider.com/oidc/tokenThe RFC :https://tools.ietf.org/html/rfc6749#section-2.3.1Describes Client Password transmission methods.Supported client auth method :Through request headers : Basic auth tokens are supportedThrough request POST params : client_id and client_secret keys are then expectedIn the response you get :An access token with mandatory informationsAn id_token JWS encrypted as described in the specSince we use code flow, the id_token also returns the at_hash access_token
identification key