Saravanan666/pypi-org huggingface dataset:
Package: pysatSpaceWeather
pysatSpaceWeather: pysat support for Space Weather IndicesThis module handles solar and geomagnetic indices needed for scientific and
operational projects.InstallationThe following instructions provide a guide for installing pysatSpaceWeather and
give some examples on how to use the routines.PrerequisitespysatSpaceWeather uses common Python modules, as well as modules developed by
and for the Space Physics community.  This module officially supports
Python 3.7+.Common modulesCommunity modulesnetCDF4pysat >= 3.1.0numpypandasrequestsxarrayPyPi Installationpip install pysatSpaceWeatherGitHub Installationgit clone https://github.com/pysat/pysatSpaceWeather.gitChange directories into the repository folder and run the setup.py file.  For
a local install use the "--user" flag after "install".cd pysatSpaceWeather/
python -m build .
pip install .ExamplesThe instrument modules are portable and designed to be run like any pysat
instrument.import pysat
import pysatSpaceWeather
dst = pysat.Instrument(inst_module=pysatSpaceWeather.instruments.sw_dst)Another way to use the instruments in an external repository is to register the
instruments.  This only needs to be done the first time you load an instrument.
Afterward, pysat will identify them using theplatformandnamekeywords.pysat.utils.registry.register('pysatSpaceWeather.instruments.sw_dst')
dst = pysat.Instrument('sw', 'dst')
Package: pysaver
PysaverA utility to save the python REPL history to an external file.Installationpython3 -m pip install pysaverUsageSave everythingimport pysaverSaves entire REPL history to the file saved_repl_history.py in the current directory.Save everything but you are in the REPL and you don't have pysaver installedfrom pip._internal import main as pip
pip(['install', 'pysaver'])
import pysaverSave some or all history to a specified filefrom pysaver import repl_history
repl_history(num_lines=-1, file_name="saved_repl_history.py")This is the default, saves all REPL history to the default file name in the current directory.repl_history(num_lines=10, file_name="my_history.py")This saves last 10 lines to my_history.py.
Package: pysavi
pysavi is a thorough, documented and GPL’d python interface to the Sophos
Anti-Virus Interface (SAVI).pysavi offers the nuances and power of the C API while minimizing its
inconvenience. You may, for example, scan mundane files, file descriptors,
in-memory buffers or user implemented stream-like objects. Callbacks allow
fine-grained inspection and control of the scanning process, including error
reporting. Of course, any engine setting may be tweaked.
Package: pysb
Python Systems Biology modeling frameworkhttp://pysb.org/PySB (pronounced “Pie Ess Bee”) is a framework for building rule-based
mathematical models of biochemical systems. It works nicely with
scientific Python libraries such as NumPy, SciPy and SymPy for model
simulation and analysis.InstallationPySB depends on the following:numpyscipysympyPerl -http://www.perl.org/get.htmlBioNetGen -http://bionetgen.org/For full instructions, see the Installation chapter of the manual athttp://docs.pysb.org/en/latest/installation.htmlDocumentationThe manual is available online athttp://docs.pysb.org/. You can also
generate the documentation locally by installing Sphinx and running
the following commands:$ cd doc
$ make htmlThen open _build/html/index.html in your web browser.
Package: pysbe
pysbePython implementation of Simple Binary Encoding V1.0Free software: Apache Software License 2.0Documentation:https://pysbe.readthedocs.io.Work in ProgressA python implementation ofFIX SBE https://github.com/FIXTradingCommunity/fix-simple-binary-encodingFeaturesTODOReferenceshttps://mechanical-sympathy.blogspot.com/2014/05/simple-binary-encoding.htmlhttps://github.com/real-logic/simple-binary-encoding/wiki/FIX-SBE-XML-Primerhttp://fixprotocol.io/fix-simple-binary-encoding/- FIX specificationhttps://github.com/real-logic/simple-binary-encoding/blob/master/sbe-tool/src/main/resources/fpl/SimpleBinary1-0.xsd- XSD for XML SBE schema spechttps://capnproto.org/news/2014-06-17-capnproto-flatbuffers-sbe.html(comparison of protocols)CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2018-03-31)First release on PyPI.
Package: pysbgn
pysbgn: supporting SBGN-ML v0.3 in PythonThis package provides support for writing and readingSBGN-MLv0.3 files. The code is auto-generated usinggenerateDSwith a few code fixes and modifications making it compatible withlibsbgn-python(which supports only SBGN-ML v0.2).Requirementspython 3.5+Installationpip install pysbgnExamplesThe read/write API is the same as inlibsbgn-pythonso you can use the examples fromlibsbgn-python documentation. Just make sure that the import statements are compatible withlibsbgn-pythonas shown below. Note, however, that additional modules oflibsbgn-pythonsuch asutilsandrenderare not provided.frompysbgnimportsbgn_coreaslibsbgnfrompysbgn.sbgn_coreimportnotesTypeasNotesfrompysbgn.sbgn_coreimportextensionTypeasExtensionfrompysbgn.sbgn_typesimportLanguage,Orientation,GlyphClass,ArcClass,Name,Version,ArcGroupClassA simple exampleNote: this example is taken fromlibsbgn-pythonand shortened to included only three glyphs and two arcs.frompysbgnimportsbgn_coreaslibsbgnfrompysbgn.sbgn_typesimportLanguage,GlyphClass,ArcClass,Orientationsbgn=libsbgn.sbgn()map=libsbgn.map()map.set_language(Language.PD)sbgn.set_map(map)# create a bounding box for the mapbox=libsbgn.bbox(x=0,y=0,w=363,h=253)map.set_bbox(box)# two glyphs with labelsg=libsbgn.glyph(class_=GlyphClass.SIMPLE_CHEMICAL,id='glyph1')g.set_label(libsbgn.label(text='Ethanol'))g.set_bbox(libsbgn.bbox(x=40,y=120,w=60,h=60))map.add_glyph(g)g=libsbgn.glyph(class_=GlyphClass.SIMPLE_CHEMICAL,id='glyph_ethanal')g.set_label(libsbgn.label(text='Ethanal'))g.set_bbox(libsbgn.bbox(x=220,y=110,w=60,h=60))map.add_glyph(g)# glyph with ports (process)g=libsbgn.glyph(class_=GlyphClass.PROCESS,id='pn1',orientation=Orientation.HORIZONTAL)g.set_bbox(libsbgn.bbox(x=148,y=168,w=24,h=24))g.add_port(libsbgn.port(x=136,y=180,id="pn1.1"))map.add_glyph(g)# arcsa=libsbgn.arc(class_=ArcClass.CONSUMPTION,source="glyph1",target="pn1.1",id="a01")a.set_start(libsbgn.startType(x=98,y=160))a.set_end(libsbgn.endType(x=136,y=180))map.add_arc(a)a=libsbgn.arc(class_=ArcClass.PRODUCTION,source="pn1.1",target="glyph_ethanal",id="a05")a.set_start(libsbgn.startType(x=184,y=180))a.set_end(libsbgn.endType(x=224,y=154))map.add_arc(a)sbgn.export('result.xml')AuthorVid Podpečan (vid.podpecan@ijs.si)LicenseMIT
Package: pysbie
pysbieInteract with Sandboxie in PythonSandboxie fast startfromsandboxieimportSandboxiesbie=Sandboxie(installation_dir='Your Sandboxie installation dir path')sbie.create_sandbox('TestBox')sbie.start('Path to the program to be launched',box='TestBox',wait=True)sbie.delete_sandbox('TestBox')SbieIni fast startfromsandboxieimportSbieInisbieini=SbieIni(installation_dir='Your Sandboxie installation dir path')print(sbieini.query(specify=True,boxes=True))sbieini.set('DefaultBox','AutoRecover','n')sbieini.insert('DefaultBox','RecoverFolder',r'C:\Downloads')
Package: pysbml4j
SBML4j python packageThis is the python package to talk to a running SBML4j service instance.InstallThis package is available through pip
To install use:pip install pysbml4jUsageIn your python project useimport pysbml4jclient = pysbml4j.Sbml4j()This generates a client connection to a server running onhttp://localhost:8080To connect to a server running at different host use the 'Configuration' classconfig = pysbml4j.Configuration("http://my-server-url:port")
client = pysbml4j.Sbml4j(config)Then you can communicate with the running service using the client object.client.listNetworks()The main working object then is the 'Network' class.myNet = client.getNetworkByName("NetworkNameFromNetworkList")The following chapter describes the current options you have for working with the network elementWorking with a networkBasic informationYou can get a basic information dictionary for a network withmyNetInfo = myNet.getInfoDict()GraphMLTo get a graphML Representation use:graphMLString = myNet.graphML()You can provide the 'directed' attribute (true, false) to determine whether the resulting graph should be directed or not. The default is 'false'There are more options, which I will provide documentation for shortly.
Stay tuned.To find out more about SBML4j visit thekohlbacherlab github repository
Package: pysbolgraph
# PySBOLGraphPySBOLGraph is a simple native Python library to read and write [SBOL2](http://sbolstandard.org) files, compatible with both Python 2.7 and Python 3.Install usingpip install pysbolgraph, or clone this repository and runpython setup.py install## ExamplesThe filecrispr.pyreproduces the CRISPR example that is also used in the tutorials for [libSBOL](http://sbolstandard.org/wp-content/uploads/2017/01/libSBOL-tutorial.pdf), [libSBOLj](http://sbolstandard.org/wp-content/uploads/2015/01/libSBOLjTutorial.pdf), [sboljs](http://sbolstandard.org/wp-content/uploads/2015/01/sboljs_tutorial.pdf) and [pysbol](http://sbolstandard.org/wp-content/uploads/2018/05/pysbol-crispr-tutorial_v2.pdf).## See alsoFor a more powerful library with features such as automated sequence assembly, check out [pysbol](https://github.com/SynBioDex/pySBOL).For a JavaScript/TypeScript version of this library, check out [the original sbolgraph](https://github.com/udp/sbolgraph).
Package: py-sbom-components
pycomponentsAn experimental tool to generate CycloneDX SBOM from running Python processes.RequirementsLinux and macOS (not tested with Windows)Python 3.8+ (tested with Python 3.8, 3.9 and 3.10)Installationpipinstallpy-sbom-componentsNote: Initially I planned to publish this tool aspycomponents. But it is prohibited by the following restriction.HTTP Error 400: The name 'pycomponents' is too similar to an existing project. See https://pypi.org/help/#project-name for more information.Thus, I use this a little bit lengthy name.Usage$pycomponents--help
Usage:pycomponents[OPTIONS]Options:--output-format[xml|json]TheoutputformatforyourSBOM[default:json]--output-dirTEXTTheoutputdirectory[default:./]--allow-overwrite/--no-allow-overwriteWhethertoallowoverwritingifthesamefileexists[default:allow-overwrite]--exclude-pidsINTEGERAlistofpidstoexclude--install-completion[bash|zsh|fish|powershell|pwsh]Installcompletionforthespecifiedshell.--show-completion[bash|zsh|fish|powershell|pwsh]Showcompletionforthespecifiedshell,tocopyitorcustomizetheinstallation.--helpShowthismessageandexit.ExampleSeeexample.What is the difference fromcyclonedx-bom?cyclonedx-bom's BOM comes from:Python EnvironmentProject's manifest (e.g. Pipfile.lock, poetry.lock or requirements.txt)pycomponentsuses a different approach to generate SBOM.List up Python processesGenerate components based on site packages used by Python processesGenerate vulnerabilities in components by usingOSVandcve-searchThuspycomponentsgenerates half-and-half mixed runtime & static SBOM.
Package: pysbw
Python 3 implementation of theStopbadware <https://www.stopbadware.org/>Private API <https://stopbadware.atlassian.net/wiki/display/apidocs/StopBadware+API+Documentation+Home>.
In its current form it only implements downloading of events from a specific timestamps, IP addresses and searching based
on timestamps.How To Useimport pysbw
import time

api = pysbw.API('~/.stopbadware.key')

# Retrieve event reports for past 24 hours using UNIX style timestamp
json_response = api.retrieve(int(time.time()) - 24 * 3600)

# Retrieve event report with report UID
json_response = api.retrieve("564f2c78e4b0a131f050f844")

# Retrieve event reports for past 24 hours using search functionality
end = int(time.time())
json_response = self.api.search_between(end - 24 * 3600, end)Installiationpip3 install pysbw --preExample Key File[sbw]
apikey=<String of private key>
publickey=<String of public key>Instantiationapi = pysbw.API('~/.virustotal.key')  # The default way of using the
api = pysbw.API('', private_api_key=<PRIVATE API KEY>, public_api_key=<PUBLIC API KEY>)  # Providing other parameters
api = pysbw.API( ... , max_retires=<N: Number>)  # If specified the API will only retry <N> times to get the response
api = pysbw.API( ... , rate_limit={"requests": 40, "seconds": 300})  # The rate limits for the number of queries to the APIAPIUse the method*retrieve()*to get Reports. This method’s first
argument can be:a UNIX style timestamp in UTC to retrieve reports since that
timestampan IP address in DOT notation such as ‘8.8.8.8’ to retrieve all
reports relating to IP addressan event report UID which is a 24 digit hex number.retrieve() will attempt to auto-detect what you’re giving it. If you
want to be explicit, you can use the thing_type parameter with the
values:iptimestampuidThese values are provided as constants that you can use instead in the
‘API_Constans’ class which you can import as followsfrom pysbw import API_ConstanstsUse the method*search_between()*to search for events between two
timestamp values.ReferencesSBW API Documentation <https://stopbadware.atlassian.net/wiki/display/apidocs/StopBadware+API+Documentation+Home>.
Package: pysc1
pysc1 : The StarCraft I Learning EnvironmentThis package is currently in enthusiastic development. Just wait a sec.
Meanwhile, refer tohttps://github.com/bboyseiok/pysc1-gymfor now.This project is also registered on pypi :https://pypi.org/project/pysc1/I’ll be waiting for the people who share the same interest and wants to build on the project!Thank you.Pysc1-gymInstalling and managing Starcraft I learning environment can be tedious and full of errors. Here, I present to you packaged way of running a nice Starcraft I gym simulation in your laptop or some clusters.I was using Windows 10 while making this work, so the instructions are made in reference to the Windows system.“OpenAI Gym” like code for Starcraft IAfter the Environment is set, you can access the features of Starcraft I just like in OpenAI Gym:env=sc.SingleBattleEnv(args.ip,args.port)env.seed(777)agent=RandomAgent(env.action_space)episodes=0whileepisodes<100:obs=env._reset()done=Falsewhilenotdone:action=agent.act()obs,reward,done,info=env._step(action)episodes+=1env.close()
Package: pyscab
scab-pythonpython implementation of scab (stimulation controller for auditory bci)This package allows users to present auditory stimuli for brain-computer interface. It can send marker signal to amplifier with low latency and small jitter.InstallYou can install package from pypi by using pip.Before installing pyscab, you may need to install PyAudio. See below instruction for installing PyAudio.pip install pyscabrequirmentnumpy and pyaudio is required to use this package.This package was developed and tested under python=3.8, numpy=1.22.3 and pyaudio=0.2.11. However, it may work on other version as well. (not tested)Installing PyAudio (on Windows)DO NOT INSTALL PyAudio Package by using pip command on Windows environment, otherwise ASIO driver can't be used.Instead of using pip, download wheel file which is fit for your environment fromhereand install by following command.pip install PATH_TO_WHL_FILE.whlDocumentationYou can find the documenthereMiscAuthor : Simon KojimaGuest Researcher at Donders Institue, Radboud University, Nijmegen, NetherlandsPh.D. Stundent at Shibaura Institue of Technology, Tokyo, Japan
Package: pyscabbard
scabbardhigh-level python package for the DAGGER suiteFree software: MIT licenseDocumentation:https://scabbard.readthedocs.io.FeaturesTODOExperimentalAmong the experimental features is a tentative link to Blender to make nice 3D plots. The latter will only get activated if called from blender and will happily be ignored by most.Only tested on Ubuntu, it requires the following steps:identify thepythonversion of your blender versioncreate a new env with this python versioninstall all the packages you need either with conda or pip.AFTER EVERY NEW ADDITIONS (of one or multiple packages at once) YOU’LL NEED TO LINK THE PACKAGES TO BLENDER:ln -s /path/to/your/environment/site-packages/* ~/.config/blender/3.X/scripts/addons/modules/Where you obviously need to adapts the paths and version number (yes I had multiple times the question “urgh it cannot find /path/to/your/environment”)CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.0.3 - 0.0.4 (2023-10-23)Fixing couple of bugs on the gridExperimental support for DAGGER’s experimental stuffAdding environment object (WIP, future main structure)0.0.2 (2023-07-31)Adding drainage divide quick extraction toolsFixing sea_level/Z0 stuff0.0.1 (2023-07-25)First release on PyPI.Adding tools for quick river extractionStarted a big behind-the-scene refactoring and standardisation (invisible at top level)Maintenance and bug fixes
Package: pyscada-bacnet
This is a extension for PyScada to support BACNet Communication.What is Workingnothing is testWhat is not Working/MissingTest with real hardwareDocumentationInstallationpip install pyscada-bacnetContributeIssue Tracker:https://github.com/pyscada/PyScada-BACNet/issuesSource Code:https://github.com/pyscada/PyScada-BACNetLicenseThe project is licensed under the _GNU AFFERO GENERAL PUBLIC LICENSE Version 3 (AGPLv3)_.
Package: pyscada-gpio
This is a extension for PyScada to support read and write of GPIO Pins.What is Workingnothing is testWhat is not Working/MissingTest with real hardwareDocumentationInstallationpip install pyscada-gpioContributeIssue Tracker:https://github.com/trombastic/PyScada-GPIO/issuesSource Code:https://github.com/trombastic/PyScada-GPIOLicenseThe project is licensed under the _GNU General Public License v3 (GPLv3)_.
-
Package: pyscada-meterbus
This is a extension for PyScada to support read and write to MeterBus devices.What is Workingnothing is testWhat is not Working/MissingTest with real hardwareDocumentationInstallationpip install pyscada-meterbusContributeIssue Tracker:https://github.com/pyscada/PyScada-MeterBus/issuesSource Code:https://github.com/pyscada/PyScada-MeterBusLicenseThe project is licensed under the _GNU AFFERO GENERAL PUBLIC LICENSE Version 3 (AGPLv3)_.
-
Package: pyscada-modbus
This is a extension for PyScada to support Modbus devices.What is WorkingModbus TCP/IPModbus RTUWhat is not Working/MissingDocumentationInstallationpip install pyscada-modbusContributeIssue Tracker:https://github.com/pyscada/PyScada-modbus/issuesSource Code:https://github.com/pyscada/PyScada-modbusLicenseThe project is licensed under the _GNU AFFERO GENERAL PUBLIC LICENSE Version 3 (AGPLv3)_.
Package: pyscada-onewire
This is a extension for PyScada to support one wire devices.What is Workingnothing is testWhat is not Working/MissingDocumentationInstallationpip install pyscada-onewireContributeIssue Tracker:https://github.com/pyscada/PyScada-onewire/issuesSource Code:https://github.com/pyscada/PyScada-onewireLicenseThe project is licensed under the _GNU AFFERO GENERAL PUBLIC LICENSE Version 3 (AGPLv3)_.
Package: pyscada-opcua
This is a extension for PyScada to support read and write to OPC-UA devices.What is Workingnothing is testWhat is not Working/MissingTest with real hardwareDocumentationInstallationpip install pyscada-opcuaContributeIssue Tracker:https://github.com/pyscada/PyScada-OPCUA/issuesSource Code:https://github.com/pyscada/PyScada-OPCUALicenseThe project is licensed under the _GNU AFFERO GENERAL PUBLIC LICENSE Version 3 (AGPLv3)_.
-
Package: pyscada-scripting
This is a extension for PyScada to support periodically executing scripts. For more information see the example script
(extras/sample_script).What is Workingrunning the test scriptreading values from the databaseWhat is not Working/Missingwriting to database not testedwriting to devices not testedDocumentationInstallationpip install pyscada-scriptingContributeIssue Tracker:https://github.com/pyscada/PyScada-Scripting/issuesSource Code:https://github.com/pyscada/PyScada-ScriptingLicenseThe project is licensed under the _GNU AFFERO GENERAL PUBLIC LICENSE Version 3 (AGPLv3)_.
-
Package: pyscada-serial
This is a extension for PyScada to support read and write to Serial devices.What is Workingnothing is testWhat is not Working/MissingTest with real hardwareDocumentationInstallationpip install pyscada-serialContributeIssue Tracker:https://github.com/pyscada/PyScada-Serial/issuesSource Code:https://github.com/pyscada/PyScada-SerialLicenseThe project is licensed under the _GNU AFFERO GENERAL PUBLIC LICENSE Version 3 (AGPLv3)_.
-
Package: pyscada-smbus
This is a extension for PyScada to support SM Bus devices.What is Workingnothing is testWhat is not Working/MissingDocumentationInstallationpip install pyscada-smbusContributeIssue Tracker:https://github.com/pyscada/PyScada-smbus/issuesSource Code:https://github.com/pyscada/PyScada-smbusLicenseThe project is licensed under the _GNU AFFERO GENERAL PUBLIC LICENSE Version 3 (AGPLv3)_.
Package: pyscada-systemstat
This is a extension for PyScada to support gathering system statistics.What is Workingnothing is testWhat is not Working/MissingDocumentationInstallationpip install pyscada-systemstatContributeIssue Tracker:https://github.com/pyscada/PyScada-systemstat/issuesSource Code:https://github.com/pyscada/PyScada-systemstatLicenseThe project is licensed under the _GNU AFFERO GENERAL PUBLIC LICENSE Version 3 (AGPLv3)_.
-
Package: pyscada-visa
This is a extension for PyScada to support VISA devices.What is Workingnothing is testedWhat is not Working/MissingDocumentationInstallationpip install pyscada-visaContributeIssue Tracker:https://github.com/pyscada/PyScada-VISA/issuesSource Code:https://github.com/pyscada/PyScada-VISALicenseThe project is licensed under the _GNU AFFERO GENERAL PUBLIC LICENSE Version 3 (AGPLv3)_.
Package: pyscada-webservice
This is a extension for PyScada to support read and write to Web Services.What is Workingnothing is testWhat is not Working/MissingTest with real hardwareDocumentationInstallationpip installhttps://github.com/pyscada/PyScada-WebService/tarball/masterHow toPut the IP or DNS in the device optionTo read :Put in the action pathPut in the variable path :For XML look athttps://docs.python.org/3/library/xml.etree.elementtree.html#xpath-support.//*[.=”mode”]../Value.//*[@name=’Singapore’]/year…For JSON write nested dict as a space separated string : dict1 dict2 …To write :You have to move the variables in chosen variablesPut in the action path $x to refer to variable with id x/example1/$5/$2/blablabla/$8Select the trigger variable (write all the variable when the trigger is true)ContributeIssue Tracker:https://github.com/pyscada/PyScada-WebService/issuesSource Code:https://github.com/pyscada/PyScada-WebServiceLicenseThe project is licensed under the _GNU AFFERO GENERAL PUBLIC LICENSE Version 3 (AGPLv3)_.
-