Saravanan666/pypi-org huggingface dataset:
Package: enapter
Enapter Python SDKEnapter software development kit for Python.:warning:This project is work in progress. The API is not stable and may change at any time.:warning:InstallationStable from PyPI:pipinstallenapterLatest for GitHub:pipinstallgit+https://github.com/Enapter/python-sdk#egg=enapterUsageCheckoutexamples.Implementing your own VUCMDevice Telemetry and PropertiesEvery method ofenapter.vucm.Devicesubclass with a name that starts withtask_prefix is considered adevice task. When such a device is started,
all of its tasks are started as well. Device tasks are started in random order
and are being executed concurrently in the background. If a device task returns
or raises an exception, device routine is terminated. A typical use of the task
is to run a periodic job to send device telemetry and properties.In order to send telemetry and properties define two corresponding device
tasks. It is advised (but is not obligatory) to send telemetry every1
secondand to send properties every10 seconds.Examples:wttr-inDevice CommandsEvery method ofenapter.vucm.Devicesubclass with a name that starts withcmd_prefix is considered adevice command handler. Device command handlers
receive the same arguments as described in device Blueprint manifest and can
optionally return a payload asdict.In order to handle device commands define corresponding device command
handlers.Examples:zhimi-fan-za5Device AlertsDevice alerts are stored inself.alerts. It is a usual Pythonset, so you
can add an alert usingalerts.add, remove an alertalerts.removeand clear
alerts usingalerts.clear.Alerts are sent only as part of telemetry, so in order to report device alert,
usesend_telemetrywith any payload.Running your own VUCM via DockerA simple Dockerfile can be:FROM python:3.10-alpine3.16

WORKDIR /app

RUN python -m venv .venv
COPY requirements.txt requirements.txt
RUN .venv/bin/pip install -r requirements.txt

COPY script.py script.py

CMD [".venv/bin/python", "script.py"]:information_source: If you are usingEnapter
Gatewayand running
Linux, you should connect your containers tohostnetwork
:information_source::dockerrun--networkhost...
Package: enapy
rENAEpistemic Network Analysis (ENA)(ENA) é um método para identificar e quantificar conexões entre elementos em dados codificados e representá-los em modelos dinâmicos de rede. Uma característica fundamental da ferramenta ENA é que ela permite que os pesquisadores comparem redes diferentes, visualmente e por meio de estatísticas resumidas que refletem a estrutura ponderada das conexões. A interface também permite que os usuários vejam os dados originais que contribuíram para cada uma das conexões na representação de rede. Assim, a ENA pode ser usada para abordar uma ampla gama de questões de pesquisa qualitativa e quantitativa.Os pesquisadores usaram a ENA para analisar e visualizar uma ampla gama de fenômenos, incluindo: conexões cognitivas que os alunos fazem enquanto resolvem problemas complexos; interações entre diferentes regiões do cérebro em dados de RMf; coordenação do olhar social; integração de habilidades operatórias durante procedimentos cirúrgicos; e muitos outros.https://cran.r-project.org/web/packages/rENA/rENA.pdfUsando o rENA no pythonO exemplo abaixo mostra como utilizar a biblioteca do R rENA com a liguagem python. Todas as bibliotecas do python podem ser usadas para mnipular e arrumar os dados para serem plotados.Todas as funçoes da biblioteca podem ser chamadas usando a interface rENA, um outro detalhe ,e que os pontos (.) devem ser substituidos por underscore (_).Exemplo:A função ena.plot() pode ser chamada usando rENA.ena_plot()A função ena.plot.points() pode ser chamada usando rENA.ena_plot_points().Requisitos:Python 3.6Bibliotecas necessárias:Devem ser instaladas as bibliotecas R rENA e data.table usando os comandos abaixo:install.packages("rENA")install.packages("data.table")No python devemos instalar a biblioteca rpy2 usando o seguinte comando:pip install rpy2
Package: en-audio2text-soumyade
en_audio2textSmall module build with the help of speech_recognition package
Can be used for getting english transcription from audio via microphone or audio fileThe code is written in Python 3InstallationFast install:::pip install en-audio2text-soumyadeFor a manual install get this package:::wget https://github.com/cssoumyade/en_audio2text/archive/master.zip
unzip master.zip
rm master.zip
cd en_audio2text-masterInstall the package:::python setup.py installExample.. code:: pythonfrom en_audio2text.aud2text import SpeechRecognizer

#use audio file
sr = SpeechRecognizer(src='file')
sr.act('sample_audio_2.wav')

#use microphone
sr = SpeechRecognizer()
sr.act()Here is the sample ouput:Please wait while we transcribe...'you can not fix the thing that you have made wrong intentionally in the past'
Package: ena-utils
ena-utilsis a small python package that provides a CLI to submit nucleotides sequences to theEuropean Nucleotide Archive (ENA).The goals of this package are:To facilitate the submission of large numbers of objectsTo ease the exploitation of the ENA metadata schema to its full potential (see theFuture developmentssection below)This is an early development version that provides only minimal features.Supported submission typesNon-multiplexed paired-end sequencing readsFeaturesFile uploadStudy registrationExperiment registrationRun registrationSample registrationRequirementsPython3Webin accountInstallationThe latest release is available on PyPI and can be installed usingpip:$ pip install ena-utilsIsolated environments usingpipxInstall and execute ena-utils in an isolated environment usingpipx.Install pipxand make sure that the$PATHis correctly configured.$ python3 -m pip install --user pipx
$ pipx ensurepathOncepipxis installed use following command to installena-utils.$ pipx install ena-utils
$ which ena-utils
~/.local/bin/ena-utilsUsageThe latest documentation is available athttps://readthedocs.org.Future developmentsAuto-generation of the CLI and objects lists templates from the ENA schema XSD files.
Package: enb
Experiment Notebook (enb)TheenbPython (>= 3.6) library is a table-based framework designed to define, run and report computer-based
experiments.Your can create and run any type of (computer-based) experiment. Quickly.You can analyze and plot results produced with your enb experiments. Clearly. You can also reuse previously existing
data (e.g., in CSV format).You can easily create reproducible, redistributable software to be shared with others, e.g., as supplementary
materials in your publication or project.It runs on Linux, Windows and MacOS, in parallel. You can use clusters of Linux or MacOS computers.Quick startThe latest stable version ofenbis available via pip, e.g.,pip install enbYou can use this library in your python scripts by adding:import enbSeveral project demos and templates for your experiments are provided with enb. For a list of documentation templates,
you can run:enb plugin list documentationFor example, you can try the distributed (although not really accurate)pi approximation project:enb plugin install montecarlo-pi ./mp
./mp/montecarlo_pi_experiment.pyOr check out the most basic working examples with
thebasic workflow exampleenb plugin install basic-workflow ./bw
./bw/basic_workflow.pyResourcesA tutorial-likeuser manualis available athttps://miguelinux314.github.io/experiment-notebook.You can browse
thedetailed installation instructions.Agallery of plotsproduced (semi-)automatically produced from enb experiment results and from external CSV files is also available.Please refer to thechangelogfor the main differences between consecutiveenbversions.
Package: en-biospacy
A spaCy pipeline for parsing biology texts. Data for the plant EntityRuler was found at:http://www.worldfloraonline.org/Feature | Description |— | — |Name|en_biospacy|Version|0.0.1|spaCy|>=3.4.4,<3.5.0|Default Pipeline|sentencizer,plant_taxonomy,binomina|Components|sentencizer,plant_taxonomy,binomina|Vectors| 0 keys, 0 unique vectors (0 dimensions) |Sources| n/a |License| n/a |Author| [W.J.B. Mattingly](https://github.com/wjbmattingly/biospacy) |### Label Scheme<details><summary>View label scheme (12 labels for 1 components)</summary>Component | Labels |— | — |`plant_taxonomy`|DOMAIN,FAMILY,GENUS,KINGDOM,ORDER,PHYLUM-ANIMALIA,PHYLUM-BACTERIA,PHYLUM-FUNGI,PHYLUM-PLANTS,PHYLUM-PROTISTA,SPECIES,SUBFAMILY|</details>
Package: encant
encant: Uber Simple Python Version ManagementBuilt in spite ofpyenvand inspired byrye, encant does one thing and one thing only: downloads standalone python builds. Builds come from indygreg'srepo.Usageinstall encantpipxinstallencantadd a python version (or two)$encantadd3.10
major.minoronlyversiondetected,pullinglatest:3.10.13
Successfullyadded3.10.13to~/.snakes/3.10.13That's it! You can now use python however you need to, e.g.:~/.snakes/3.10.13/bin/python3-mvenv.venv
Package: encapsia-api
Encapsia API LibraryREST API for working withEncapsia.Installationpip install encapsia-apiContributingencapsia-apiis a python package managed withpoetry.
You will need python 3.8 or newer. To get started, after checking out this repository,
run:poetry installCode StyleCode in this project should be auto-formatted usingblackand adhere to isort-like
imports, and should pass linting and checks. You can run the following commands
manually, or integrate the tooling in your dev environment, but see also the next
section.poetry run black .
poetry run ruff check .
poetry run mypy .Ruff can fix some of the issues it finds. For example, it can fix the style of importing
modules, but it can do much more. This can be done with running:poetry run ruff check --fix .However, please make sure you check the fixes it performs!Revision ControlThe release branch for this project ismasterand feature branches should be merged
into it via pull requests.This repository usespre-committo run various checks with
git pre-commit hooks. To get started, run:pre-commit installAfter this, configured checks are run before you commit changes. You can also run them
explicitly for all files:pre-commit run -aVersioningencapsia-apiadheres toSemantic Versioning.To change the version, run:poetry version <specifier>   # e.g. patchor edit the version string inpyproject.toml. In any case, update the following file
to match the new version:encapsia_api/__init__.py.Note that we are yet in<1.0.0land and thus version changes are not too strict and
backward-incompatible changes may still occur before 1.0.0.BuildingManually build by running:poetry buildUpdating DependenciesThis is achieved with:poetry update
poetry lock
poetry export -f requirements.txt > requirements.txtHow to Run TestsRun:poetry run pytestContinuous IntegrationThis project uses Github Actions to for linting, checking, and running the tests on
commit to or pull requests targeting the main branch.
Package: encapsia-cli
AboutThis package provides command line access to Encapsia over the REST API.All of these are designed to work with server 1.5 and beyond.AutocompleteSetup autocomplete using the instructions found onhttps://github.com/click-contrib/click-completionTestsUnit testsRun:poetry run pytestWalkthrough TestsPrerequisite: an instance of ice must be running on your localhost, and valid token for
it must be present in your key store.See thewalkthrough_testsdirectory for bash scripts which exercise the CLI.Run them e.g. with:poetry run bash walkthrough_tests/all.shor test specific subcommands with:poetry run bash walkthrough_tests/token.shNote that these tests arenotself-verifying; they just provide helpful coverage,
assurance, and working documentation.Release checklistRun:poetry run black .Run:poetry run isort .Run:poetry run flake8 .Run:poetry run mypy .Ensure "tests" run ok (see above).Capture test output and commit with:poetry run bash walkthrough_tests/all.sh 2>&1 | poetry run ansi2html -f 80% >WALKTHROUGH.htmlCreaterequirements.txtfor Snyk scanning with:poetry export -f requirements.txt >requirements.txtEnsure git tag, package version, andencapsia_cli.__version__are all equal.
Package: encdec8b10b
encdec8b10bEncode and decode 8B10B encodingGetpython3 -m pip install encdec8b10bUsageEncode Data Bytefrom encdec8b10b import EncDec8B10B

running_disp = 0
byte_to_enc = 0xf
running_disp, encoded = EncDec8B10B.enc_8b10b(byte_to_enc, running_disp)
print(hex(encoded))
Output >> 0xbaEncode Control Bytefrom encdec8b10b import EncDec8B10B

running_disp = 0
byte_to_enc = 0xbc # comma
ctrl = 1
running_disp, encoded = EncDec8B10B.enc_8b10b(byte_to_enc, running_disp, ctrl)
print(hex(encoded))
Output >> 0x17cDecode Data Bytefrom encdec8b10b import EncDec8B10B

byte_to_dec = 0xba
ctrl, decoded = EncDec8B10B.dec_8b10b(byte_to_dec)
print(hex(decoded))
Output >> 0xf
# ctrl variable confirm that it was a data byte
print(ctrl)
Output >> 0Decode Control Bytefrom encdec8b10b import EncDec8B10B

byte_to_dec = 0x17c # comma encoded
ctrl, decoded = EncDec8B10B.dec_8b10b(byte_to_dec)
print(hex(decoded))
Output >> 0xbc
# ctrl variable confirm that it was a control byte
print(ctrl)
Output >> 1VerbosityBoth functions have a verbose-mode to make it easier to confirm everything that's happening:from encdec8b10b import EncDec8B10B

running_disp = 0
byte_to_enc = 0xA0
running_disp, encoded = EncDec8B10B.enc_8b10b(byte_to_enc, running_disp, verbose=True)

Output >> Encoder - In: A0 - Encoded: 146 - Running Disparity: 0

ctrl, decoded = EncDec8B10B.dec_8b10b(encoded, verbose=True)

Output >> Decoded: A0 - Control: 08B10B8B10B Encoding were implemented by Al Widmer and Peter Franaszek in 1983. It is still widely used in high-speed electronics.Original articleWikipediaThanksRyu Shinhyungfor creating the tables used in this moduleChuck Benzfor creating awesome combinational 8B10B modulesAlex Forencichfor his 8B10B Matlab script
Package: encdec-sfmh
EncDecis a package that allows users to encrypt and decrypt string data using a unique key of your choice.Here is a simple example:fromencdec_sfmh.encdecimport*original='rusksarenice'print(f'Original:{original}')# Keyless encryption and decryptionprint(f'\nEncryptedv1:{encsimple(original)}')print(f'Decryptedv1:{decsimple(encsimple(original))}')# Complex encryption and decryption with a keytoPrint=enccomplex(original,key='coffee')print('\nEncryptedv2:',toPrint)print('Decryptedv2:',deccomplex(toPrint,key='coffee'))Giving developers more control over their encryptions
Package: enc-dotenv
python-encrypted-dotenvEncrypt your env file for python-dotenv.python-encrypted-dotenvEncrypt env fileUsagesRelated Projectspython-dotenv- Reads the key-value pair from .env file and adds them to environment variable.AcknowledgementsThis project is currently maintained by Sinyu JungInstall the latestTo install the latest version ofenc-dotenvsimply run:pip install enc-dotenvChangelogLatest0.0.3Fixed dependency error.0.0.2Added load_encrypted_dotenv0.0.1First commit
Package: encfix
EncFixGuess and fix character encodings of garbled filenames.$ pip3 install encfix
Collecting encfix
Requirement already satisfied: chardet (from encfix)
Installing collected packages: encfix
Successfully installed encfix

$ encfix games/th06/搶曽峠杺嫿.cfg CRH¶¯³µ×é·¢Õ¹Æ×ÏµÍ¼2016.12.jpg %5BFeather%40TSDM%5D%5BSumiSora%26CASO%5D%5BChaos_Child%5D%5B04%5D%5BGB%5D%5B720p%5D.mp4
搶曽峠杺嫿.cfg -> 東方紅魔郷.cfg
CRH¶¯³µ×é·¢Õ¹Æ×ÏµÍ¼2016.12.jpg -> CRH动车组发展谱系图2016.12.jpg
%5BFeather%40TSDM%5D%5BSumiSora%26CASO%5D%5BChaos_Child%5D%5B04%5D%5BGB%5D%5B720p%5D.mp4 -> [Feather@TSDM][SumiSora&CASO][Chaos_Child][04][GB][720p].mp4
Package: encipherpy
EncipherpyEncipherpy is a python package that contains the implementations of multiple ciphers.Supported ciphersCipherImport codeArgumentsCaesarfrom encipherpy.caesar_cipher import caesarCipherstrplainText, intkey, boolencryptVigènerefrom encipherpy.vigenere_cipher import vigenereCipherstrplainText, strkey, boolencryptRot47from encipherpy.rot47_cipher import rot47strplainTextAtbashfrom encipherpy.atbash_cipher import atbashCipherstrplainTextSimple substitutionfrom encipherpy.substitution_cipher import substitutionCipherstrplainText, strcipherAlphabet, boolencryptPolybus squarefrom encipherpy.polybus_square_cipher import polybusSquarestrplainText, boolencrypt
Package: enclave
Enclave PythonThis is the official Python SDK forEnclave Markets.It provides a simple interface for interacting with theEnclave API.InstallationpipinstallenclaveUsagefromenclave.clientimportClientimportenclave.modelsclient=Client("","",enclave.models.PROD)print(client.wait_until_ready())# should print TruePerps Orderbuy_order=client.perps.add_order("BTC-USD.P",enclave.models.BUY,Decimal(42_000),Decimal(0.1),order_type=enclave.models.LIMIT,)ExamplesSee theexamplesdirectory for more examples.Rest API examples can be found inintro.py.
Run from the root directory withpython -m examples.intro.Websocket API examples can be found inwsintro.py.
Run from the root directory withpython -m examples.wsintro.SupportSupports Python 3.8+.
Package: enc-netzwerkverbindung-heureka-code
Enc-Netzwerkverbindung-heureka-codeNutzenDieses Projekt zielt darauf ab, eine einfache Möglichkeit für eine verschluesselte Netzwerkkommunikation in Python zu bieten.InstallationpipinstallEnc-Netzwerkverbindung-heureka-codeDokumentationDie Dokumentation ist aufhttps://heureka-code.github.io/Enc-Netzwerkverbindung-heureka-code/einsehbar.
Package: encode-dataframe
I wanted a better way of exploring and downloading raw data from the ENCODE
project.For example, I’d like to get the BAM files for all ChIP-seq experiments done in
uninduced MEL cells (from the mm9 assembly).One strategy would be to individually go through each track hub (e.g., histone
mods from LICR,http://genome.cit.nih.gov/cgi-bin/hgFileUi?db=mm9&g=wgEncodeLicrHistone), filter data, and download files individually.Another strategy would be to go directly to the download page
(http://hgdownload.cse.ucsc.edu/goldenPath/mm9/encodeDCC/wgEncodeLicrHistone/)
and extract the files that end in.bam.This small package takes advantage of thefiles.txtfiles (here’s anexample)
that describe all the metadata on the download page.Thefiles.txtfiles are downloaded from each ENCODE track hub in the assembly
of interest.  Then these files are parsed and concatenated together into one
bigpandas.DataFramethat can be used to find the data you care about.Installationpip install encode-dataframeUsageMirror the files.  This may take a minute or so.  If you’ve cloned the git
repo, you already have a copy of the mm9 files.>>> import encode_dataframe as edf
>>> edf.mirror_metadata_files('mm9')Create a large DataFrame:>>> df = edf.encode_dataframe('mm9')>>> len(df)
5865Armed with the dataframe, we can now slice and dice to get the data we care
about.  Eventually I’d like to run a ChromHMM segmentation on MEL cells, but
I need to get the data first …Choose a cell type>>> interesting = df.cell == 'MEL'And only BAM files>>> interesting &= df.type == 'bam'And only ChIP- or DNase-seq>>> interesting &= df.dataType.isin(['ChipSeq', 'DnaseSeq'])And only untreated (in this case, uninduced) cells:>>> interesting &= df.treatment != 'DMSO_2.0pct'And only one replicate (some have 2 or 3)>>> interesting &= df.replicate == '1'And only those that don’t have some issue with them (looks like older versions
have some text in the objStatus field):>>> interesting &= df.objStatus.isnull()How many do we have to work with?>>> m = df[interesting]
>>> len(m)
60Some of these are controls (input or IgG), and there are some duplicates (looks
like H3K4me3 ChIP-seq uses 2 different controls; CTCF was done by different
groups).  How many unique antibodies?>>> len(m.antibody.unique())
46So here are the files I should download:>>> urls = m.url.values
Package: encoded-csv
Could that CSV file be encoded in something other than ASCII? No problem.This package provides support for reading CSV files that use arbitrary text encodings. It is built on top of Python’s standardcsvandcodecspackages, and it usesDaniel Blanchard’s ``chardet`universal encoding detector <https://pypi.python.org/pypi/chardet>`_ to guess the encoding for a file, if necessary.Note thatutf-8-sig(UTF-8 with leadingByte Order Mark) is supported. This format is used by recent versions of Microsoft Excel when the user selects “Save As …” and chooses the “CSV UTF-8.”installationpip install encoded_csvusing itThere’s just one function:get_csv(), as follows:encoded_csv.get_csv(csv_file,skip_lines=0,encoding='',dialect='',fieldnames=[],sample_lines=100)Code in thetests/directory provides usage examples. The function returns a tuple, in which the first item is a list of the field names. The second item is a list of ordered dictionaries, each containing the data read from a given line of the CSV file.The first row (after discarding any header lines) is assumed to contain column names.Keyword arguments:csv_file– path to CSV file to openskip_header_lines– (optional) number of lines to discard in the assumption that they constitute a file header of some sort (default is to skip no lines)encoding– (optional) specifies the encoding which is to be used for the file;the standard python ``codecs`module <https://docs.python.org/3.6/library/codecs.html>`_ is used, so any ofthe standard encodingsmay be specified; default behavior is to attempt best guess usingchardet)dialect– (optional) a set of parameters specific to a particular CSV dialect;the standard python ``csv`module <https://docs.python.org/3/library/csv.html>`_ is used, sothe standard, predefined ``dialect`values or formatting parameters <https://docs.python.org/3/library/csv.html#csv-fmt-params>`_ must be used; default behavior is to attempt best guess usingcsv.Sniffer.fieldnames– (optional) is used to force thecsv.DictReaderto use a particular set of fieldnames.sample_lines– (optional) integer used to prepare the sample given tocsv.Sniffer()when attempting to detect the CSV dialect in use; default is 100 lines or the entire file, whichever is fewer.etc.Bug reports and feature requests are welcome, but really I’d prefer pull requests.
Package: encoderPy
ENG:ENS(text) -> encrypt textDEC(text) -> decrypt the textEncryption example:text = ENS(‘this is text’)print(text)Conclusion:le=g116S%$L2=0104S%$Ll=e105S%$l2=¿115S%$se=132S%$Lz=6105S%$ly=q115S%$Sx=132S%$Ls=@116S%$L%=h101S%$Lu=9120S%$Lm=%116decryption example:text = DEC(‘le=g116S%$L2=0104S%$Ll=e105S%$l2=¿115S%$se=132S%$Lz=6105S%$ly=q115S%$Sx=132S%$Ls=@116S%$L%=h101S%$Lu=9120S%$Lm=%116’)print(text)Conclusion:this is text
Package: encodetext
Usage# Encodingfromencodetextimportuseuse.encode("hello world!")# it turned out#' 010111 000101 110110 110110 010100  010001 010100 001001 110110 110011 111111'# Decodingfromencodetextimportuseuse.decode(' 010111 000101 110110 110110 010100  010001 010100 001001 110110 110011 111111')# it turned out#hello world;
Package: encode-utils
© 2019 The Board of Trustees of the Leland Stanford Junior University.encode_utilsTools that are useful to any ENCODE Consortium submitting group, as well as the general community working with ENCODE data.  Library and scripts are coded in Python.See thewikito get started.API and script documentation are available onRead the Docs.Latest newsOct. 28, 2019Release2.8.0Apr. 11, 2019Release2.7.0Jan. 11, 2019Release2.6.0Nov. 15, 2018Now available onPyPIwithpip install encode-utils.Nov. 2, 2018Release2.5.0Oct. 11, 2018Release2.4.0Aug 9, 2018Release2.3.1.
Adds support to transfer from S3 to GCP (see release notes from2.3.0).Jun 15, 2018Release1.5.2June 7, 2018Release1.5.1May 21, 2018Release1.5.0May 10, 2018Release1.4.1May 4, 2018Release1.4.0.Apr. 5, 2018Release1.3.0.Apr. 3, 2018Release1.2.1.Mar. 26, 2018Release1.2.0.Feb. 23, 2018Release1.1.3.Feb. 15, 2018Release1.1.1.Feb. 12, 2018Release1.0.0.
Package: encodingcontext
Although practicality beats purity.Errors should never pass silently.Unless explicitly silenced.—Zen of PythonThis small module implements a bad idea: making default encoding
explicitly scoped:>>>withencoding_context('euc-kr'):...str(u'\ud55c\uae00')...'\xc7\xd1\xb1\xdb'Of course it has several shortcomings, and the most critical one is:
using it withinthread,threading,greenlet,tasklet, etc
probably breaks its scoping.  If Python had dynamic scoping and default
encoding was defined as dynamically scoped variable, we might have more
convenient way to code between Unicode–byte strings.