Saravanan666/pypi-org huggingface dataset:
Package: pyemllib
pyemllibThis package is a python lib to help dealing with EML - Ecological Metadata Language.It's built uppondataclassesgenerated withxsdatafromEML xsdhence heavily relies on xsdata capabilitiesFor history reasons, i also provide the former pyxb and generateDS (built with py38) that i used to use on my projects but that i now find
more cumbersome to use than the dataclass implementation. They might be useful anyway !!NB: This lib is currently developped under a local gitlab forge and will be release on github on important releasesGithub repository:https://github.com/jusana/pyemllib/Documentationhttps://jusana.github.io/pyemllib/Main featuresDeserializes EML files to python objectsSerializes pure python objects to EML as XML string / filesChecks validity of EML generated against xsdGenerates a markdown/html DataPaper from suitable EML filesVery simple usagefromemllibimportEMLizer# instantiate EML object documentmy_eml=EMLizer(package_id="ID",title="Mon titre",lang="fr",creator="Mon Createur",abstract="Mon abstract")# print EML xml formatted stringprint(my_eml.to_string())# dump EML xml formatted to filemy_eml.to_file('path/to/file/eml.xml')# Inspect validityifmy_eml.validate().bool:print("This EML file seems valid")else:print("This EML file does not seem valid!")my_eml.validate().reasonRecommended usageThe EMLizer helper class is just a wrapper to help quickly basic EML files.
Nevertheless in more complex or sophisticated situations, i recommend to use the dataclass API directly underemllib.dataclass.eml220Changelog0.2.0AddedChangedutils.validate() returns collections.namedtuple (bool, reason) instead of just boolRemovedRepository initiated withfpgmaas/cookiecutter-poetry.
Package: pyEMMA
What is it?PyEMMA (EMMA = Emma’s Markov Model Algorithms) is an open source
Python/C package for analysis of extensive molecular dynamics simulations.
In particular, it includes algorithms for estimation, validation and analysis
of:Clustering and FeaturizationMarkov state models (MSMs)Hidden Markov models (HMMs)Multi-ensemble Markov models (MEMMs)Time-lagged independent component analysis (TICA)Transition Path Theory (TPT)PyEMMA can be used from Jupyter (former IPython, recommended), or by
writing Python scripts. The docs, can be found athttp://pyemma.org.CitationIf you use PyEMMA in scientific work, please cite:M. K. Scherer, B. Trendelkamp-Schroer, F. Paul, G. Pérez-Hernández,
M. Hoffmann, N. Plattner, C. Wehmeyer, J.-H. Prinz and F. Noé:
PyEMMA 2: A Software Package for Estimation, Validation, and Analysis of Markov Models,
J. Chem. Theory Comput. 11, 5525-5542 (2015)InstallationIf you want to use Miniconda on Linux or OSX, you can run this script to download and install everything:curl -s https://raw.githubusercontent.com/markovmodel/PyEMMA/devel/install_miniconda%2Bpyemma.sh | bashIf you have Anaconda/Miniconda installed, use the following:conda install -c conda-forge pyemmaWith pip:pip install pyemmaor install latest devel branch with pip:pip install git+https://github.com/markovmodel/PyEMMA.git@develFor a complete guide to installation, please have a look at the versiononlineor offline in file
doc/source/INSTALL.rstTo build the documentation offline you should install the requirements with:pip install -r requirements-build-doc.txtThen build with make:cd doc; make htmlSupport and developmentFor bug reports/suggestions/complaints please file an issue onGitHub.Or start a discussion on our mailing list:pyemma-users@lists.fu-berlin.deExternal Librariesmdtraj (LGPLv3):https://mdtraj.orgthermotools (LGLPv3):http://github.com/markovmodel/thermotools
Package: pyemoji
When MySQL version greater than 5.5.3 have utf8mb4 CHARACTER SET which can store emoji.But when MySQL version lower than 5.5.3 can’t directly store emoji.And can store emoji by using pyemoji’s encode/decode & replace & entities function.Similar:https://pypi.python.org/pypi/pymojiInstallationpip install pyemojiUsageencode/decode:Python 2.7.5 (default, Mar  9 2014, 22:15:05)
Type "copyright", "credits" or "license" for more information.

IPython 4.0.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: import pyemoji

In [2]: pyemoji.encode(u'笑脸表情：😄')
Out[2]: '\\u7b11\\u8138\\u8868\\u60c5\\uff1a\\U0001f604'

In [3]: print pyemoji.encode(u'笑脸表情：😄')
\u7b11\u8138\u8868\u60c5\uff1a\U0001f604

In [4]: pyemoji.decode('\\u7b11\\u8138\\u8868\\u60c5\\uff1a\\U0001f604')
Out[4]: u'\u7b11\u8138\u8868\u60c5\uff1a\U0001f604'

In [5]: print pyemoji.decode('\\u7b11\\u8138\\u8868\\u60c5\\uff1a\\U0001f604')
笑脸表情：😄replace:In [6]: pyemoji.replace(u'笑脸表情：😄')
Out[6]: u'\u7b11\u8138\u8868\u60c5\uff1a\ufffd'

In [7]: print pyemoji.replace(u'笑脸表情：😄')
笑脸表情：�

In [8]: pyemoji.replace(u'笑脸表情：😄', '')
Out[8]: u'\u7b11\u8138\u8868\u60c5\uff1a'

In [9]: print pyemoji.replace(u'笑脸表情：😄', '')
笑脸表情：entities:In [10]: pyemoji.entities(u'笑脸表情：😄')
Out[10]: u'\u7b11\u8138\u8868\u60c5\uff1a&#128516;'

In [11]: print pyemoji.entities(u'笑脸表情：😄')
笑脸表情：&#128516;Paramsunic:In [4]: import pyemoji

In [5]: pyemoji.encode('笑脸表情：😄')
Out[5]: '\\u7b11\\u8138\\u8868\\u60c5\\uff1a\\U0001f604'

In [6]: pyemoji.encode(u'笑脸表情：😄')
Out[6]: '\\u7b11\\u8138\\u8868\\u60c5\\uff1a\\U0001f604'
Package: pyemojify
Substitutes emoji aliases to emoji raw characters. Simple but sweet
:smile:Installation$ pip install pyemojifyUsageCLIUsepyemojify-ttext, for example:$ pyemojify -t "Life is short :smile: , use :sparkles: Python :sparkles:"
Life is short 😄 , use ✨ Python ✨.Pyemojify also support pipeline, for example:$ echo "Life is short :smile: , use :sparkles: Python :sparkles:" | pyemojify
Life is short 😄 , use ✨ Python ✨.This one is very useful for git commit messages, use the following one
and you’ll see you emoji friends again!$ git log --oneline --color | pyemojify | lessAPI>>> from pyemojify import emojify
>>> text = emojify("Life is short :smile: , use :sparkles: Python :sparkles:")
>>> print(text)
Life is short 😄 , use ✨ Python ✨.CreditsIt’s a python port of the originalemojify, all the glories should
belong tomrowa44.LicenseMIT
Package: pyEmpatica
pyEmpaticaParties InvolvedInstitution: Munroe Meyer Institute in the University of Nebraska Medical CenterLaboratory: Virtual Reality LaboratoryAdvisor: Dr. James GehringerDeveloper: Walker ArceMotivationThis Python library was written to facilitate biometric data collection from an Empatica E4.  It also includes windowed sample collection, threaded error handling, and on-wrist detection.InstallationThis library is available for installation over pip using:pip install pyEmpaticaFor developers, clone this repository, cd into the directory using either your virtual environment or your local environment, and run:python setup.py installTo actually utilize this library the Empatica Streaming Server is required, meaning this library is only compatible with Windows systems.Usagefrom pyempatica import EmpaticaClient, EmpaticaE4, EmpaticaDataStreams, EmpaticaServerConnectError
import time


try:
    client = EmpaticaClient()
    print("Connected to E4 Streaming Server...")
    client.list_connected_devices()
    print("Listing E4 devices...")
    time.sleep(1)
    if len(client.device_list) != 0:
        e4 = EmpaticaE4(client.device_list[0])
        if e4.connected:
            print("Connected to", str(client.device_list[0]), "device...")
            for stream in EmpaticaDataStreams.ALL_STREAMS:
                e4.subscribe_to_stream(stream)
            print("Subscribed to all streams, starting streaming...")
            e4.start_streaming()
            for i in range(0, 10):
                time.sleep(1)
                if not e4.on_wrist:
                    print("E4 is not on wrist, please put it on!")
                if e4.client.last_error:
                    print("Error encountered:", e4.client.last_error)
                    break
            e4.suspend_streaming()
            e4.disconnect()
            e4.close()
            print("E4 Errors")
            for key in e4.client.errors:
                print("\t", key, ":", e4.client.errors[key])
            print("E4 connection closed, saving readings...")
            e4.save_readings("readings.txt")
            print("Readings saved to readings.txt...")
        else:
            print("Could not connect to Empatica E4:", client.device_list[0])
    client.close()
    print("Cleaning up connections...")
except EmpaticaServerConnectError:
    print("Failed to connect to server, check that the E4 Streaming Server is open and connected to the BLE dongle.")Before running this script, ensure the Empatica Streaming Server is up and running.  This library is currently only compatible with Windows due to the Streaming Server dependency.Citation@misc{Arce_pyEmpatica_2021,
      author = {Arce, Walker and Gehringer, James},
      month = {8},
      title = {{pyEmpatica}},
      url = {https://github.com/Munroe-Meyer-Institute-VR-Laboratory/pyEmpatica},
      year = {2021}
}
Package: pyempt
IntroductionThe pyempt package is a python emacs package for type checking and other
syntax analysis. It is basically a simple wrapper around other python
syntax checkers to simplify the process of calling pylint, pep8, etc.
from something like emacs flymake.In principle, you could do all of this with a a fewsimple
scripts.
It’s nice being able topip installsomething that works and
collaborate on improvements, however, and that is what pyempt is for.InstallationTo install pyempt, first do something likepip install pyemptorsudo pip install pyempt. Then add something like the following to
your~/.emacsfile to run pyempt.(when (load "flymake" t)
  (defun flymake-pyempt-init ()
    (let* ((temp-file (flymake-init-create-temp-buffer-copy
               'flymake-create-temp-inplace))
       (local-file (file-relative-name
            temp-file
            (file-name-directory buffer-file-name))))
      (list "pyempt"  (list local-file))))
   (add-to-list 'flymake-allowed-file-name-masks
             '("\\.py\\'" flymake-pyempt-init)))

(add-to-list 'flymake-allowed-file-name-masks
  '("\\.py\\'" flymake-pyempt-init))

;; Uncomment following line if you want flymake to start on file load
;;(add-hook 'find-file-hook 'flymake-find-file-hook)After you restart emacs or reload your init file, flymake should
automatically start and call pyempt.UsageIf you have installed pyempt and setup emacs to use it in flymake, there
isn’t anything you need to do to use pyempt. Instead, it will run
automatically inside emacs.If you want to run it from the command line, you can typepyempt --helpto see options and usage instructions or typepyempt <PATH_TO_CHECK>to run checks on everything in a given path.Since pyempt will return a non-zero exit code if any of its checkers
returns a non-zero code, you can simply check the return value of pyempt
in build scripts or continuous integration tools.TroubleshootingIf you have problems, the first thing to do is to try and run pyempt
manually via something likepyempt <FILE_TO_CHECK>You can turn on logging viapyempt <FILE_TO_CHECK> --log_level 0You can get further help on the command line program viapyempt --helpForkingIf you want to fork pyempt, you may find the following useful:TheREADME.mdfile is the main file. Generate the rst version via
something likepandoc README.md-trst > README.rstUpload to pypi via something likemake pypiprovided you have
your~/.pypircsetup correctly.
Package: pyems
InstallationInstall package viapippipinstallpyemsDocumentationhttp://tomi77.github.io/pyems/API UsagefrompyemsimportApiapi=Api('http://127.0.0.1:7777')printapi.list_streams()ContributeClone repogitclonegit@github.com:tomi77/pyems.gitCreate virtualenvmkvirtualenvpyemsInstall documentation packagespipinstallsphinxsphinx-rtd-theme
Package: pyemtapi
# PYEMTAPIPython library to access some functionality of the REST API of the Municipal Transport Company of Madrid.You can see all the information about the API [here](http://opendata.emtmadrid.es/).## RequirementsIn order to attack the **EMT API** it is necessary to request credentials through the form [http://opendata.emtmadrid.es/Formulario](http://opendata.emtmadrid.es/Formulario). The keys arrive automatically, they do not do manual validation of the requests.It is also necessary to have the following python library installed.> urllib3 >= v1.22## How to installYou can install the **py_emt** library by executing the following command.>pip install pyemtapi## How to use**Import and authenticate against the API.**```python#!/usr/bin/python# -*- coding: utf-8 -*-import pyemtapiidClient = 'You idClient'passKey = 'You passKey'api = pyemtapi.EMT(idClient, passKey)```**Finally, make the request by selecting a method.**```python# Returns a line/s route with the vertex info to build the route and coordinates for stops and axesprint(api.GetRouteLines("04/05/2018", "26|27"))```> In the example.py file of this repository, you have an example with all the available methods.**Response**All the request will be of JSON type.### Bus Methods|   Methods|Description || ---------|-------------|| GetRouteLines| Returns a line/s route with the vertex info to build the route and coordinates for stops and axes || GetRouteLinesRoute| Get line route with vertex info to build map and coordinates for Stops || GetCalendar| Get EMT Calendar for all days and line schedules for a range of dates|| GetListLines| Returns lines with description and groups     || GetListLinesExtend | Returns lines with description and groups with more information.|| GetGroups| Returns every line type and their details || GetTimesLines| Returns current schedules for the requested lines|| GetTimeTableLines| Provide information of the requested line with a trip-level detail.|| GetNodesLines| Returns all stop identifiers and his coordinate, name, lines and directions|### Geo Methods|   Methods|Description || ---------|-------------|| GetStreet| Returns a list of EMT nodes related to a location. All EMT locations are a group of stops  within a target radius and the lines related to each stop in the list.|| GetStopsFromStop| Returns a list of stops from a target stop with a target radius and the lines arriving to those stops.|| GetStopsFromXY| Returns a list of stops from a coordinate with a radius and the lines arriving to those stops.|| GetArriveStop| Gets bus arrive info to a target stop || GetPointsOfInterest| Returns a list of Points of Interest from a coordinate center with a target radius|| GetPointsOfInterestTypes| Returns a list of Point of interest types|| GetStreetFromXY| Returns a list of stops from a target coordinate.|| GetInfoLine| Returns line info in a target date|| GetInfoLineExtend| Returns line info in a target date with more information.|| GetStopsLine| Provices information about the requested line at travel time.|| GeoGetGroups| Return a list of groups |
Package: pyemtmad
pyemtmad is a wrapper for the EMT API available athttp://opendata.emtmadrid.es/Servicios-web.QuickstartInstall with:pip install pyemtmadObtain credentials from theEMT
websiteand
instantiate aWrapper:frompyemtmadimportWrapperwrapper=Wrapper('MY_ID','MY_PASS')# wrapper.bus...# wrapper.geo...# wrapper.parking...DocumentationCheck the documentation online athttp://pyemtmad.readthedocs.ioor
build it from source using Sphinx from thedoc/directory:make html
Package: pyemtvlc
pyemtvlcPython package to query EMT Valencia (bus).Information obtained fromEMT Valencia.ExamplesInfo about all lines of the bus stop. (636):➜ pyemtvlc 636  
Parada: 636
7: Pl. Espanya - 7 min.
13: Pta.de la Mar - 8 min.
7: Pl. Espanya - 25 min.
13: Pta.de la Mar - 44 min.
N7: Pl. Ajuntament - 22:38
N7: Pl. Ajuntament - 23:03Info about one line (7) of the bus stop (636):➜ pyemtvlc 636 7
Parada: 636
7: Pl. Espanya - 22 min.
7: Pl. Espanya - 46 min.
Package: pyemv
PyEMVpackage provides methods to generateApplication Cryptograms (TC, ARQC, or AAC) that’s used to verify ICC.Authorization Response Cryptogram (ARPC) that’s used to verify card issuer.Secure Messaging Integrity and Confidentiality that’s used by the issuer to update values on the ICC.Dynamic Card Verification Values.InstallationPyEMVis published onPyPIand can be installed from there:pip install pyemvModuleskd - Key Derivation support for ICC master keys and session keys.ac - Application Cryptogram support for ARQC, AAC, TC, and ARPC.sm - Secure Messaging support for script command integrity and confidentiality.cvn - Putting it all together for various Cryptogram Version Numbers.cvv - Support for dynamic card verification, such as CVC3.tlv - TLV encoder and decoder.
Package: pyenasolar
pyenasolarThis library was created to communicate with EnaSolar solar inverters within Home Assistant.
It is based on the pysma and pysaj components written by @kellerza and @fredericvlData regarding the capabilities and serial number are extracted by applying regular expressions
to the javascript in the header of the root and Settings.html web pages.It was established that requesting the metrics at the same rate as the website i.e. every 1
second for a extended period of time (several hours) resulted in the site denying further requests.
A polling frequency of approx every minute seems to be stable and provides sufficiently
granular data to enable Home Assistant to plot decent graphs.If the website becomes unresponsive, the only cure found was to reset the inverter by turning
the AC switch off and on again.
Package: pyenbc
READMELinks:GitHub/pyenbcdocumentationBlogDescriptionThis project contains helpers used at theENSAEfor teachings available atENSAE - Programmation - Xavier Dupré.Functionalitiesmagic commands to access a Cloudera Cluster and run PIG jobsmagic commands to access Azure Blob Storage and HDInsightmagic commands to display content of a folder in DataFrameDependenciesnumpypandaspyensaepyquickhelperClassASSHClientrequires:paramikopycryptoecdsaClassAzureClientrequires:azureThe functionregister_magicsdefines magic commands
to send commands to a remote commands through a SSH connection:%remote_open,%remote_close%remote_cmd,%remote_up,%remote_downThe magic commands will be automatically enabled if the module is imported from a notebook.ContributionsStarted in 2013/08.First contributor:Xavier Dupré.Others contributors: ENSAE’s students.History1.2.???? (2017-??-??)
Package: pyenchant
This package provides a set of Python language bindings for the Enchant
spellchecking library.  For more information, visit the project website:http://pyenchant.github.io/pyenchant/What is Enchant?Enchant is used to check the spelling of words and suggest corrections
for words that are miss-spelled.  It can use many popular spellchecking
packages to perform this task, including ispell, aspell and MySpell.  It
is quite flexible at handling multiple dictionaries and multiple
languages.More information is available on the Enchant website:https://abiword.github.io/enchant/How do I use it?For Windows users, install the pre-built binary packages using
pip:pip install pyenchantThese packages bundle a pre-built copy of the underlying enchant library.
Users on other platforms will need to install “enchant” using their system
package manager (brew on macOS).Once the software is installed, python’s on-line help facilities can
get you started.  Launch python and issue the following commands:>>> import enchant
>>> help(enchant)Who is responsible for all this?The credit for Enchant itself goes to Dom Lachowicz.  Find out more details
on the Enchant website listed above.  Full marks to Dom for producing such
a high-quality library.The glue to pull Enchant into Python via ctypes was written by Ryan Kelly.
He needed a decent spellchecker for another project he was working on, and
all the solutions turned up by Google were either extremely non-portable
(e.g. opening a pipe to ispell) or had completely disappeared from the web
(what happened to SnakeSpell?)  It was also a great excuse to teach himself
about SWIG, ctypes, and even a little bit of the Python/C API.Finally, after Ryan stepped down from the project, Dimitri Merejkowsky
became the new maintainer.
Package: pyencourage
One line encouragement for programmers (encouragement as a service)InstallationInstall thepyencouragemodule with pip.See thedocumentationfor installation instructions.UsageOnce installed, simply callpyencouragefrom the command line or add it to your
.bashrc file to see an encouragement every time you open a terminal.You can also access the encouragement in your own project by importingpyencourageand
using the functionsget_encouragementandget_encouragements.ContributorsDevelopment:Sean TiborContributingThe code is licensed under theBSD LicenceThe project source code is hosted onGitHubPlease useGitHub issuesto submit bugs and report issuesFeel free tocontributeto the codeFeel free to contribute encouragements (via pull request)See thecontributing policyon GitHubThank YouSpecial thanks to everyone at thePyJokesproject.PyJokes Contributors:Development:Ben NuttallAlex SavioBorja AyerdiOier EtxanizJokes:Luke WrenSarah BirdYash MehrotraMarc KirkwoodGregory ParkerMartin O’HanlonGraham MarkallAndreas Reinle
Package: py-encry
Py EncryNti Johanneberg gymnasiearbete 2023/2024DescriptionPy Encry is a library for encrypting and decrypting information in pictures.
The library offers a variety of different encryption methods, and also allows to combine them.
There is an API mode, which allows to use the library in other projects, and a CLI mode, which allows to use the library from the command line.
Additionally, the tool is accesable through our website.Table of ContentsInstallationUsageContributingSetupRun testsLicenseInstallationTo install Py Encry, you need to have Python 3.11 or higher installed on your computer.
The library is available onPyPI, so you can install it using pip.python-mpipinstallpy-encryUsageTBDContributingIf you want to contribute to Py Encry, you can do so by forking the repository and creating a pull request.
To build the project, you need to have Python 3.11 or higher installed on your computer and install the required packages.SetupUse the package managerpipto install the required packages.python-mpipinstall-rrequirements.txtRun testspython-mpytestLicenseMIT
Package: pyencrypt3
pyencrypt3简介将python代码一键加密为pyc/so或pyd。支持单个文件加密，整个项目加密。安装pip install pyencrypt3使用方法pyencrypt3 -i "xxx project dir" [-o output dir]参数说明： -i | --input_file_path    待加密文件或文件夹路径，可是相对路径或绝对路径 -o | --output_file_path   加密后的文件输出路径，默认在input_file_path下创建dist文件夹，存放加密后的文件 -I | --ignore_files       不需要加密的文件或文件夹，逗号分隔 -m | --except_main_file   不加密包含__main__的文件(主文件加密后无法启动), 值为0、1。 默认为0 -p | --pyc   编译为pyc格式,值为0、1。 默认为0加密后的文件默认存储在 dist/project_name/ 下
Package: py-encryption
Simple Encryption in Python (ported fromhttps://github.com/defuse/php-encryption).This is a class for doing symmetric encryption in Python.ImplementationMessages are encrypted with AES-128 in CBC mode and are authenticated with
HMAC-SHA256 (Encrypt-then-Mac). PKCS7 padding is used to pad the message to
a multiple of the block size. HKDF is used to split the user-provided key into
two keys: one for encryption, and the other for authentication. It is
implemented using theCryptoandhmacmodules.AuthorsThis port was based on the library authored by Taylor Hornby and Scott Arciszewski.