Saravanan666/pypi-org huggingface dataset:
Package: pyModis
Thank you for downloading pyModispyModis is a Python library to download and process MODIS data from NASA serverCopyright Luca Delucchi - 2010-2020LicensepyModis is licensed under the terms ofGNU GPL 2. Read COPYING for more infoInstallFor how to compile or install pyModis see INSTALL file.ExecutablesSome executables are distributed with the library:modis_downloaddownloads MODIS datamodis_download_from_listdownloads MODIS data from NASA servers, the names of files to download have to be contained into a text file.modis_parseparses the XML file of MODIS data and return some variablesmodis_multiparseparses the XML file of multiple MODIS data and returns the bounding box or writes the XML file with the information of all
selected tilesmodis_mosaiccreates the mosaic of multiple MODIS tilesmodis_convertconverts MODIS data from HDF format and Sinusoidal projection to other formats and projectionsmodis_qualitychecks the quality of MODIS data using the QA layerOther infoThe logo of pyModis is pyModis.png; it is released under CC-BY-SA and it’s distributed with the pyModis libraryMore info about pyModis athttp://www.pymodis.org/
Package: pymodorino
Pymodoro timerEver heard of a pymodoro timer? Probably yes.
Should i explain what it is? Probably not.Very early development version. I'm just learning python, please be patient with my skills at this time :)How to useClone the repositoryrun./pymodoro.pyoptional arguments:
  -h, --help   show this help message and exit
  -w 25        Working minutes
  -b 5         Break minutesTodo:fix publishingRefactorAdd more notification sounds (different sounds for break and working states)add some statistics(?)
Package: pymodoro-gui
Pymodoro-gui, a python pomodoro app with a GUI for WindowsA simple GUI python app for using thepomodoro techniquewhen working.Only uses the python standard library, so no additional packages are required.Computer will beep and show a popup when every interval (work/break) is done.To install:pip install pymodoro-guiTo run the package:python -m pymodoroguiScreens:
Package: pymodoro-i3blocks
AboutThe tool pymodoro-i3blocks lets you easily manage yourPymodorosessions from within your status bar viai3blocks.pymodoro-i3blocks is licensed under the Apache License version 2.0.Get pymodoro-i3blocksReleased snapshots of the software are available forDownloadfrom
GitHub, and are also distributed through thePython Package Index.As free software, you can get a copy of theSource Codeas well if you prefer.InstallationTo fetch the source files, build, and install it on your machine,
the usage ofpipis recommended:pipinstallpymodoro-i3blocks--process-dependency-linksArch LinuxA pymodoro-i3blocksPackagecan be found in theArch User Repository (AUR).
TheAUR HelperYaourtprovides an easy way to install the application
from the package:yaourt-Spymodoro-i3blocksConfigurationTo get the application up and running, only few settings are required.
The following instructions assume, that you have installed and properly
configuredi3blocksas well asPymodoro.Add Pymodoro as a blocklet to i3blocks, which displays
the progress of your Pymodoro session. When no session is active,
the blocklet will be hidden. An example is given below.[pymodoro]command=/usr/bin/pymodoro-i3blocks--daemoninterval=persistformat=jsonAdd another blocklet that allows you to control your Pymodoro
sessions. The instance property of the blocklet should match with
the one of your Pymodoro configuration.[pymodoro-control]command=/usr/bin/pymodoro-i3blocksinstance=/run/user/1000/pymodoro_sessioninterval=onceformat=jsonOptionally modify the examples above, to match them to your
preferred style. The usual i3blockspropertiesapply.Please note that some of them may be overridden by pymodoro-i3blocks,
e.g., the color of the session blocklet. At this time,
this behavior cannot be changed without altering the program code.
Feel free to request additional configuration options when needed.Restart i3blocks. You should see the control blocklet afterwards.Blocklet UsageClick with your left mouse button on the pymodoro-control blocklet to
start a new Pymodoro session. A right click ends the session.Help and SupportIf you have found a problem with the software, please check theIssue Trackerand file a report. Feedback and contributions are appreciated as well.ContactYou can contact me by email atdev@roettger-it.de.ChangelogVersion 0.1.0 (2017-04-25)First public release.Displays a Pymodoro session state with i3blocks.Start and stop sessions by clicking on a blocklet.
Package: pyModSlave
#pyModSlavepyModSlave is a free python-based implementation of a ModBus slave application for simulation purposes and is based on [modbus-tk] (http://code.google.com/p/modbus-tk/), [pySerial] (http://pyserial.sourceforge.net/) and [pyQt5] (http://www.riverbankcomputing.co.uk).It starts a TCP/RTU ModBus Slave.Builds 4 data blocks (coils,discrete inputs,input registers,holding registers) and sets random values. You can also set values for individual registers.To configure the logging level set the 'LoggingLevel' in 'pyModSlave.ini' fileCRITICAL : 50ERROR : 40WARNING : 30 [default]INFO : 20DEBUG : 10NOTSET : 0
Package: py-modular
About py-modularpy-modular is a small, experimental audio programming environment for python.
It is intended to be a base for exploration of new audio technologies and workflows.
Most everything in py-modular is built around a node-based workflow, meaning small classes do small tasks and can be patched together to create full synthesizers or larger ideas.InstallationRunningpip install py-modularshould work. As the project is still in it's early stages, if there are any issues with the pip install, you can always clone this repository and usepip install -r py_modular/requirements.txtand use the module locally.SetupIf you want to use the parts of the project that depend onMagenta, we recommend that you follow their insturctions for creating a virtual environment, then installrequirements.txtas py-modular does not includeMagentaas a dependency until the integration becomes more stable.Where to startHead over to py-modular'sdocumentation pageand read some of theexamplesto get a quick idea of what py-modular is capable of.
Package: pymodule
pymoduleProvide a python interface to RHEL module.
Two functions are provided:list- List loaded modules__call__- will run module with the given args as a list of strings or multiple string argumentsUsagefrompymoduleimportpymodulemodule=pymodule.PyModule()# List loaded modules:module.list()# Load modulesmodule('load','bash')module(['load','bash'])# The entire set of commands are supported via __call__# as examplemodule('purge')ConfigurationPlease override the following defaults with your system specific ones before creating a PyModule instance, the defaults are shown in parenthesesMODULE_VERSION ('3.2.10') - used to set the versionMODULESHOME ('/apps/RH7U2/Modules/%s' % MODULE_VERSION) - used as base path to bin/modulecmd and to init/.modulespathMODULE_RE ('\d+)\s+([\w/.]+)') - used to parse module list output and return match 'module/version' i.e. git/2.11.0
Package: py-module-boilerplate
Python module boilerplateHome-page: UNKNOWNAuthor: Alexander VasinAuthor-email: hi@alvass.inLicense: ('Proprietary License',)Description: Python module boilerplate===============================.. image:: https://coveralls.io/repos/github/alvassin/py-module-bootstrap/badge.svg?branch=master:target: https://coveralls.io/github/alvassin/py-module-bootstrap:alt: Coveralls.. image:: https://travis-ci.org/alvassin/py-module-bootstrap.svg:target: https://travis-ci.org/alvassin/py-module-bootstrap:alt: Travis CI.. image:: https://img.shields.io/pypi/v/py-module-bootstrap.svg:target: https://pypi.python.org/pypi/py-module-bootstrap/:alt: Latest Version.. image:: https://img.shields.io/pypi/wheel/py-module-bootstrap.svg:target: https://pypi.python.org/pypi/py-module-bootstrap/.. image:: https://img.shields.io/pypi/pyversions/py-module-bootstrap.svg:target: https://pypi.python.org/pypi/py-module-bootstrap/.. image:: https://img.shields.io/pypi/l/py-module-bootstrap.svg:target: https://pypi.python.org/pypi/py-module-bootstrap/Platform: allClassifier: Intended Audience :: DevelopersClassifier: License :: Other/Proprietary LicenseClassifier: Natural Language :: RussianClassifier: Operating System :: MacOSClassifier: Operating System :: POSIXClassifier: Programming Language :: PythonClassifier: Programming Language :: Python :: 3Classifier: Programming Language :: Python :: 3.7Classifier: Programming Language :: Python :: Implementation :: CPythonProvides-Extra: develop
Package: pymodulo
moduloDrive-bysensing is a popular upcoming approach for monitoring large geographic areas using a fleet of vehicles equipped to sense relevant quantities. Prior research has shown the efficacy of drive-by sensing in monitoring air pollution, detecting potholes, recognizing unsafe pedestrian movement, etc.Assume a scenario in which a sensor network administrator decides to install 10 sensors on vehicles to sense a quantity.  The administrator may have a much larger fleet of vehicles, say 100 vehicles, to choose these 10 vehicles from. How does the administrator decide which 10 of the 100 available vehicles to choose, such that his/her choice maximizes the spatiotemporal coverage? We introduce Modulo --- a system for vehicle selection in drive-by sensing.Installation and Pre-requisitesModulo is primarily written in Python and supports Python version>=3.6. You can install Modulo using:pip3installpymoduloModulo also has a few other non-Python dependencies:MongoDB
Please ensure you have access to a MongoDB server (local or remote). If you prefer a quick and simple remote MongoDB server, you can try outMongoDB Atlas. Instead, if you prefer installing a local server, you can do so fromhere. If you choose to install it locally, we also suggest installing a MongoDB GUI likeMongoDB Compass.Node.js and NPM
Modulo usesTurf.js, a JavaScript library available on NPM. You can download thepackage.jsonavailable in this repository, place it in the root of your project, and simply do:npminit
npminstallPlease ensure that the Node.js is accessible as thenodecommand on the terminal.How to RunPlease follow the iPython notebook available in this repository (example.ipynb).The code is well-documented using Python docstrings. Hence, you can use Python'shelp()feature on any class or method to know more about what it does.Citing this workIf you find Modulo useful for your research work, please cite us as follows:Dhruv Agarwal, Srinivasan Iyengar, et al. Modulo: Drive-by sensing at city-scale on the cheap. InProceedings of the 3rd ACM SIGCAS Conference on Computing and Sustainable Societies 2020.@inproceedings{agarwal2020modulo,title={Modulo:Drive-bysensingatcity-scaleonthecheap},author={Agarwal,DhruvandIyengar,SrinivasanandSwaminathan,ManoharandSharma,EashandRaj,AshishandHatwar,Aadithya},booktitle={Proceedingsofthe3rdACMSIGCASConferenceonComputingandSustainableSocieties},year={2020}}
Package: pymodulon
What is an iModulon?To learn about iModulons, how they are computed, and what they can tell you, see ourabout page.InstallationWith DockerThe easiest way to get started with PyModulon is using the Docker container.InstallDockerOpen terminal and navigate to your work folderRun the following commands to start aJupyter Notebookserver:docker run -p 8888:8888 -v "${PWD}":/home/jovyan/work sbrg/pymodulonCopy the URL from terminal to connect to the Jupyter notebookNavigate to theworkfolder, which has your current directory mounted.To close the notebook, pressCtrl+Cin terminal. All changes made to files in your current directory are saved to your local machine.With PipYou can install PyModulon fromPyPIusingpipas follows:python -m pip install pymodulonWith CondaAlternatively, you can install usingConda:conda install -c conda-forge pymodulonWe recommend installing through a conda environment:conda create -n pymodulon -c conda-forge pymodulon
conda activate pymodulonOptional DependenciesSome features of PyModulon require additional dependencies. Follow the links below for installation instructions.GraphVizNCBI BLASTMEME SuiteThis step is not necessary if you use the Docker container.DocumentationThe documentation forPyModuloncan be foundhere.DevelopmentIf you would like to assist in development, please installpre-committo ensure code style and consistency.We recommend using an editable pip installation for development:git clone https://github.com/SBRG/pymodulon.git
cd pymodulon
python -m pip install -e .This method of installation will automatically update your
package each time you pull from this repository.To update your code, run the following from your localPyModulonfolder:git pullCitePlease cite the originalE. coliiModulon paper:Sastry et al. Nature Communications. 2019.If you use organism-specific datasets in your work, please cite these datasets:Escherichia coli:Sastry et al. Nature Communications. 2019.Bacillus subtilis:Rychel et al. Nature Communications. 2020.Staphylococcus aureus:Poudel et al. PNAS. 2020.
Package: pymoji
A emoji converter between unicode and ascii text.Install & Usagepip install pymojifrom pymoji import PyMoji
moji = PyMoji()
text = 'hello ☀ !'
encoded_text = moji.encode(text)           # u'hello [:sunny]!'
decoded_text = moji.decode(encoded_text)   # u'hello ☀ !'External ResourcesEmoji CategoriesEmoji Unicode Tables
Package: pymojihash
Hash (unicode) strings to emoji(s). You can set the length.Importing is as easy asfrom pymojihash import hash_to_emoji!hash_to_emoji()is the wonderful hashing function.In this example a string is hashed to a single emoji:>>> hash_to_emoji('lol')
'🇫🇲'There is a limited number of emojis outputs (see:emojis.jsonin this package) so if you increase thehash_lengththe less likely youa re to encounter different values which produce the same output/hash/emoji(s):>>> hash_to_emoji('lol', 4)
'◼️🍕🍐🇫🇲'
>>> hash_to_emoji('lol', 2)
'🍐🇫🇲'
>>> hash_to_emoji('heck', 2)
'♠️🇨🇦'You can also exclude the flag emojis like this:>>> hash_to_emoji('heck')
'🇨🇦'
>>> hash_to_emoji('heck', no_flags=True)
'😤'
Package: pymol_app
pymolDe Mol Eliminatie App (mac only)InstallationPythonMake surepythonis installed on your systempipMake sure pip is installed:open Terminalpython -m ensurepip --upgradepymol_appUse pip to install pymol:pip install pymol_appTo confirmpymolworks, try:pymolUsageOpen your favourite text editor and type something like this:player1,green
player2,green
player3,red
player4,greenSave it with the.csvextention (i.e., aseliminatie.csv) anywhere on your computerIn the Terminal, pass the path of that file topymollike this:pymol [path to directory]/eliminatie.csvTips:You can navigate your terminal to the folder whereeliminatie.csvis located (by usingcd).Or, you can drag the file from the finder to the Terminal to copy the whole path (I find this the easiest).Using the up arrow key, you can select previously run commandsThe app should start full screen (quit by pressing ESC)simply type names and press enter to reveal the screenHave fun!
Package: pymolecule-parser
pymolecule-parser: A parser for a molecule formula that supports nested bracketsInstallationpipinstallpymolecule-parserUsagepymolecule_parser.parse returns a dictionary of atoms and their numbers. (type: dict[str, int])frompymolecule_parserimportparsedict_1=parse("H2O")# {'H': 2, 'O': 1}dict_2=parse("3H2O")# {'H': 6, 'O': 3}dict_3=parse("H2O2(OH)2")# {'H': 4, 'O': 4}dict_4=parse("[Co(NH3)6]Cl3")# {'Co': 1, 'N': 6, 'H': 18, 'Cl': 3}Optionsstrict_modeIfstrict_modeisTrue, the parser expects all atoms in the argument to be from hydrogen (H) to oganeson (Og), otherwise raises an exceptionIfstrict_modeisFalse, the parser parses arguments even if they are not existing atoms if they satisfy the rules for writing atoms (first letter is uppercase, subsequent letters are lowercase)Default:False(non-strict mode)If you want to use strict mode, please use the following code.frompymolecule_parserimportparsedict_1=parse("H2O",strict_mode=True)# {'H': 2, 'O': 1}LimitationsThe following notations are not supported.Ion notationsFor example,[Cu(NH3)4]2+is not supported. UseCu(NH3)4instead.middle dot·For example,CuSO4·5H2Ois not supported. UseCuSO4(H2O)5instead.LicenseApache License 2.0AuthorKohei Noda
Package: pymolPy3
What'spymolPy3?The package enables the use of PyMOL commands directly in Python 3 scripts.
NO APIs are requierd.The length of source code is only 32 lines, but the example has a size of 29MB.What can it do?InstallpymolPy3pip install pymolPy3 --userBasic usageInitializ pymolimportpymolPy3# Launch pymol with GUIpm=pymolPy3.pymolPy3()ORimportpymolPy3# Launch pymol without GUIpm=pymolPy3.pymolPy3(0)Load a PDB structurepdb='1f88'pm(f"load{pdb}.pdb")Run PyMOL command inpm()-- it's a wrapperpm(f"...")#    ~~~#     |#     |_______ A string representing PyMOL command.ExamplesThe sample scriptalign.view.pyunder theexamplesdirectory would produces
the figure below.
Package: pymolresponse
pymolresponseMolecular frequency-dependent response properties for arbitrary operators.For documentation, go tohttps://berquist.github.io/pymolresponse/.Currently, the goal is to provide:a pedagogical example of a working molecular orbital response program as an almost direct translation from equations to code,an implementation that gives "exact" results for testing, andan example of testing and documenting scientific code using modern software development tools.InstallationTo set up a conda environment with all dependencies for running, testing, and building the documentation, look underdevtools.RequirementsPython >=3.2 because of pyscf3.6 because off-strings.pyscfand its dependencies: CMake, NumPy, SciPy, HDF5 + h5pyPsi4Other Python dependenciesperiodictable(for calculating the center of mass)pytest(for testing)daltools(for testing?)cclib(for testing)TestingmakepytestCaveatsRHF and UHF references only; no ROHF yet.Hartree-Fock and DFT only; no post-HF methods yet.Real orbitals only; no complex or generalized orbitals yet.Because the dimensioning of all arrays is based around the ov/vo space, methods that have non-zero contributions from the oo space (specifically derivatives of GIAOs/London orbitals w.r.t. the B-field) are not currently possible.An iterative solver exists for response properties, not transition properties, where only explicit formation and then diagonalization of the orbital Hessian is available.Linear response and single residues only.unrestricted diagonalization-based properties are not implemented/workingDesired features (in no specific order)Non-orthogonal orbitals. Requires switch from using MO energies to full Fock matrices.ROHF reference (compare against DALTON). Requires equations for the ROHF orbital Hessian.Post-HF support: MP2, CCSD, and CIS. Requires constriction of a Lagrangian.Support for GIAOs. Only requires re-dimensioning as long as AO matrix elements are available??At least one iterative method for each property type, for example DIIS for inversion and Davidson for diagonalization. Requires matrix-vector products.Quadratic response and associated single residues (needed for phosphorescence) and double residues (excited state expectation values and transition moments of linear operators). Requires permutation of linear response solution vectors.Desired features that don't fix the caveatsOpen-ended response: seeRingholm, Jonsson, and Ruud.Finite-difference for testing and higher-order response.Interface toPyQuanteand/orpyquante2.Jupyter Notebook-based tutorials.Argument type-checking usingmypy.ReferencesForthcoming...
Package: pymol-sketch
A command collection ofPyMOLto draw compiled graphic objects (CGOs).Install$ pip install sketch-pymolConfirm if the sketch-pymol is installed correctly by:import sketch_pymolAnd create asketch.pyin~/.pymol/startupdirectory with the following
content:from sketch_pymol import register_commands
register_commands()UsageThe following commands will be availableCommandDescriptionsketch_pcocAdd a pseudo atom on center of coordinatesketch_pcomAdd a pseudo atom on center of masssketch_scocDraw a sphere on center of coordinatesketch_scomDraw a sphere on center of masssketch_bboxDraw a bounding boxLicenseThe MIT License (MIT)Copyright (c) 2014 Alisue, hashnote.netPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Package: pymom
OverviewPyMom is a Python framework that enables the creation of event-driven systems leveraging messaging systems like Kafka and Google's Cloud Pub/Sub.InstallationThis repo can be installed with pip:pip3 install pymomConfigurationPyMom expects the environment variablePYMOM_CONFIG_FILEto be set to the name of the configuration file.  This file specifies the Kafka bootstrap brokers and Zookeeper servers in this format:[DEFAULT]
kafka-bootstrap-brokers = localhost:9092
zookeeper-servers = localhost:2181Message FormatsThe current implementation of PyMom uses the PyMomMessage format.  All messages on Kafka are in JSON format and must include at least two elements:idis a key that correlates multiple related messages.  It is used for partitioning Kafka topics.payloadis the content of the message.  It can be any valid JSON.Producing MessagesPyMom provides access to a class for writing messages to a Kafka topic.PyMomTestProducer.pydemonstrates how to use it:pymom = PyMom()
producer = pymom.producer('test.pymom.consume')  # The topic name.
producer.write(sys.argv[1],sys.argv[2])  # The ID and payload.Consuming MessagesTo receive messages from Kafka, a class must derive fromPyMomAbstractConsumerand implement theon_messagemethod.  The class must then be registered with PyMom.PyMomTestConsumer.pydemonstrates how to do this:class PyMomTestConsumer(PyMomAbstractConsumer):
    def __init__(self,pymom):
        self.pymom = PyMom()
        self.producer = self.pymom.producer('test.pymom.produce')

    def on_message(self,message):
        """ Process messages. """
        id = message['id']
        payload = message['payload']
        print("Received message:  ({}) {}".format(id,payload))
        try:
            self.producer.write(id,payload)
            print("Wrote message.")
        except Exception as error:
            print("Unable to send message:  {}".format(error))


if __name__ == "__main__":
    pymom = PyMom()
    consumer = PyMomTestConsumer(framework)
    pymom.register(consumer,'PyMomTestConsumerGroup','test.pymom.consume')
    pymom.run()

    print("PyMomTestConsumer terminated.")
    sys.exit(0)on_messagecan either return normally or throw one of two exceptions.  If a recoverable error (e.g an external API is temporarily unavailable) occurs, throwPyMomRecoverableError.  If an unrecoverable error (e.g. the message format is invalid) occurs, throwPyMomUnrecoverableError.  In both cases, the error is logged.  In the case of a recoverable error, the message will be retried.  In the case of an unrecoverable error, processing will continue with the next message.