Saravanan666/pypi-org huggingface dataset:
Package: exo-lang
SetupWe make active use of newer Python 3.x features, so please use the same version
of Python as our CI if you're getting errors about unsupported features.Setting up Exo for development is like any other Python project. We _
strongly_ recommend you use a virtual environment.$ python -m venv ~/.venv/exo
$ . ~/.venv/exo
(exo) $ python -m pip install -U pip setuptools wheel
(exo) $ python -m pip install -r requirements.txtPySMTDepending on your setup, getting PySMT to work correctly may be difficult. You
need to independently install a solver such as Z3 or CVC4, and even then getting
the PySMT library to correctly locate that solver may be difficult. We have
included thez3-solverpackage as a requirement, which will hopefully avoid
this issue, but you can also install z3 (or your choice of solver)
independently.SubmodulesAfter pulling or updating the repository, be sure to update the submodules.git submodule update --init --recursiveNotes for TestingDependenciesBuild system (required)The Exo test harness generates C code and as such needs to compile and link
using an unknown (i.e. system) compiler. To do this, it generates CMake build
files and invokes CMake behind the scenes.Therefore, you must have CMake3.21or newer installed.By default, CMake will useNinjaas its backend, but
this may be overridden by setting the environment variableCMAKE_GENERATORtoUnix Makefiles, in case you do not wish to install Ninja.SDE (optional)For testing x86 features on processors which don't support them (e.g., AVX-512
or AMX), we rely on
theIntel Software Development Emulatoras an optional dependency. Tests which rely on this (namely for AMX) look
forsde64either in the path defined by theSDE_PATHenvironment variable or
in the systemPATH, and are skipped if it is not available.Running testsTo run the tests, simply typepytestin the root of the project.Running Coverage TestingTo run pytest with coverage tests, executepytest --cov=./ --cov-report=htmlThen, if you want to see annotated source files, open./htmlcov/index.html.
Package: exomole
Introduction to ExoMoleMeetExoMole, a creature that feeds on data and meta-data files of theExoMoldatabase.
Theexomolepackage provides code for parsing, validation and access to the ExoMol
meta-data and data.
The package is primarily aimed at ExoMol database developers and maintainers, as most of
the features require access to the ExoMol files. The code therefore works the best if
installed directly on the ExoMol server.
Nevertheless, several features of the package are also relevant from outside the ExoMol
production server, tapping into the ExoMol public API defined in the databaserelease paper.Installation:Theexomolepackage can be installed either fromPyPIpython3-mpipinstallexomoleor from theGitHubpagepython3-mpipinstallgit+https://github.com/hanicinecm/exomole.gitPackage:The code in the package is organised into several modules. Theread_allandread_defmodules contain functionality for parsing, validation and analysis of the
ExoMole’s.alland.defmeta-data files, while theread_datamodule groups
functionality for reading and validating the.statesand.transdata files.Thedocumentationdescribes some examples of usage of the package. For further
documentation, refer to the codebase docstrings.For Developers:It goes without saying that any development should be done in a clean virtual
environment.
After cloning or forking the project from itsGitHubpage,exomolecan be
installed into the virtual environment in the editable mode by runningpipinstall-e.[dev]The[dev]extra installs (apart from the package dependencies) also several
development-related packages, such aspytest,black,toxoripython.The tests can then be executed by running (from the project root directory)pytestThe project does not have therequirements.txtfile by design, as all the package
dependencies are rather handled by thesetup.py.
The package therefore needs to be installed locally to run the tests, which grants the
testing process another layer of usefulness.Docstrings in the project adhere to thenumpydocstyling.
The project code is formatted byblack.
Always make sure to format your code before submitting a pull request, by runningblackon all your python files.
Package: exonetapi
exonetapiPython 3 library for the Exonet API.InstallInstall using pip:pipinstallexonetapiUsageExample to get the user details of the authorised user:fromexonetapiimportClient# Create a new Client.client=Client('https://api.exonet.nl')# Authorize with a personal access token.client.authenticator.set_token('<YOUR_TOKEN>')# Make an API call. Get details of the authorized user.user_details=client.resource('me').get()# Print user's name.print('Autorized as:{name}'.format(name=user_details.attribute('name')))See the/docsdirectory for complete documentation and additional code snippets.ExamplesThe/examplesdirectory contains ready to use scripts to help you get started. These examples can be executed with your personal access token. One of them gets a ticket with it's emails and prints the details::$ python examples/ticket_details.py <YOUR-TOKEN>This should make two API calls and print the ticket and email details for one of your tickets.Change logPlease seereleasesfor more information on what has changed recently.ContributingWhen contributing to this repository, please first discuss the change you wish
to make via issue, email, or any other method with the owners of this repository
before making a change.Please note we have a code of conduct, please follow it in all your interactions
with the project.Issues and feature requestsYou've found a bug in the source code, a mistake in the documentation or maybe
you'd like a new feature? You can help us by submitting an issue to ourGitHub Repository. Before you create an issue, make sure you search
the archive, maybe your question was already answered.Even better: You could submit a pull request with a fix / new feature!Pull request processSearch our repository for open or closedpull requeststhat relates
to your submission. You don't want to duplicate effort.You may merge the pull request in once you have the sign-off of two other
developers, or if you do not have permission to do that, you may request
the second reviewer to merge it for you.Setting up development environmentThis Python project is fully managed using thePoetrydependency
manager.You need at least:Python 3.8+PoetryInstall all packages, including all development requirements:poetryinstallPoetry creates by default an virtual environment where it installs all
necessary pip packages, to enter or exit the venv run the following commands:poetryshellexitNow you're all set to get started!To run the Python tests:poetryrunpytestTo run the bandit checks:poetryrunbanditSecurityIf you discover any security related issues please emaildevelopment@exonet.nlinstead
of using the issue tracker.CreditsExonetAll ContributorsLicenseMIT License
Package: exonum-launcher-cis
Exonum CIS Dynamic Service LauncherA tool to send deploy&init requests into the Exonum CIS blockchain.Usageusage:exonum_launcher_cis[-h]-iINPUT[-rRUNTIMES[RUNTIMES...]][--runtime-parsersRUNTIME_PARSERS[RUNTIME_PARSERS...]][--instance-parsersINSTANCE_PARSERS[INSTANCE_PARSERS...]]Exonumservicelauncher

optionalarguments:-h,--helpshowthishelpmessageandexit-iINPUT,--inputINPUTApathtoyamlinputforserviceinitialization-rRUNTIMES[RUNTIMES...],--runtimesRUNTIMES[RUNTIMES...]Additionalruntimes,e.g.`--runtimesjava=1python=2wasm=3`--runtime-parsersRUNTIME_PARSERS[RUNTIME_PARSERS...]Runtimespecparsers,e.g.`--runtime-parserspython=your_module.YourRuntimeSpecLoader`ValueswillbeimportedandtreatedlikeSpecLoader,soensurethatmodulewithloaderisin`sys.path`.--instance-parsersINSTANCE_PARSERS[INSTANCE_PARSERS...]Instancespecparsers,e.g.`--runtime-parserspython=your_module.YourInstanceSpecLoader`ValueswillbeimportedandtreatedlikeInstanceSpecLoader,soensurethatmodulewithloaderisin`sys.path`.So, if you want to runexonum-launcher_ciswith Rust runtime only and without custom artifact spec loaders, you can just use:python3-mexonum_launcher_cis-isample.ymlIf you want to useexonum-launcherwith Python runtime and Python runtime spec loader, the command will be:python3-mexonum_launcher_cis--runtimespython=2--runtime-parserspython=exonum_launcher.runtimes.python.PythonSpecLoader-isample.ymlExample of expectedyamlfile:networks:-host:"127.0.0.1"ssl:falsepublic-api-port:8080private-api-port:8081deadline_height:10000artifacts:cryptocurrency:runtime:rustname:"exonum-cryptocurrency-advanced:0.12.0"# Example of artifact that should not be deployedexample_artifact:runtime:rustname:"exonum-cryptocurrency-advanced:0.12.0"deploy:falseinstances:xnm-token:artifact:cryptocurrencyconfig:[]nnm-token:artifact:"cryptocurrency"config:[]some-instance:# Since we will not deploy `example_artifact`, it is assumed that it is already deployedartifact:"example_artifact"config:val_a:"123"val_b:345Important:if you have more than one validator in the network, ensure that connection data
(networkssection of the config) is specified foreveryvalidator.Deploy&init process requires requests to be sent to each validator, so don't expect that transaction broadcast
mechanism will work here.PluginsYou can define custom runtimes and plugins in the config (so you won't have to provide them from command line):runtimes:python:2plugins:runtime:python:"exonum_launcher_cis.runtimes.python.PythonSpecLoader"artifact:{}Seesamplesfolder for more examples.Installpipinstallexonum-launcher-cis--no-binary=protobufLicenseApache 2.0 - seeLICENSEfor more information.
Package: exonum-launcher-java-plugins
Java Plugins forExonum LauncherJava Runtime Plugin allows to deploy and start Java services.Instance Configuration Plugin allows to use an arbitrary Protobuf message for service
initial configuration parameters. The plugin can be used for both Java and Rust services.InstallationRequirementsPython3Using PyPIpip3installexonum-launcher-java-pluginsFrom Source# Generate sourcessource./tests_profile
mvngenerate-sources-plcore# Install pluginspython3-mpipinstall-eexonum_launcher_java_pluginsUsageSeeDeploy and Start the Service.LicenseApache License version 2.0. SeeLICENSEfor details.
Package: exonum-precheck
Exonum deployment precheck scriptexonum_precheckis a script which verifies that all the expected checks are OK for code you're about to push.
It is supposed that you'll run this script before every push at theExonumrepository.This command loads.travis.ymland performs all the checks (tests and lints) exactly as they will be performed on the CI server.
Also if installed rustc version doesn't match the one in the travis config, a warning will be shown.PrerequirementsYou should haveclippy,rustfmt,deadlinks,cspellandmdinstalled:cargoinstallcargo-deadlinks
rustupcomponentaddrustfmt
rustupcomponentaddclippy
npminstallcspell
npminstallmdExamplecdexonum_folder
python3-mexonum_precheckExample output (actually it's colored):Testsresults:Error:cargotest--allSuccess:cargorun-pexonum--exampleexplorerSuccess:cargorun-pexonum-testkit--exampletimestampingSuccess:cargorun-pexonum-time--examplesimple_serviceLintsresults:Success:npmruncspellSuccess:npmrunmdSuccess:cargoclippy--all--benches--features"long_benchmarks"Success:cargofmt--all----checkSuccess:cargoclean--docSuccess:cargodoc--no-depsSuccess:mkdir-ptarget/doc/exonum_configurationSuccess:mkdir-ptarget/std/stringSuccess:touchtarget/std/string/struct.String.htmlSuccess:touchtarget/std/primitive.usize.htmlSuccess:touchtarget/doc/enum.HashTag.htmlSuccess:cargodeadlinks--dirtarget/docYou can also specify jobs to run manually.python3-mexonum_precheck--jobslinux-testssample-joblintstestsThose jobs will be executed instead of default ones ("unit-test", "lints") in the provided order.This maybe helpful if you want to use this script on another repository.Using as a git hookThis script can be also used as a prepush hook:echo'#!/bin/sh\npython3 -m exonum_precheck || exit 1\n'>./exonum_folder/.git/hooks/pre-push
chmod+x./exonum_folder/.git/hooks/pre-pushWith that hook you won't be able to push unless all the expected CI checks are passed.
However, be careful: if you're going to work on a work-in-progress branch which'll have broken tests, you'll have to temporary remove the hook.Example of more advanced hook:#!/bin/shnpminstall&&gitcheckoutpackage-lock.jsonpackage.jsonexportRUST_BACKTRACE=0exportRUST_LOG=offexportRUST_TEST_THREADS=4exportCARGO_BUILD_JOBS=4ulimit-n2048python3-mexonum_precheck||exit1InstallingInstall and update usingpip:pip install -U exonum_precheckLICENSEexonum_precheckis licensed under the MIT License.
SeeLICENSEfor details.
Package: exopassword
AboutExoPassword is a Password Strength Analyzing module that combines Machine Learning, rule-based scoring, and breach detection to provide detailed insight regarding your passwords.Supports password strength evaluation by 4 Machine Learning modelsRule based password scoringPassword breach status and breach countInstallationPython3 is required.Openterminaland execute:pipinstallexopasswordDevelopment InstallationOpenterminaland execute:gitclonehttps://github.com/owaspvit/exo.gitcdexo
pipinstall--editable.Other RequirementsEnzoic API KeyExample Usagefromexo.exocoreimportExoCoreAPI_KEY=""#Enzoic API Key hereSECRET_KEY=""#Enzoic Secret Key hereexo=ExoCore(API_KEY,SECRET_KEY)result=exo.results("abc123@12")print(result)Output{"password":"abc123@12","score":80,"DecisionTree":{"score":1,"response":"Moderate"},"LogisticRegression":{"score":1,"response":"Moderate"},"NaiveBayes":{"score":1,"response":"Moderate"},"NeuralNetwork":{"score":2,"response":"Strong"},"Breached":True,"BreachCount":11}Machine Learning Models InformationModelTraining AccuracyTesting AccuracyDecision Tree0.9810.926Logistic Regression0.8190.818Naive Bayes0.8120.812Neural Network0.9910.989LinksDatasetDemoContributingBefore creating an issue, please ensure that it hasn't already been reported/suggested.The issue tracker is only for bug reports and enhancement suggestions. If you have a question, please ask it in theDiscord serverinstead of opening an issue â€“ you will get redirected there anyway.If you wish to contribute to the ExoPassword codebase or documentation, feel free to fork the repository and submit a pull request.HelpIf you don't understand something in the documentation, you are experiencing problems, or you just need a gentle
nudge in the right direction, please don't hesitate to join ourDiscord Server.
Package: exoplanet
exoplanetFast & scalable MCMC for all your exoplanet needs!exoplanetis a toolkit for
probabilistic modeling of time series data in astronomy with a focus on
observations ofexoplanets, usingPyMC3.PyMC3is a flexible and high-performance model
building language and inference engine that scales well to problems with a large
number of parameters.exoplanetextendsPyMC3's language to support many of
the custom functions and distributions required when fitting exoplanet datasets.Read the full documentation atdocs.exoplanet.codes.InstallationThe quickest way to get started is to usepip:python-mpipinstallexoplanetNote that you will need Python (>=3.6) installed for this to work, but then this
will install all the required dependencies.Check out themain installation documentation
pagefor more options.UsageCheck out the tutorials and API docs onthe docs
pagefor example usage and much more info. You
can also find more in-depth examples on theexoplanet case studies
page.Contributingexoplanetis an open source project and we would love it if you wanted to
contribute. Check outthe developer
documentationfor more info
about getting started.
Package: exopy
Exopy is a versatile data acquisition software. It provides an extensible set
of tools to describe an perform data acquisition. Each measurement is described
by a hierarchical structure, allowing simple nested loops structure and more
complex ones involving multiple non nested loops and conditions. The hierarchy
is edited through a Graphical User Interface, allowing a smooth learning curve.
The elementary brick used in the hierarchy is referred to as a task. Each task
can read and write values from a common data structure allowing for easy communication between tasks and a high level of custimization despite the use
of a GUI. Furthermore, one can specify at the level of each tasks if it
should be executed in a different thread and how it should behave with respect
to other tasks running in threads. The application design make it easily
customizable on a per lab basis while benefitting from a common architecture.For more details see the documentation:http://exopy.readthedocs.io/InstalllingThe easiest way to install Exopy is through conda :condainstallexopy-cexopy
Package: exo-py
exopyexopyis a Python module for modeling the growth of planetesimals in a disk over time. It is built as a .pyd from a C++ project using pybind11.TheSmoluchowski coagulation equation, as shown below, is used to compute the number of planetesimals.RequirementsC++ 17 compilertested on:msvc 1916/1924 (Windows 10 1909)gcc 7.4.0/8.3.0 (Ubuntu 18.04.4)clang 6.0.0/9.0.0 (Ubuntu 18.04.4)CMake 3.11or newerpybind11span-litePython 3numpyExampleInputimport exopy
import numpy as np

t = np.linspace(start=0.0, stop=3.0, num=4)
nk = exopy.compute_nk_approx(steps=t, k_max=8, initial=200.0, A=0.001)
with np.printoptions(precision=5, suppress=True, linewidth=100):
  print(nk)Output[[200.        0.        0.        0.        0.        0.        0.        0.     ]
 [160.       20.        0.        0.        0.        0.        0.        0.     ]
 [131.2      29.2       3.2       0.2       0.        0.        0.        0.     ]
 [109.70944  33.02376   6.50688   1.0134    0.11968   0.01096   0.00064   0.00002]]LicenseCopyright © 2020 Jared Duffey - All Rights Reservedexopyis distributed under theMozilla Public License, v. 2.0. A copy of this license is included in LICENSE.txt.
Package: exo-pyface
exoA python package to make your API and JSON handling seemless.
Get data from an API using our api handling tools, and then parse the api using our json tools.InstallationUse the package managerpipto install exo.pipinstallexo-pyfaceUsageImportexoas given in the examples in your python file.Examples of usage:importexofromexoimport*fromexoimportapifromexoimportjsonasjsContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.Licenseexo is licensed under GNU-3.0. Check the LICENSE file for more details.
Package: exopy-hqc-legacy
Exopy Hqc Legacy===============.. image:: https://travis-ci.org/Exopy/exopy_hqc_legacy.svg?branch=master:target: https://travis-ci.org/Exopy/exopy_hqc_legacy:alt: Build Status.. image:: https://anaconda.org/exopy/exopy_hqc_legacy/badges/version.svg:target: https://anaconda.org/exopy/exopy_hqc_legacy:alt: Conda packageTransition package to smooth transition from HQCMeas to Exopy.A GUI tool is provided to convert an HQCMeas measure file to the new formatused by Exopy. It can be started from the command line by typinghqcmeas_to_exopy.Installation------------.. code:: shellconda install exopy_hqc_legacy -c exopy -c conda-forgeFAQs----- Q: I want to add a driver to exopy_hqc_legacy, so I referred to html/dev_guide/instruments.html#registering-a-driver but I cannot find the "plugin manifest".- A: The plugin manifest is here: exopy_hqc_legacy\exopy_hqc_legacy\manifest.enaml- Q: Why is my instrument not appearing in the list of proposed instrument for a chosen task?- A: Go to exopy_hqc_legacy\exopy_hqc_legacy\manifest.enaml and add your instrument to the instruments list for the task you want:e.g. instruments = ['exopy_hqc_legacy.Legacy.AgilentPNA','exopy_hqc_legacy.Legacy.ZNB20']- Q: I created a task file, but do not see it appear as the proposed tasks in the GUI, why?- A: You need to add the task in the plugin manifest exopy_hqc_legacy\exopy_hqc_legacy\manifest.enaml
Package: exorad
ExoRad 2.0: The generic point source radiometric modelExoRad, the generic point source radiometric model, interfaces with any instrument to provide an estimate of several Payload performance metrics.As an example, for each target and for each photometric and spectroscopic channel, ExoRad provides estimates of:signals in pixelssaturation timesread noisephoton noisedark current noisezodiacal bkginner sanctumsky foregroundCiteIf you use this software please cite:
Mugnai et al., (2023). ExoRad 2.0: The generic point source radiometric model. Journal of Open Source Software, 8(89), 5348, (doi: 10.21105/joss.05348)InstallationInstalling from PyPiYou can install it by doingpip install exoradInstalling from sourceClone the directory using:git clone https://github.com/ExObsSim/ExoRad2-publicMove into theExoRad2folder.
Then installpip install .RunOnce Exorad is installed in your system you can run it from console.
Runexorad --helpto read the list of accepted keywords.An example to ExoRad is provide in theExoRad2/examplesfolder. From theExoRad2directory you can tryexorad -p examples/payload_example.xml -t examples/test_target.csv -o example_run/test.h5The code output will appear in a directory calledexample_runDocumentationThe full documentation is availablehereOr you can build the documentation yourself usingsphinx. To install it runpip install sphinx sphinx_rtd_themeFrom theExoRad2/docsfolder runningcd docs
make htmlThen you will find the html version of the documentation inExoRad2/docs/build/html/index.html.