Saravanan666/pypi-org huggingface dataset:
Package: essmc2
EssentialMC2IntroductionEssentialMC2 is a complete system to solve video understanding tasks including MHRL(representation learning), MECR2(
relation reasoning) and MOSL3(openset life-long learning) powered byDAMO AcademyMinD(Machine IntelligenNce of Damo) Lab. This codebase provides a comprehensive solution for video classification,
temporal detection and noise learning.FeaturesSimple and easy to useHigh efficiencyInclude SOTA papers presented by DAMO AcademyInclude various pretrained modelsInstallationInstall by pipRunpip install essmc2.Install from sourceRequirementsPython 3.6+PytTorch 1.5+Runpython setup.py install. For each specific task, please refer to task specific README.Model ZooPretrained models can be found in theMODEL_ZOO.md.SOTA TasksTAda! Temporally-Adaptive Convolutions for Video Understanding[Project] [Paper] [Website]ICLR 2022NGC: A Unified Framework for Learning with Open-World Noisy Data[Project] [Paper]ICCV 2021Self-supervised Motion Learning from Static Images[Project] [Paper]CVPR 2021A Stronger Baseline for Ego-Centric Action Detection[Project] [Paper]First-placesubmission toEPIC-KITCHENS-100 Action Detection ChallengeTowards Training Stronger Video Vision Transformers for EPIC-KITCHENS-100 Action Recognition[Project] [Paper]Second-placesubmission toEPIC-KITCHENS-100 Action Recognition challengeLicenseEssentialMC2 is released underMIT license.MIT License

Copyright (c) 2021 Alibaba

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.AcknowledgementEssentialMC2 is an open source project that is contributed by researchers from DAMO Academy. We appreciate users who
give valuable feedbacks.
Package: ess-message-consumer
ESS command-line message consumerKafka commandline message consumer specific to handle ESS flatbuffer messages
of typesnamedescriptionpl72Run start6s4tRun stopf142Log dataev42Event datax5f2Status messagesanswFile-writer command responsewrdnFile-writer finished writingADArEPICS area detector dataInstallingess_message_consumerCreate virtual environment with Python 3.6 or later:git clone https://github.com/ebadkamil/ess-message-consumer.git
cd ess-message-consumer
python3 -m venev {env_name}Activate virtual environment and installess-message-consumer:source {env_name}/bin/activate
pip install .Usage:Start consuming ESS flatbuffer messages from given topicsstart_consumer -b {broker_address} -t {topics_to_consume_msg_from} --rich_console
  broker_address: for eg. "localhost:9092"
  topics_to_consume_msg_from: "topic_1, topic_2, ..."
  rich_console: optional for rich layout console.List all available topics on a brokerlist_available_topics -b {broker_address}Produce messages on a kafka-topic for debugging purposes:start_producer -b {broker_address}
  # This will prompt you to input following information in order:
      # 1. Topic Name: {topic_name_to_publish_data_to}
      # 2. Message to send: {put your message here}
      # 3. Exit ? (y/n)
Package: essnapshot
essnapshotinstallationglobally used python >= 3.6pip install essnapshotpython2 and python >= 3.6 installed at the same timepip3 install essnapshotcurrent stateThe goal is to deliver a snapshot rotation tool for elasticsearch snapshots.
The functionality should be rather simple as most of it is already implemented in ES.So I just stick to creating a repository, create snapshots within it and delete old ones.
I assume that most people will usecronto call this script, so no daemon functionality
or similar will be implemented.The tool is not built to monitor the successfull write to disk of your snapshots.
You have to monitor theSTATEof the snapshots yourself.At the Moment only Python 3.6, 3.7 and 3.8 are supported. Support for older Python versions
is not planned at the moment.usage/configurationAt the moment the tool supports only one parameter (excecpt for help):Usage: cli.py [options]

Options:
  -h, --help            show this help message and exit
  -c FILE, --config=FILE
                        Path to configuration file. See example and
                        documentation at https://github.com/gricertg/essnapshotYou must provide ayamlconfiguration file like this:---
es_connections:
  - host: 'localhost'
    port: 9200
repository_name: 'essnapshot'
repository:
  type: 'fs'
  settings:
    location: '/mnt/snapshot'
    compress: 'true'
retention_time: '7d'The parameters should be self explanatory (if you're familiar with ES).A short help to get you started with the main parameters:es_connectionsA list(array) of hashes(dictionaries) to which ES can connect to.
To understand how this works see theElasticsearch API documentation.
Each Host is aDictionaryin theList.
The Options per Host are the ones forUrllib3HttpConnections.
SeeConnectionin the API documentation.
Here you can configre authentication too.Please ensure that this configuration file can only be read by the user/container
designated for the backup if you put any credentials in this configuration file
(and please don't put it into a public git repository).repository_nameThis is the name of the repository which will be created and the snapshots created in.repositoryThis represents the configuration of the ES repository. It's a representation of the JSON sent to ES
and is described in the ES documentation inRegister a snapshot repository.retention_timeThe maximum backup age before snapshots will be deleted.executionThe script is intended to run at regular intervals viacron. I recommend to created a
dedicated user for the snapshots and that only this user can access the configuration file.A crontab entry for this user could look like this:4 1 * * * essnapshot > /dev/nullSTDOUT is suppressed. If any error occurs the error message will be sent via mail
to the snapshot user (depending on your configuration of the system).developmentthe feature set should be kept smallthe project should have a high test coverage (there is still room to improve it!)try to hold on to styleguides and improve code qualityYou needpoetryanddocker(for tests) installed.Necessary improvements and development steps should be documentated as github issues.
Package: ess-streaming-data-types
Python Streaming Data TypesUtilities for working with the FlatBuffers schemas used at the European
Spallation Source ERIC for data transport.https://github.com/ess-dmsc/streaming-data-typesFlatBuffer Schemasnamedescriptionhs00Histogram schema (deprecated in favour of hs01)hs01Histogram schemans10NICOS cache entry schemapl72Run start6s4tRun stopf142Log data (deprecated in favour of f144)f144Log dataev42Event data (deprecated in favour of ev44)ev43Event data from multiple pulsesev44Event data with signed data typesx5f2Status messagestdctTimestampsep00EPICS connection info (deprecated in favour of ep01)ep01EPICS connection inforf5kForwarder configuration updateanswFile-writer command responsewrdnFile-writer finished writingNDArDeprecatedADArEPICS areaDetector dataal00Alarm/status messages used by the Forwarder and NICOSsenvDeprecatedjsonGeneric JSON datase00Arrays with optional timestamps, for example waveform data. Replacessenv.hs00 and hs01Schema for histogram data. It is one of the more complicated to use schemas.
It takes a Python dictionary as its input; this dictionary needs to have correctly
named fields.The input histogram data for serialisation and the output deserialisation data
have the same dictionary "layout".
Example for a 2-D histogram:hist={"source":"some_source","timestamp":123456,"current_shape":[2,5],"dim_metadata":[{"length":2,"unit":"a","label":"x","bin_boundaries":np.array([10,11,12]),},{"length":5,"unit":"b","label":"y","bin_boundaries":np.array([0,1,2,3,4,5]),},],"last_metadata_timestamp":123456,"data":np.array([[1,2,3,4,5],[6,7,8,9,10]]),"errors":np.array([[5,4,3,2,1],[10,9,8,7,6]]),"info":"info_string",}The arrays passed in fordata,errorsandbin_boundariescan be NumPy arrays
or regular lists, but on deserialisation they will be NumPy arrays.Developer documentationSeeREADME_DEV.md
Package: essx
This script requires some initial setup to be completed before using it:Export your Platform API credentials to your localhost's environment variables as SCH_CRED_ID (credential id) and
SCH_AUTH_TOKEN (authentication token).Export your Snowflake Password (the password used to log into your Snowflake organization) to your localhost's
environment variables as SF_P. You will supply the username as an argument to the snowflake_conn method.Export your MySQL password (the password used to authenticate with your MySQL instance) to your localhost's
environment variables as MYSQL_P. You will supply the username as an argument to the mysql_conn method.Spin up a Transformer deployment with a 'docker' install type, and run the resulting install/startup command
on the same host where the script is being run. Note: you may need to add-p 19630:19630to expose the Transformer
instance inside the docker container on your localhost's 19630 port.Usedocker cpto copy your target CSV file into your Transformer docker container, and use the path of the copied
file in thefrom_csvmethod.The current script usage is as follows:import essx

sx = essx.Sx()
mysql_conn = sx.mysql_conn(host='url.of.mysql:port', username='username')
snowflake_conn = sx.snowflake_conn(account='snowflake-account', role='SNOWFLAKE_ROLE',
                                   warehouse='SNOWFLAKE_WAREHOUSE', database='DATABASE', schema='SCHEMA',
                                   username='USERNAME')

pt1_df = sx.from_mysql(connection=mysql_conn, schema='SCHEMA', tables=['TABLE_NAME'])
pt2_df = sx.from_csv('/path/to/file.csv')
final_df = sx.merge(pt1_df, pt2_df, how='JOIN_TYPE', on='COLUMN_NAME')
final_df = sx.drop(columns=['COLUMN_ONE', 'COLUMN_TWO', 'COLUMN_THREE', 'COLUMN_FOUR'])
Package: est
Est: Spectroscopy workflowsestis a library providing tools to define a workflow of treatments for X-ray Absorption Structure analysis.
Treatments are based on eatherPyMca_ orLarchThe library offers a convenient object for connecting those two.AnOrange3add-on is also provided by the library to help user defining graphically the workflow they want to process.Installationpipinstallest[full]Testpytest--pyargsest.testsDocumentationhttps://ewoksest.readthedocs.io/
Package: estare
estare𐎠𐎿𐎫𐎼estare was developed for aligning and stacking photos particularly astronomical photos, which may require careful adjustment before stacking.
It is run in two modes:scanfor feature detection, andstackfor stacking up two frames. The former is a prerequisit for the alignment step.
Run the scan mode to select features such as bright stars that are present in both frames that are going to be aligned. Later, when running thestackmode, the algorithm uses the coordinates obtained in the feature detection step to adjust the frames before stacking them up.InstallTo install the current release, use one of the following methods.Python package indexpip install estareUse this method if you intend to use estare as a command line tool. It is recommended to install the pip package in a virtual environment.From the GitHub repositoryYou can also download the package directly from GitHub.RunIf estare is installed using thepipdistribution, you can run it from the command line by callingestare scan ...orestare stack ...On the other hand, if it is downloaded as a package, it needs to be extracted first. Afterwards, you can run it like a package: \python -m estare scan ...orpython -m estare stack ...In either case, useestare -hfor a complete guide on how to run each mode.
Package: estat
estatDownload data from Japanese Government Statistics and save it as CSV
format files.各府省等が公表する統計データがまとめられた政府統計の総合窓口（e－Stat）からデータをダウンロードし、CSV形式のファイルに保存します。How to useFirst you must get appID from e-Stat site from here
(https://www.e-stat.go.jp/).
まずe-Stat
(https://www.e-stat.go.jp/)からappIDを取得します。Next do the followings.次に下記のコマンドを実行します。>>> import estat
>>> estat.download()You can find csv format files in $HOME/estat/data-cache.$HOME/estat/data-cache
ディレクトリにCSV形式のデータファイルが生成されます。If you want to change estat directory from $HOME/estat, do the
following.>>> estat.download(directory='/home/hoge/data/estat/')If you cannot download the CSV format files,check the appID and curl settings in ~/.curlrc or /etc/.curlrc for
your proxy server settings.$ cat proxy ~/.curlrcAuthorkenbunjihttps://github.com/kenbunji/estatLicenseLicensed under the MIT license.RemarksThis program is created referring to this sitehttps://github.com/e-stat-api/adaptor
Package: estatpandas
estatpandasestatpandasis a Python library that simplifies downloading and processing data from e-Stat, the Japanese government's official statistics portal. The library retrieves data in JSON format and converts it to a pandas DataFrame for easy analysis and manipulation.InstallationYou can install this package usingpip: pip install estatpandasUsageimportestatpandasasepdapi_key="your_api_key_here"stats_data_id="your_stats_data_id_here"estat_df=epd.get_estat_dataframe(api_key,stats_data_id)print(estat_df)Replace your_api_key_here with your actual e-Stat API key and your_stats_data_id_here with the ID of the data you want to retrieve.LicenseThis project is licensed under the MIT License.日本語estatpandasestatpandas は、日本政府の公式統計ポータルである e-Stat からデータをダウンロードし、処理するための Python ライブラリです。このライブラリは、JSON 形式でデータを取得し、pandas DataFrame に変換して簡単に分析や操作ができるようにしています。インストールestatpandas をpipを使ってインストールすることができます: pip install estatpandas使い方importestatpandasasepdapi_key="your_api_key_here"stats_data_id="your_stats_data_id_here"estat_df=epd.get_estat_dataframe(api_key,stats_data_id)print(estat_df)your_api_key_here を実際の e-Stat API キーに、your_stats_data_id_here を取得したいデータの ID に置き換えてください。ライセンスこのプロジェクトは MIT ライセンスのもとでライセンスされています。
Package: estats
estats is part of the Non-Gaussian Statistics Framework (NGSF).If you use this package in your research please cite Zuercher et al. 2020 (arXiv-2006.12506)
and Zuercher et al. 2021 (arXiv-2110.10135).SourceDocumentationIntroductionThe estats package contains the main building blocks of the NGSF.
It was initially built to constrain cosmological parameters using Non-Gaussian
weak lensing mass map statistics.
The different submodules are independent of each other and can easily
be used in other codes individually.Getting StartedThe easiest and fastest way to learn about estats is to have a look at the Tutorial Section.CreditsThis package was created by Dominik Zuercher (PhD student at ETH Zurich in Alexandre RefregiersComsology Research Group)The package is maintained by Dominik Zuercherdominik.zuercher@phys.ethz.ch.ContributingContributions are welcome, and they are greatly appreciated! Every
little bit helps, and credit will always be given.
Package: esteele.manager
IntroductionTools to make managing Plone core releases easier.Changelog1.1 (unreleased)add feature: add the package to the version file if it doesn’t exists
[jfroche]add command to set the package version in a versions config file
[jfroche]return the new version number when appending jenkins build number to the versions of a package
[jfroche]1.0 (2014-04-23)Initial release
Package: esteem
ESTEEM: Explicit Solvent Toolkit for Electronic Excitations in MoleculesContents of package:A python package that uses the Atomic Simulation Environment python
packages, and a range of optional calculators that ASE can make
available, to perform calculations of excited states of explicitly-solvated
solute molecules.Dependencies:Python 3ASE (tested on 3.19.0)Codes which can be interfaced with (all optional):NWChem >=6.6 (tested on 6.6, 6.8, 7.0)ORCA >= 5.0.2AMBER (tested on AmberTools 16.0 and 20.0)LAMMPSONETEP (tested on 5.3.x and 6.0)PhysNetMACEAMPSpecPyCodeEZFCFLicense:This package is distributed under the MIT License.Setup:Install the package via pip:pip install esteemWrite a script that imports esteem tasks and wrappers (or adapt something from
/examples)Run the script, specifying the task, seedname and task_targetpython my_script.py   <task_target>egpython cate.py solutes cate gs_PBEThe script should invoke the main drivers routine once the tasks are set up.Some wrappers require only another python package: if this is correctly
installed the code should work. Other wrappers require a binary, and
in most cases this will need to be specified - see the instructions on
each wrapper for more details.
Package: esteganew
Método de usoEsteganew es una libreria que maneja distintas herramientas para generar metodos de protección de la información; por medio de la estaganografia en imagenes.Recomendaciones Iniciales.Principalmente tener instalada las libreriasPILycryptography.Para instalarlas, hay que usar los siguientes comandos en linux:sudo pip3 install cryptographysudo pip3 install PILToda imagen que valla a pasar por el proceso esteganografico, debe estar dentro de la carpeta. Del archivo a utilizar.Instrucciones de uso.Para importar todo el contenido de esteganew hay que hacerlo de la siguiente forma:from Esteganew.esteganew import *Como gran parte de Esteganew esta orientada a objetos es importante tener en cuenta que para utilizar la libreria hay que crear objetos de tipo "Esteganew"objeto = Esteganew(nombre_imagen, mensaje,nuevo_nombre)Esta clase tiene requiere en un principio como primer argumento el nombre de la imagen que será utilizada (con extención tipo: '.png', '.tiff,' .jpg'... etc.) de tipo 'str', como segundo argumento el mensaje que se desea esconder tambien de tipo 'str' y para el tercer argumento se exige un nombre para el archivo de salida de tipo 'str'.Los objetos de tipo Esteganew pueden implementar las siguientes funciones:generar_data():Esta función se encarga de transformar el mensaje a binario. Lo que hace es adjuntar a una lista el valor de cada caracter, el cual se obtiene en un principio transformandolo a su valor en Unicode, y luego este a binario.modificar_pixeles()La razón de esta función es la de convertir los pixeles necesarios de la imagen (según lo largo del mensaje) en nuvos pixeles alterando el valor RGB de cada pixel reduciendolo en una unidad.cambiar_pix()Esta función se encarga de modificar ya en la nueva image los valores de los pixeles. A partir de las cordenadas (x, y) de la imagen.codificar()La función codificar() esta dada para retornar un archivo en formato '.png', con el mensaje ya escondido.decodificar()Esta función cumple la labor de retornar el mensaje oculto dentro de una imagen ya codificada.Aparte de las funciones de tipo objeto Esteganew hay unas herramientas de encriptación de mensajes que pueden ayudar a proteger el mensaje dentro de la imagen:llave()Con esta función se genera una llave para empezar el proceso de encriptación, la cual es de tipo "bytes", la cual es necesaria para poder crear un mensaje encriptado.enCRYptar()Esta se encarga de recibir un mensaje de tipo str, y a partir de la función 'llave()', procesos de codificación nativos de python y el modulo de encriptación 'Feret' de la librería 'cryptography.fernet'.deCRYptar()Se encarga de recibir un mensaje encriptado de tipo str y el nombre de un archivo con extención '.key', luego por medio de la función 'open()' nativa de python extrae el texto del archivo '.key' para aplicar  funciones del modulo Fermet, que ayudan a recuperar el mensaje encriptado.Esperamos que pueda servir de algo...Muchas gracias<3
Package: esteid-certificates
esteid-certificatesThis library contains certificates for Estonian electronic identity services and a couple of functions
that facilitate usage.The library covers the following use cases:embedding the root certificate of the Estonian Certification centre into an XML signature structure prior to signing;obtaining OCSP confirmation of the signer's certificate after signing: the OCSP request
must contain an issuer certificate that corresponds to the issuer's common name
as included in the signer's certificate.APIGet a certificate by issuer's common name:fromesteid_certificatesimportget_certificate_file_name,get_certificate# path to PEM certificate fileassertget_certificate_file_name("EID-SK 2016").endswith(".pem")# the certificate as bytesassertget_certificate("EID-SK 2016").startswith(b"-----BEGIN CERTIFICATE-----")Get the root certificate:fromesteid_certificatesimportget_root_ca_file_name,get_root_certificate# path to PEM certificate fileassertget_root_ca_file_name().endswith(".pem")# the certificate as bytesassertget_root_certificate().startswith(b"-----BEGIN CERTIFICATE-----")Get the TEST root certificate:fromesteid_certificatesimportget_root_ca_file_name,get_root_certificate# path to PEM certificate fileassertget_root_ca_file_name(test=True).endswith(".pem")# the certificate as bytesassertget_root_certificate(test=True).startswith(b"-----BEGIN CERTIFICATE-----")The certificates can be loaded using e.g. theoscryptolibrary:fromoscrypto.asymmetricimportload_certificatecert=load_certificate(get_certificate("EID-SK 2016"))assertcert.asn1.native['tbs_certificate']['subject']['common_name']=='EID-SK 2016'CertificatesThe certificates were downloaded fromthe certificate page.The included certificates are copyright to their issuing parties:SK ID Solutions ASand are redistributed for the sole purpose of convenience of use.
Package: esteidtray
IntroductionThis is a simple smartcard applet that sits in the system tray and shows
whether a smartcard has been plugged in or not.
Right click on the icon reveals the list of smart card readers attached to
the machine and you can optionally have your screen locked when you remove
the smart card.
Main purpose of the applet is to simplify smartcard application debugging
under Ubuntu, Debian and other Linux distributions.FeaturesEvent driven architecture, no naive pollingCard reader add and removeSmartcard insertion, removing and hot resetLock screen via DBusThe applet is automatically launched via /etc/xdg/autostartInstallSimply issue following:sudo pip install esteidtrayTODOUbuntu hides tray icons, some sort of new API has to be used thereUnlock screen, possibly not required because of already existing PAM modulesBetter debuggin capabilities, eg. is pcscd running?Use pykcs11 to read certificate and warn user if the certificate is about to expireDebianize the package and set it as dependency for estonianidcard athttp://packages.koodur.comAuthorLauri Võsandicreated this nifty piece of code.LicenseCopyright (c) 2014Lauri VõsandiThis work is free. You can redistribute it and/or modify it under the
terms of the Do What The Fuck You Want To Public License, Version 2,
as published by Sam Hocevar. Seehttp://www.wtfpl.net/for more details.