Saravanan666/pypi-org huggingface dataset:
Package: open-firefox-urls-chrome
# open-firefox-urls-chromeUtility to get URLs currently open in Firefox and open them in Chrome## Installpip3 install open-firefox-urls-chrome## Using from command lineopen-firefox-urls-chrome## Credit
Python for getting firefox urls taken fromhttps://github.com/luismsgomes/get-firefox-urls## License
This software is licensed under the MIT license.https://opensource.org/licenses/MIT
Package: openfisk
OpenFiskOpenFisk is an open-source Python library that collects functions for tax-related calculations.FeaturesComprehensive: Supports income, sales, and asset tax calculations.Global: Provides modules per geography to account for regional tax models.Current: Regularly updated to reflect the latest tax laws.Collaborative: Improved through community contributions.Efficient: Optimized for performance, integrates withnumpy.InstallationTo install OpenFisk, run the following command:pipinstallopenfiskQuick StartHere's an example of how to calculate income tax using OpenFisk, using the income tax model for the Netherlands:importnumpyasnpfromopenfisk.nl.incomeimportcalculate_income_tax# Example incomes to calculate tax fortaxable_incomes=np.array([10000,30000,50000])# Define tax bands (lower bounds) for the progressive tax systemtax_bands=np.array([0,20000,40000,np.inf])# Define the tax rates for the respective bandstax_rates=np.array([0.1,0.2,0.3])# Calculate the income tax for each income in taxable_incomestaxes_due=calculate_income_tax(taxable_incomes,tax_bands,tax_rates)# Output the tax due for each income levelprint(taxes_due)ContributingWe are looking for contributors! Please read theContribution Guidefor details on our code of conduct, and the process for submitting pull requests.LicenseThis project is licensed under the MIT License - see theLICENSEfile for details.
Package: openfizzbuzz
openfizzbuzzOpen minded Python FizzBuzzpipinstallopenfizzbuzz
pipinstall-rrequirements.txt
python3.7-mopenfizzbuzzFizzBuzz original questionWrite a program that prints the numbers from 1 to 100. For multiples
of three print "Fizz" instead of the number, and for the multiples of
five print "Buzz". For numbers which are multiples of both tree and
five print "FizzBuzz".IdeasClasses and functionsModule structurationlambdaloggingsome testsnew dataclasseslist comprehensioncoveragepypi setupfactory (& others patterns ?)More ideasMRO manipulationDynamic method bindingExec / Compile textInternal python integer manipulation (ctypes)pyc / pyoNotesIdeolog log format:Message Pattern :^(\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2},\d{3})\s*::\s*(\S*)\s*::\s*(\S*)\s*::\s*(.+)$Time Format :yyyy-MM-dd HH:mm:ss,SSSTime Capture Group :1Severity Capture Group :2Category Capture Group :3test.pypi.orgpipinstall--upgradesetuptoolswheeltwine
pythonsetup.pysdistbdist_wheel

python-mtwineupload--repository-urlhttps://test.pypi.org/legacy/dist/*
twineuploaddist/*
Package: openflexure-microscope
# openflexure_microscope_software
Python scripts to run the OpenFlexure MicroscopeThis collection of scripts is what I use to run the OpenFlexure microscope.  It is not yet a proper Python module, although it should be.## Microscope control scripts
Theopenflexure_microscopefolder contains the scripts I use to run the microscope.  These include a library for the stage, and another one with utility functions for running the camera.  There’s alsomicroscope_control.pyfor interactive control of the microscope.## Characterisation scripts
The [microscope_characterisation](microscope_characterisation) folder contains scripts for measuring the resolution, distortion, and pixels-to-microns calibration.  These are intended to produce images you then analyse with the [USAF analysis scripts](https://github.com/rwb27/usaf_analysis).## Usage
Currently all these scripts live in one folder on my Pi - not in two folders as in this repository.  I’m working on organising them better…
Package: openflexure-stage
OpenFlexure Motor ControllerThis aims to be a super-simple motor controller, based on an Arduino Nano and a couple of Darlington pair ICs.  It controls cheap 28BYJ-48 steppers, as used on the OpenFlexure microscope and stage.  It owes quite a bit to [Fergus Riche’s motor board](https://github.com/fr293/motor_board), the hardware developed by [OpenScope](http://2015.igem.org/Team:Cambridge-JIC) and the Arduino-based motor controller used by a number of summer students working with Richard Bowman in Cambridge, particularly James Sharkey.ContributorsRichard Bowman (University of Bath, UK) wrote the initial version of the Arduino and Python code and maintains the module.
Valerian Sanga (STICLab, Tanzania) did the initial PCB design & production, and maintains the PCB design
Fergus Riche (University of Cambridge, UK) hacked the stepper library to make it work with the stepper motors we are using, and is a major contributor to the v3 PCB design.
Boyko Vodenicharski and Filip Ayazi (University of Cambridge, UK) contributed Python 3 support, endstop support, and Arduino code that works on v3 of the hardware.This project is (c) 2017 by the contributors, and released under CERN Open Hardware License (hardware designs) and GNU GPL v3.0 (software).
Package: openflowthrough
Software for controlling the Open Flow-through sampling device.InstallationInstall via pip:$ pip install openflowthrough [–upgrade]DocumentationFull documentation can be found here.Dependencies for Local DevelopmentIf you wish to build the local documentation or run unit tests, there are a few additional dependencies. Those can be installed by:pip install -e “.[docs, tests, develop]”LicenseThis library is licensed under the MIT license. The full text of the license can be found in this repository at LICENSE.txt.
Package: openfoodfacts
Open Food Facts Python SDKStatusContributingAny help is welcome, as long as you don't break the continuous integration.
Fork the repository and open a Pull Request directly on the "develop" branch.
A maintainer will review and integrate your changes.Maintainers:Anubhav BhargavaFrank RousseauPierre SlamichContributors:Agamit SudoDaniel StolpeEnioluwa SegunNicolas LegerPablo HinojosaAndrea StagiBenoît PrieurAadarsh ACopyright and LicenseCopyright 2016-2022 Open Food FactsThe Open Food Facts Python SDK is licensed under theMIT License.InstallationThe easiest way to install the SDK is through pip:pip install openfoodfactsor manually from source:git clone https://github.com/openfoodfacts/openfoodfacts-python
cd openfoodfacts-python
python setup.py installExamplesGet information about a productapi=openfoodfacts.API(version="v2")code="3017620422003"api.product.get(code)Perform text searchapi=openfoodfacts.API(version="v2")results=api.product.text_search("mineral water")Create a new product or update an existing oneapi=openfoodfacts.API(version="v2")results=api.product.update(CODE,body)withCODEthe product barcode andbodythe update body.To see all possible capabilities, check out theusage guide.Third party applicationsIf you use this SDK, feel free to open a PR to add your application in this list.
Package: openformats
OpenFormats is a localization file format library, written inPython.Read and write to various file formats such as.po,.xliffor even ones
which are not localization formats, such as.srtand.txt.Plural support for the formats which do support it.Built-in web-based test app, to help you develop your own format handlers.OpenFormats’ primary use is to work as a file format backend toTransifex.Check outOpenFormats documentationfor more information.How to get help, contribute, or provide feedbackSee ourcontribution submission and feedback guidelines.You can run tests for the formats by doing the following:python setup.py testSource codeThe source code for OpenFormats ishosted on GitHub.The testbedTo run the testbed:./manage.py syncdb --noinput  # optional
./manage.py runserverThen point your browser tohttp://localhost:8000/.Thesyncdbstep is optional and is used if you wish to save certain tests by
their URL The tests are saved to an sqlite database. This is most likely to be
useful in the live version of the testbed.Having fired up the testbed, you can select a format handler, paste some text
and try to parse it. The testbed will show you the stringset that was extracted
from the source text and the template in kept from it. Then, you can try
compiling the template against the stringset, or you can modify it first.
Package: open-forms-ext-haalcentraal-hr
Version:0.3.0Source:https://github.com/open-formulieren/open-forms-ext-haalcentraal-hrKeywords:Open Forms Extension, Haal Centraal HRPythonVersion:3.10Open Forms extension to prefill form fields with data coming from theHaal Centraal HR API.Contents1Features2Installation3Usage4Configuration1FeaturesConfiguration in the admin for the Haal Centraal serviceThe Haal Centraal client performs the token exchange with KeycloakRetrieve prefill data from theMaatschappelijkeActiviteitRaadplegenAPI endpoint based on KvK number.NoteThe Haal Centraal HR API is a Den Haag specific API and not a national Dutch standard.2InstallationRequirementsPython 3.8 or abovesetuptools 30.3.0 or aboveDjango 3.2 or newer3UsageFor an explanation of this how this extension works, look at the Open Formsdeveloper documentation.To see how to build and distribute an image with this extension, look at the Open Forms documentation aboutbuilding and distributing extensions.4ConfigurationIn the Open Forms Admin:Go toConfiguration>Servicesand create a service for Haal Centraal HR.Go toMiscellaneous>Token exchange plugin configurations.
Click onAdd Token exchange plugin configurationand fill in the details:Select the service for which you want the token authorisation to be performed.Add the Keycloak audience.Save the configuration.The prefill will be available in the form designer in the same way as other prefill plugins.
Package: open-forms-ext-token-exchange
Version:0.4.0Source:https://github.com/open-formulieren/open-forms-ext-token-exchangeKeywords:Open Forms Extension, Keycloak token exchangeOpen Forms extension to use Keycloak access tokens when requesting prefill data from external APIs.Contents1Features2Installation3Usage4Configuration1FeaturesSignal receiver which extracts the Keycloak access token from the session and caches it.Pre-request hook that adds a customauthentication classto the request kwargs.Custom authentication class that performs the token exchange with Keycloak and adds the exchanged token to theAuthorizationheader.NoteThe token exchange has astandard, but Keycloak mentions in itsdocumentationthat they
“extended it a little, ignored some of it, and loosely interpreted other parts of the specification”.2InstallationRequirementsPython 3.7 or abovesetuptools 30.4.0 or aboveDjango 3.23UsageFor an explanation of this how this extension works, look at the Open Formsdeveloper documentation.To see how to build and distribute an image with this extension, look at the Open Forms documentation aboutbuilding and distributing extensions.4ConfigurationIn the Open Forms Admin, go toMiscellaneous>Token exchange plugin configurations.
Click onAdd Token exchange plugin configurationand fill in the details:Select the service for which you want the token authorisation to be performed.Add the Keycloak audience.Save the configuration.
Package: openfractal-client
openfractal-clientA Python client based onQCPortalfor Open Drug Discovery (ODD) QM large scale data generation.DocumentationVisithttps://opendrugdiscovery.github.io/openfractal-client/.Development lifecycleSetup dev environmentmicromambacreate-nopenfractal-fenv.yml
micromambaactivateopenfractal# Install openfractal-client libpipinstall-e.TestsYou can run tests locally with:pytestChangelogsSee the latest changelogs atCHANGELOGS.md.LicenseUnder the Apache-2.0 license. SeeLICENSE.
Package: openframe-criteria-set-protocol
Criteria Set ProtocolPython libraryThis is a Python library with types and implementations of the Criteria Set Protocol. It is published
publicly onPyPIasopenframe-criteria-set-protocol.Installationpipinstallopenframe-criteria-set-protocolContentsProtocol v1The library contains the types defined in the protocol v1 specification.TypesTypeRemarksMetadata typesMetadataQualityQualityStyleColorRgbColorTask tree typesCriteriaTreeCriterionTaskGroupTaskTaskItemTaskItem value typesSelectSingleTypeSelectMultipleTypeNumberTypeBooleanTypePointOptionUsed bySelectSingleTypeandSelectMultipleTypeTaskItemValueThe raw value of a TaskItem, which can be an arrayTaskItemScalarValueThe raw value of a TaskItemREST typesMetadataResponseMetadata endpoint response bodyStreamCriteriaSetMatrixBodyRequest body for the matrix streaming endpointsStreamMatrixResponseMatrix streaming endpoints response bodySchemasValidation schemas are provided for validating the endpoints of the protocol v1 specification.SchemaRemarkscriteria_set_idRegular expression for the criteria_set_id parameter for endpoints which use itversionRegular expression for the version parameter for endpoints which use itmarshmallow schemasTreeAndMatrixBodySchemaSchema for validating the request body for tree and matrix endpointsDeploymentDeploy using the following commands:python3-mbuild
python3-mtwineuploaddist/*LicenseOpenframe Criteria Set ProtocolbyOpenframe ApSis licensed underCC BY-ND 4.0
Package: open-FRED-cli
The open_FRED command line interface and other tools for working with
databases containing open_FRED data.InstallationIt’s probably best to install the package into avirtual environment.
Once you’ve created a virtualenv,activateit and install the
package into it via:pip install open_FRED-cliYou can also install the in-development version with:pip install https://github.com/open-fred/cli/archive/master.zipOnce you’ve done either, make yourself familiar with the program by running:open_FRED --helpDocumentationhttps://cli.readthedocs.io/DevelopmentTo run the all tests run:toxNote, to combine the coverage data from all the tox environments run:Windowsset PYTEST_ADDOPTS=--cov-append
toxOtherPYTEST_ADDOPTS=--cov-append toxChangelog0.0.1 (2019-12-03)First release on PyPI.
Package: openfs
openfsAn S3 feature store client for data pipelines.Openfsprovides a simple api to boost the quality of your training data
while keeping your data pipelines clean and manageable.InstallationpipinstallopenfsQuick StartCreating a Storeimportopenfsasfsfromopenfs.storesimportFeatureStorefromopenfs.boostersimportBoosterimportos# <- import files to upload here# Connect to store bucketfs.client.connect(region_name=os.environ['FSTORE_REGION'],endpoint_url=os.environ['FSTORE_ENDPOINT_URL'],access_key_id=os.environ['FSTORE_ACCESS_KEY'],secret_access_key=os.environ['FSTORE_SECRET_KEY'])# Create storestore=FeatureStore("store_name","description of store","some_primary_key")# Upload storeresponse=store.upload(files,filenames)Creating a Booster Dataset# Create boosterbooster=Booster(store_id=response['store_id'])# Add featuresbooster.add_single("feature_1",alias="alias_for_feature")booster.add_group(["feature_2","feature_3"],alias="grouped_feature",how='sum')# pull features from store (for testing)df=booster.create_df()# upload boosterbooster.upload(name="booster_name",description="booster description")Viewing Storesfb.client.list_stores()ContributorsWe'd love to welcome contributors toopenfsto help make training data
richer and more open for everyone. We're working on our contributor docs at the
moment, but if you're interested in contributing, please send us a message atcontact@xplainable.io.Thanks for trying openfs!Made with ❤️ in Australia© copyright xplainable pty ltd
Package: openfst-python
OpenFst-PythonOpenFst-Python exposes the official Python API toOpenFst(officially called pywrapfst), but includes all the required OpenFst libraries
in the Python package, so you don't need to install it separately.The version number of OpenFst-Python is the same as the OpenFst version
used.The current version uses OpenFst 1.7.2.Build RequirementsThe build process will download and build OpenFst from the official
webpage, so you need an Internet connection and all OpenFst dependencies.
Essentially, you will need:A C++ compiler supporting C++11 (tested with GCC 4.9).PatchELF.Zlib development.Python Requests.InstallationMost likely, you want to avoid the build process. Then, simply install the
package from PyPI:pipinstallopenfst-pythonAlternatively, if you are installing from sources, you can simply do:pythonsetup.pyinstallNotice that this downloads the appropriate version of OpenFst directly from
the Internet. If you don't have an Internet connection but are already in
possession of the appropriate tar.gz file, you can use the following command:pythonsetup.pybuild--download-dir=DIRECTORY_CONTAINING_OPENFST_TAR_GZ
pythonsetup.pyinstallDocumentationThe Python API is the official one provided by OpenFst. Please, refer to itsdocumentation.A toy example:importopenfst_pythonasfstf=fst.Fst()s0=f.add_state()s1=f.add_state()s2=f.add_state()f.add_arc(s0,fst.Arc(1,2,fst.Weight(f.weight_type(),3.0),s1))f.add_arc(s0,fst.Arc(1,3,fst.Weight.One(f.weight_type()),s2))f.add_arc(s1,fst.Arc(2,1,fst.Weight(f.weight_type(),1.0),s2))f.set_start(s0)f.set_final(s2,fst.Weight(f.weight_type(),1.5))LicenseThe OpenFst library is licensed under the Apache License, Version 2.0.
OpenFst-Python is just a wrapper of its official Python API, so
I am using the same license for most of the source code.ac_python_devel.m4was not written by me and it is licensed under the
GPL license.
Package: openfxy
FXY：*Security-Scenes-Feature-Engineering-Toolkit*中文文档FXY is an open-sourced feature engineering framework for data
preprocessing, feature engineering, model training and testing in
multiple security scenes.FeaturesSupports the feature engineering of multiple security scenariosBuilt-in multiple universal feature engineering methodsBuilt-in multiple deep learning modelsPipline jobsRequirementsPython3.7PipInstallationgit clone https://github.com/404notf0und/FXY
pip install -r requirements.txtUsagefrom feature_vec.nlp2vec import tfidf,wordindex,word2vec
nlp=word2vec(one_class=False,tunning=True,punctuation='concise')
fx1,fy1=nlp.fit_transform(x1,y1)
fx2=nlp.transform(x2)DocumentationDemand and
DesignQuick
StartDevelopmentReportHow to ContributeCheck for open issues or open a fresh issue to start a discussion
around a feature idea or a bugEmail meroot@4o4notfound.orgWelcome to submit Feature-Engineering scripts,The method you
contributed will be made public.OtherIssuesLicenseContactmail：root@4o4notfound.org
Package: openGA
openGAOverviewOpen source genetic algorithm framework.openGAworks on Python >= 3.7.GoalsThe main goals for this library are:to be convenient to adapt to optimization problemsto have clean and easy to understand code baseto have minimal 3-rd party dependenciesUsagedemo problem
Seach optimal x-y combination to get maximal response of objective function.
Surface plot of object function:theoretical solution$$
z = 4.00 \text{, at } x = 0.25, y= 0.25
$$openGAsolution$$
z = 3.99 \text{, at } x = 0.2393, y = 0.2411
$$notice:solution will change marginally between each run for random searching machenism.openGAsearching process
Evolve 15 generations with 20 individuals in each iteration.Check theexamplesfolder for extended usage demo.InstallationopenGAis available on:github:https://github.com/neal-nie/openGA/PyPi:https://pypi.org/project/openGA/pipinstallopenGADocumentationhttps://openga.readthedocs.io/en/latest/DependenciesopenGAuses the following libraries:numpy : for array operationpandas : for process recordContributingPlease have a look over thecontributing guidelines.Features for v1.0.0AlgorithmSOGANSGACIcodacy for static checkcodecov for coverageread the docspypi
Package: opengame
OpenGame is a Python3 module that can help you build a game faster.Document is writing, this is the dev version.Version: 1.0.2betaNew1.0.2alpha: passed the test onWindows 10andUbuntu.1.0.2beta: deletedopengame.utils.builtin.builtinmoduleTheoryOpenGame built onpygame2. Many features ofpygameare retained.Therefore, it has good compatibility withpygame.Why do you use OpenGame?Let's see an example, we'll show a label "Hello World" on the screen. And let it follow the mouse.If we useopengame, we should:importopengameasogwin=og.Window('Demo',(800,600))text=og.Label('Hello World')text.pack()@win.when_drawdefdraw():text.pos=win.mouse.poswin.show()If we usepygame, we should:importsysimportpygameaspgpg.init()pg.font.init()screen=pg.display.set_mode((800,600))pg.display.set_caption('Demo')font=pg.font.Font(None,26)whileTrue:screen.fill((255,255,255))text=font.render('Hello World',True,(0,0,0))rect=text.get_rect()rect.x,rect.y=pg.mouse.get_pos()screen.blit(text,rect)foreventinpg.event.get():ifevent==pg.QUIT:pg.quit()sys.exit()pg.display.update()Really easy?Although usingpygletandopengameis similar,opengamehas other reason why you should use it.Note: In large projects, you should still use other packages becauseopengamedesigned for small projects.The AdvantagesSimple API, callback system;A perfect resource library;Great encapsulation, more functions;Lots of humanity design.The InferiorityInstability;Not applicable to large projects.InstallUsepipinstall it:pipinstall-UopengameUsegit:gitclonehttps://github.com/stripepython/opengame/cdopengame
pipinstall-rrequirements.txt
pythonsetup.pyinstallWhere can I see OpenGame?PYPI:https://pypi.org/project/opengame/Github:https://github.com/stripepython/opengame/Document:https://stripepython.github.io/opengame/CSDN:https://blog.csdn.net/weixin_38805653?type=blogDocumentSeehttps://github.com/stripepython/opengame/or/docs/index.md
Package: opengate
This is the future GATE version 10. First release is expected 1S 2023.How to install (short version)First create an environment (not mandatory but highly advised)conda create --name opengate_env python=3.9
conda activate opengate_envWarningnot available for python 3.11 yet.Then install the package opengate. The package opengate_core is automatically downloaded.pip install opengateIf you already installed the packages and want to upgrade to last version:pip install opengate -UOnce installed, you can run all tests:opengate_testsAll tests are in the folderhere. Some data (binary files) are stored, for technical reasons, in this git:https://gitlab.in2p3.fr/opengate/tests_data(which is stored as a git submodule).WARNINGsome tests (e.g. test034) needsgaga-phspwhich needspytorchthat cannot really be automatically installed by the previous pip install (at least we dont know how to do). So, in order to run those tests, you will have to install both pytorch and gaga-phsp first withpip install torch
pip install gaga-phspThe documentation is here:https://opengate-python.readthedocs.io/en/latest/user_guide.htmlHow to install (long version, for developers)See the documentation :https://opengate-python.readthedocs.io/en/latest/developer_guide.html#installation-for-developers
Package: opengate-data
Opengate-dataOpengate-data is a python library that helps you easily integrate OpenGate into your python projects.Installationpip install opengate-dataImportfrom opengate_data import OpenGateClientBasic Use with user and passwordclient = OpenGateClient(url="Url", user="User", password="Password")Basic Use with api-keyclient = OpenGateClient(url="Url", api_key="Api_Key")Additional DocumentationFor more details and examples, please refer to thecomplete documentation.
Package: opengb
# Open Gigabot Controller.## DocsVisithttp://opengb.readthedocs.orgfor all documentation## FrontendsNote theopengb-webfrontend was added viagit read-treeas described in #2 [here](http://stackoverflow.com/a/30386041/1273241):` git remote add-f-tmaster--no-tagsopengb-webgit@github.com:re-3D/opengb-web.gitgit merge-sours--no-commitopengb-web/mastergitread-tree--prefix=opengb/frontend/opengb-uopengb-web/master:distgit commit `It may be updated in future like this:` git fetchopengb-webgit merge-sours--no-commitopengb-web/mastergit rm-rfopengb/frontend/opengb gitread-tree--prefix=opengb/frontend/opengb-uopengb-web/master:distgit commit `## PackagingDebian packages are created using [dh-virtualenv](https://dh-virtualenv.readthedocs.org):`dpkg-buildpackage-us-uc`Note: packages are currently stored in `/pkg` until a proper repo is set up.