Saravanan666/pypi-org huggingface dataset:
Package: moclo
A Python implementation of theMoClosystem logic.RequirementsbiopythonSequence handlingcached-propertyLazy regex evaluationsixPython 2/3 compatibilityInstallationThis package is available as awheel, and can be installed withpip:$ pip install --user mocloTo see more ways of installing, head over to theInstallationpage of the online documentation.KitsBy itself,moclois not very useful. To be able to simulate MoClo assemblies
you can install some of the following toolkits:moclo-ytk: MoClo Yeast ToolKit,John Dueber Lab, and Pichia ToolKit,Volker Sieber Labmoclo-cidar: MoClo CIDAR kit,Douglas Densmore Labmoclo-ecoflex: MoClo EcoFlex,Paul Freemont Labmoclo-ig: Icon Genetics MoClo,Sylvestre Marillonnet Labmoclo-gb3: Golden Braid 3.0,Diego Orzaez LabToolkits ship with concrete implementation of the MoClo logic (using the DNA
signatures and restriction enzymes from the reference paper), as well as official
sequences obtained fromAddGeneand manually
annotated with higher-quality features. These sequences can be accessed through
themoclo.registrymodule, using theregistryinterface.AboutThis library is licensed under theMIT License.
It was developed during a placement at theInBio teamat the Institut Pasteur of Paris during the summer of 2018.
Package: moclo-cidar
CIDAR Kit implementation for the basemoclolibrary.RequirementsmocloBase MoClo logicsixPython 2/3 compatibilityInstallationThis package is available as awheel, and can be installed withpip:$ pip install --user moclo-cidarTo see more ways of installing, head over to theInstallationpage of the online documentation.AboutThis library is licensed under theMIT License.
It was developed during a placement at theInBio teamat the Institut Pasteur of Paris during the summer of 2018.
Package: moclo-ecoflex
EcoFlex Kit implementation for the basemoclolibrary.RequirementsmocloBase MoClo logicsixPython 2/3 compatibilityInstallationThis package is available as awheel, and can be installed withpip:$ pip install --user moclo-ecoflexTo see more ways of installing, head over to theInstallationpage of the online documentation.AboutThis library is licensed under theMIT License.
It was developed during a placement at theInBio teamat the Institut Pasteur of Paris during the summer of 2018.
Package: moclo-ytk
Yeast ToolKit implementation for the basemoclolibrary.RequirementsmocloBase MoClo logicsixPython 2/3 compatibilityInstallationThis package is available as awheel, and can be installed withpip:$ pip install --user moclo-ytkTo see more ways of installing, head over to theInstallationpage of the online documentation.AboutThis library is licensed under theMIT License.
It was developed during a placement at theInBio teamat the Institut Pasteur of Paris during the summer of 2018.
Package: moco-explorer
moco-explorerThe quick and easy interface for exporting data from moco.Free software: GNU General Public License v3DisclaimerThis project is in no way finished, or polished.
I am not responsible for any commercial, financial or emotional damage that may or may not be caused by using this project.FeaturesEasy access to your moco dataCsv/Json/Text ExportAuthentication over cli with username and passwordRequirementspython 3.5 or greatermoco_wrapper 0.6.2 or greaterInstallationFrom source$gitclonehttps://github.com/sommalia/moco_explorermoco-explorer$cdmoco-explorer$pipinstall-rrequirements_dev.txt$makeinstallFrom pip$pipinstallmoco_explorerQuickstartAuthenticationTo retrieve information from yout moco instance the moco_explorer needs to authenticate with it. For your first request,
it will stop and ask for your account information.You can also manually create the configuration file withmoco_explore config create.$moco_explorerconfigcreate$>Enteryourmocodomain:testcompany.mocoapp.com//testcompanywouldalsowork$>Enteryourmocoemail:testaccount@testcompany.com$>Enteryourmocopassword:*******After that a config file in your users home directory will be created.$cat$HOME/.moco_explorer.json{"domain":"testcompany","api_key":"HERE IS THE API KEY"}If you want to load or create your configuration file in an alternative location you can specify the path with the-c/–configoption.$moco_explorer-c$HOME/alternative-moco-config.jsonconfigcreateBy default the moco_explorer will look for the configuration file under $HOME/.moco_explorer.json. If you created the configuration
file in an alternative location make sure you always specify the-c/–configoption.What can I do?Currently the following endpoints can be queried (also accessible withmoco_explorer –help)activitycompanycontactdealcategoryinvoicepaymentofferplanning-entryprojectcontractexpensepayment_schedulerecurring_expensetaskscheduleuseremploymentholidaypresenceunitRetrieving a list ofallcontacts incsvformat$moco_explorer-fcsvcontactgetlist-aRetrieving a single company object (id123) injsonformat$moco_explorer-fjsoncompanyget123Get an overview over a specific project (id1233)$moco_explorer-ftextprojectget1233Work through thepagesof the projects (100 items per page). If you have more than 100 objects, the results are
paginated (eg. for 105 items, the first page will contain 100, the second 5 items).$moco_explorer-fjsonprojectgetlist--page1$moco_explorer-fjsonprojectgetlist--page2CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.3.0 (2020-05-28)Implemented Planning EntryImplemented ScheduleImplemented User Employment, Presences and HolidaysMoco-Wrapper required version increased to 0.7.00.2.0 (2020-04-23)Implemented deal and contact endpointsUpdated readme with more consistent information about how to get startedFixed an error in formatter objects about how nested sublists get displayed0.1.0 (2020-03-21)First release on PyPI.
Package: mo-collections
More CollectionsSome useful data structures for collections of dataClassIndexProvide indexing for a list. Inner properties can be used for keys, and keys can be tuples of properties.ClassUniqueIndexSame as Index, but includes checks and optimization to ensure members' keys are unique.ClassQueueAQueueis a list, withadd()andpop(). It ensures members in the queue are not duplicated by not adding the ones already found in the queue.ClassMatrixA multidimensional grid of values that can be used like aMappingfrom a-tuple-of-coordinates to the value at that coordinate. Plus a few other convenience methods.This is a naive implementation. The hope it is a simple facade to a faster implementation.ClassRelationStore the many-to-many relations between two domains
Package: mocp
InstallInstall the actualMOC player/server% sudo apt-get install -y moc

or

% brew install mocThen install this package withpip% pip3 install mocpOptional Installsredis-helper and yt-helperIf redis-helper and yt-helper are installed, the FILES collection will
be updated with the basename of the the current playing file whenevermoc.info_string()is calledInstall withpip% pip3 install "yt-helper[redis-helper]"

or

% pip3 install "mocp[extras]"UsageIn[1]:importmocIn[2]:moc.find_and_play('~/music-dir/blah*')In[3]:moc.go('12:15')# jump to particular point in current trackIn[4]:moc.go('1h23m12s')# jump to particular point in current trackIn[5]:moc.go(500)# jump to particular point in current trackIn[6]:moc.info_string()Out[6]:'08:21 (501) of 95:35 into /home/user/music-dir/blah-thing/file.mp3'Getting the C sourceMOC is written is written in C and hosted in an SVN repo (not Git).
Seemangit-svn$ git svn clone svn://svn.daper.net/moc/trunk moc
Package: mocpy
MOCPy is a Python library allowing easy creation and manipulation of MOCs (Multi-Order Coverage maps).MOC is an IVOA standard  enabling description of arbitrary sky regions.
Based on the HEALPix sky tessellation, it maps regions on the sky
into hierarchically grouped predefined cells.An experimental support for TMOC (temporal MOC) has been added since version 0.4.0.
It allows creation, parsing and comparison of TMOCs.Space & Time coverages (STMOC) are an extension of MOC to add time information.
It is possible to get a TMOC by querying a STMOC with a MOC and/or get a MOC
by querying a STMOC with a TMOC.Please check the mocpy’sdocumentationfor more details about installing MOCPy and using it.For a command line tool, see themoc-cli.For more information about the MOCPy Rust core, see themoc crate.Rendered with MOCpy!Migrating to version 0.12Since 0.12.3MOC.MAX_ORDER` and `TimeMOC.MAX_ORDERreplace the formerIntervalSet.HPX_MAX_ORDERandIntervalSet.TIME_MAX_ORDERMOC.to_depth29_rangesis now a public method replacing the former privateIntervalSet.nestedand addition ofTimeMOC.to_depth61_rangesfor a time counterpartSince v0.12.0MOC.contains_skycoordsandMOC.contains_lonlatreplaceMOC.contains(containswill be removed in v1.0.0)TimeMOC.contains_with_timeresolutionhas been added with the previous behaviour ofTimeMOC.containsfrom_uniq` removed from `IntervalSetand added toMOCMOC.from_healpix_cellsnow requires themax_depthargument, the depth of the MOC we want to createWorld2ScreenMPLhas been renamedWCSInstallationWe strongly recommend to work in an environnementLatest stable versionfrom pippip install mocpyfrom condaconda install-cconda-forgemocpyfrom this repositoryUnreleased latest versiongit clone https://github.com/cds-astro/mocpy.git
cd mocpy
pip install .Note that the point is important.To run the notebooksThe example notebooks require additional dependencies. They can be installed withpip install mocpy[notebooks]For use in pyodideWheels that run in pyodide can be downloaded fromthis repository assets. This is not fully tested.
Package: mocr
mocrMeaningful Optical Character Recognition from identity cards with Deep Learning.Introductionmocris a library that can be used to detect meaningful optical characters from identity cards. Code base is purePythonand
works with 3.x versions. It has some low level dependencies such asTesseract.mocruses a pre-trained east
detector with OpenCV and applies it’s Deep Learning techniques.It has a pre-trained east detector inside the module and a custom trained model can be given as a parameter.PrerequisitesTessaractmust be installed on your computer before using OCR. Please checkinstallation linkfor details.The other dependencies are listed onrequirements.txtand will be installed when you install with pip.InstallationFrom sourceInstall module usingpip:$ pip install mocrDownload the latestmocrlibrary from:https://github.com/verifid/mocrInstall module usingpip:$ pip install -e .Extract the source distribution and run:$ python setup.py build
$ python setup.py installRunning TestsThe test suite can be run against a single Python version which requirespip install pytestand optionallypip installpytest-cov(these are included if you have installed dependencies fromrequirements.testing.txt)To run the unit tests with a single Python version:$ py.test -vto also run code coverage:$ py.test -v --cov-report html --cov=mocrTo run the unit tests against a set of Python versions:$ toxSample Usagetext_recognitionInitiating theTextRecognizerwith identity image and then finding the texts with their frames:importosfrommocrimportTextRecognizerimage_path=os.path.join('tests','data/sample_uk_identity_card.png')east_path=os.path.join('mocr','model/frozen_east_text_detection.pb')text_recognizer=TextRecognizer(image_path,east_path)(image,_,_)=text_recognizer.load_image()(resized_image,ratio_height,ratio_width,_,_)=text_recognizer.resize_image(image,320,320)(scores,geometry)=text_recognizer.geometry_score(east_path,resized_image)boxes=text_recognizer.boxes(scores,geometry)results=text_recognizer.get_results(boxes,image,ratio_height,ratio_width)# results: Meaningful texts with bounding boxesface_detection:frommocrimportface_detectionimage_path='YOUR_IDENTITY_IMAGE_PATH'face_image=face_detection.detect_face(image_path)# face_image is the byte array detected and cropped image from original imagefrommocrimportface_detectionvideo_path='YOUR_IDENTITY_VIDEO_PATH'face_image=face_detection.detect_face_from_video(video_path)# face_image is the byte array detected and cropped image from original videoCLISample command line usageOptical Character Recognitionpython -m mocr --image tests/data/sample_uk_identity_card.png --east tests/model/frozen_east_text_detection.pbFace detection from image filepython -m mocr --image-face 'tests/data/sample_de_identity_card.jpg'Face detection from video filepython -m mocr --video-face 'tests/data/face-demographics-walking.mp4'ScreenshotsBeforeAfter
Package: mocurly
mocurlyMocurly is a library that mocks the recurly python client so that you
can easily write tests for applications that use the recurly python
client.Full documentation is available atreadthedocs.OverviewMocurly acts as a mock backend for the recurly client, allowing you to
use the recurly python client AS IS. This means that all your code that
uses the recurly python client and targets recurly objects will all work
as you would expect. Best of all: you can use the recurly python client
to setup the test environment!For example, suppose you had a simple function in your app that lists
all the users in recurly, and counts them:importrecurlyrecurly.API_KEY='foo'recurly.SUBDOMAIN='bar'defcount_recurly_accounts():returnlen(recurly.Account.all())With mocurly, you can test the above code like so:importrecurlyrecurly.API_KEY='foo'recurly.SUBDOMAIN='bar'frommocurlyimportmocurlyfromcount_moduleimportcount_recurly_accounts@mocurlydeftest_count_recurly_accounts():foriinrange(10):recurly.Account(account_code=str(i)).save()assertcount_recurly_accounts()==10Within the decorator context, all calls to recurly are captured by
mocurly, which keeps the state in memory for the duration of the
context. No actual web calls are made, allowing you to test your recurly
code without worrying about existing context or internet connections.UsageYou can use mocurly as a decorator, context manager, or manually.Decorator@mocurlydeftest_count_recurly_accounts():foriinrange(10):recurly.Account(account_code=str(i)).save()assertcount_recurly_accounts()==10Context Managerdeftest_count_recurly_accounts():withmocurly():foriinrange(10):recurly.Account(account_code=str(i)).save()assertcount_recurly_accounts()==10Manualdeftest_count_recurly_accounts():mocurly_=mocurly()mocurly_.start()foriinrange(10):recurly.Account(account_code=str(i)).save()assertcount_recurly_accounts()==10mocurly_.stop()Install$pipinstallmocurly
Package: mod
DescriptionModular arithmeticis arithmetic for integers, where numbers wrap around
when reaching a given value calledmodulus.
For example6 ≡ 1 (mod 5).
Modular arithmetic has several practical applications including:music,banking,book publishing,cryptography…
and of course math.The purpose of this package is to simplify
the use of modular arithmetic inPython3.UsageThis package providesModintegers
that compute arithmetic operations like+ - * // **with a modulus:frommodimportMod# Funny math herex=Mod(5,7)# x ≡ 5 (mod 7)(x+2)==0# True: 5 + 2 ≡ 7 ≡ 0 (mod 7)(x+7)==x# True: 5 + 7 ≡ 12 ≡ 5 (mod 7)(x**3)==(x+1)# True: 5³ ≡ 125 ≡ 6 (mod 7)(1//x)==3# True: 5 × 3 ≡ 15 ≡ 1 (mod 7) ⇒ 5⁻¹ ≡ 3 (mod 7)A naive implementation ofRSA encryption algorithmusingmodpackage:frommodimportMod# My RSA keyspublic_key=Mod(3,61423)private_key=Mod(40619,61423)# My very secret messagetop_secret_message=666# RSA encryptionencrypted=top_secret_message**public_key# RSA decryptiondecrypted=encrypted**private_key# My secret message have been correctly encrypted and decrypted :-)assertdecrypted==top_secret_messageNoteModis based on integer modulo operation%, notmath.fmodthe result of an operation between aModand anintis aModthe result of an operation between aModand afloatis afloatPackage documentation:mod.ModInstallRun the following command to installmodpackagepip3installmodLinksPackage documentation located athttp://mod.readthedocs.io/en/latest/Python package available athttps://pypi.python.org/pypi/modSource code repository:https://github.com/yoeo/modIndicesmod— Copyright (c) 2020 Y. SOMDA,MIT License
Package: mod2doctest
mod2doctest is a module that converts a python module to a doctest
compatible docstring.It’s kind of like taking a python script, pasting it into an interactive
interpreter and then copying the output back into a docstring.However, mod2doctest has many convenience to make this process easier like:Providing#>and#|comments:#>prints to both your docstring
and stdout and#|print just to your docstring (which will show
up as text in a sphinx generated webpage)adding ellipse markers for memory id / trace backCleaning up / formatting your docstring for sphinx inclusionand a couple of other things, too.For full documentation and several examples please visithttp://packages.python.org/mod2doctest/.
Package: mod9-asr
Mod9 ASR Python SDKTheMod9 ASR Python SDKis a higher-level interface than the protocol described in theTCP referencedocumentation for theMod9 ASR Engine.
This software is designed as a compatible drop-in replacement for:Google Cloud STT Python Client LibraryGoogle Cloud STT REST APIPlease refer tomod9.io/pythonandmod9.io/restfor further documentation and examples.In addition, this package provides a WebSocket interface:
seemod9.io/websocketfor a demonstration.To install the Mod9 ASR Python SDK, if an Internet connection is available:pip3installmod9-asrAlternatively, to install from local source:tarxzfmod9-asr-$VERSION.tar.gz
pip3install./mod9-asr-$VERSION
Package: modal
Modal Python LibraryTheModalPython library provides convenient, on-demand
access to serverless cloud compute from Python scripts on your local computer.DocumentationSee theonline documentationfor manyexample applications,
auser guide, and the detailedAPI reference.InstallationThis library requires Python 3.8 – 3.12.Install the package withpip:pipinstallmodalYou can create a Modal account (or link your existing one) directly on the
command line:python3-mmodalsetupSupportFor usage questions and other support, please reach out on theModal Slack.
Package: modality
Python Client Library for ModalityThis is a library for the python programming language used to interact with
Auxon's Modality suite of products.It currently provides read access to data stored within the Modality database,
both as raw trace data and in-place statistical analyses.The primary interface is inmodality.client. The functionsevents_dataframe,event_value_distributions_dataframe,experiment_overview, andworkspace_segmentsallow access to trace data
stored within modality. See the inline documentation for more information, eg.:frommodalityimportclienthelp(client)Running testspip3install-Upytestpip3install-Uappdirspytest
Package: modapsclient
Python RESTful client for NASA’s MODIS Adaptive Processing System
(MODAPS) data archive at the Level-1 and Atmosphere Archive &
Distribution System (LAADS) Distributed Active Archive Center (DAAC).MIT License.Installationpipinstallmodapsclientpygaarst.modapsclientThis is a REST-full web service client that implements the NASA LAADSWEB
data API (seehttps://ladsweb.modaps.eosdis.nasa.gov/tools-and-services/lws-classic/quick-start.php)class ModapsClient(object)Usage:frompygaarstimportmodapsclientasma=m.ModapsClient()b=a.[methodname](args)Implements the methods fromhttp://ladsweb.nascom.nasa.gov/data/api.html, except for (currently) those related to OpenSearch (which don’t appear
to be working reliably server-side) and ordering (TBD). Implemented
methods are marked with an x.implementedmethodnamexgetAllOrdersxgetBandsxgetBrowsexgetCollectionsxgetDataLayersxgetDateCoveragexgetFileOnlineStatusesxgetFilePropertiesxgetFileUrlsxgetMaxSearchResultsgetOpenSearchgetOrderStatusgetOrderUrlgetOSDDxgetPostProcessingTypesxlistCollections(deprecated)xlistMapProjectionsxlistProductGroupsxlistProductsxlistProductsByInstrumentxlistReprojectionParametersxlistSatelliteInstrumentsorderFilesorderFilesProcessed(deprecated)releaseOrdersearchDatasetsxsearchForFilesxsearchForFilesByNameCaveats and limitationsThis API is listed as “classic” by NASA EOSDIS, so it’s unlikely it’ll
receive much attention in the future. Hardly anyone will use the “order”
feature as the files are usually available on the public file server.
For these two reasons, the unimplemented functionality is also unlikely
to ever be implemented.>From experience, products listed vialistProductsare not
necessarily in actual fact available in the NASA EOSDIS LAADS archive.
In this case, you may receive an error when searching for files.The MODAPS web service has the tendency to return a 500 Internal Server
Error foranyerror, including unsupported values for query string variables.Further docuementationSee theipynb/folder for Jupyter Notebooks.TODOAdd OPeNDAP client functionality.
Package: modbamtools
A set of tools to manipulate and visualize data from base modification bam filesFor full documentation and tutorials visithttps://rrazaghi.github.io/modbamtools/InstallationRequired: Python 3.8In acleanenvironment:$ pip install modbamtoolsUsageGeneral commands:Usage: modbamtools [OPTIONS] COMMAND [ARGS]...

  A set of tools to manipulate and visualize data from base modification bam
  files

Options:
  --version  Show the version and exit.  [default: False]
  --help     Show this message and exit.  [default: False]

Commands:
  calcHet   Calculate heterogeneity of modified bases for regions in a...
  calcMeth  Calculate methylation statistics for regions in a bed file
  cluster   Calculate clustering statistics for regions in a bed file
  plot      Plot single-read base modification dataDevelopmentTo contribute to this tool, first checkout the code. Then create a new virtual environment:cd modbamtools
python -m venv venv
source venv/bin/activateOr if you are usingpipenv:pipenv shellNow install the dependencies and test dependencies:pip install -e '.[test]'To run the tests:pytest
Package: modbus
Modbus Server and Client programs using Python-3server.pyclient.pyInstallation:sudo pip3 install modbusUsage Examples:Server:sudo python3 -m modbus.server …to run server in commandlineFor Register Read, the server sends value starting from 1 and incrementing upto 6000. For example, the client wants to read with FuncCode=3, Address=0, and Length=4. Then the server’s reply for values will be 1,2,3,4 for the first read and values will increment for every subsequent read.For Coil Reads, the server sends back values 85,86… for the required length.Client:from modbus.client import *c = client() …if host = ‘localhost’c = client(host=’HOSTNAME’) …Change HOSTNAME to Server IP addressc.read() …To read 10 Input Registers from Address 0c.read(FC=3, ADR=10, LEN=8) …To read 8 Holding Registers from Address 10c.write(11,22,333,4444) …To write Holding Registers from Address 0c.write(11,22,333,4444, ADR=10) …To write Holding Registers from Address 10
c.write(11,22, FC=15, ADR=10) …To write Coils from Address 10fc() …To get the supported Function CodesSupported Function Codes:1 = Read Coils or Digital Outputsn2 = Read Digital Inputsn3 = Read Holding Registersn4 = Read Input Registersn5 = Write Single Coiln6 = Write Single Registern15 = Write Coils or Digital Outputsn16 = Write Holding Registers”)