Saravanan666/pypi-org huggingface dataset:
Package: openedx-filters
Open edX Filters from Hooks Extensions Framework (OEP-50).PurposeThis repository implements the necessary tooling and
definitions used by the Hooks Extension Framework to
manage the filters execution and extra tools.Getting StartedDevelopingOne Time Setup# Clone the repository
git clone git@github.com:openedx/openedx-filters.git
cd openedx-filters

# Set up a virtualenv using virtualenvwrapper with the same name as the repo and activate it
mkvirtualenv -p python3.8 openedx-filtersEvery time you develop something in this repo# Activate the virtualenv
workon openedx-filters

# Grab the latest code
git checkout main
git pull

# Install/update the dev requirements
make requirements

# Run the tests and quality checks (to verify the status before you make any changes)
make validate

# Make a new branch for your changes
git checkout -b <your_github_username>/<short_description>

# Using your favorite editor, edit the code to make your change.
vim …

# Run your new tests
pytest ./path/to/new/tests

# Run all the tests and quality checks
make validate

# Commit all your changes
git commit …
git push

# Open a PR and ask for review.DeployingThe Open edX Filters component is a Python library which doesn’t
need independent deployment. Therefore, its setup is reasonably
straightforward. First, it needs to be added to your service
requirements, and then it will be installed alongside requirements
of the service.If the service you intend to use is either the LMS or CMS, then
the library is installed alongside their requirements since the
Nutmeg release.Getting HelpDocumentationSee theOpen edX Hooks Extension Framework guidein edx-platform.More HelpIf you’re having trouble, we have discussion forums athttps://discuss.openedx.orgwhere you can connect with others in the
community.Our real-time conversations are on Slack. You can request aSlack
invitation, then join ourcommunity Slack workspace.For anything non-trivial, the best path is to open an issue in this
repository with as many details about the issue you are facing as you
can provide.https://github.com/openedx/openedx-filters/issuesFor more information about these options, see theOpen edX Getting Helppage.LicenseThe code in this repository is licensed under the AGPL 3.0 unless
otherwise noted.Please seeLICENSE.txtfor details.ContributingContributions are very welcome.
Please readHow To Contributefor details.This project is currently accepting all types of contributions, bug fixes,
security fixes, maintenance work, or new features.  However, please make sure
to have a discussion about your new feature idea with the maintainers prior to
beginning development to maximize the chances of your change being accepted.
You can start a conversation by creating a new issue on this repo summarizing
your idea.The Open edX Code of ConductAll community members are expected to follow theOpen edX Code of Conduct.PeopleThe assigned maintainers for this component and other project details may be
found inBackstage. Backstage pulls this data from thecatalog-info.yamlfile in this repo.Reporting Security IssuesPlease do not report security issues in public. Please emailsecurity@openedx.org.
Package: openedx-hooks
openedx-hooks is a python library that contains the common definitions (django signals) and utilities for the Open edX hooks framework.Documentation(TODO:Set up documentation)Development WorkflowOne Time Setup# Clone the repository
git clone git@github.com:edx/openedx-hooks.git
cd openedx-hooks

# Set up a virtualenv using virtualenvwrapper with the same name as the repo and activate it
mkvirtualenv -p python3.8 openedx-hooksEvery time you develop something in this repo# Activate the virtualenv
workon openedx-hooks

# Grab the latest code
git checkout master
git pull

# Install/update the dev requirements
make requirements

# Run the tests and quality checks (to verify the status before you make any changes)
make validate

# Make a new branch for your changes
git checkout -b <your_github_username>/<short_description>

# Using your favorite editor, edit the code to make your change.
vim …

# Run your new tests
pytest ./path/to/new/tests

# Run all the tests and quality checks
make validate

# Commit all your changes
git commit …
git push

# Open a PR and ask for review.LicenseThe code in this repository is licensed under the AGPL 3.0 unless
otherwise noted.Please seeLICENSE.txtfor details.How To ContributeContributions are very welcome.
Please readHow To Contributefor details.
Even though they were written withedx-platformin mind, the guidelines
should be followed for all Open edX projects.The pull request description template should be automatically applied if you are creating a pull request from GitHub. Otherwise you
can find it atPULL_REQUEST_TEMPLATE.md.The issue report template should be automatically applied if you are creating an issue on GitHub as well. Otherwise you
can find it atISSUE_TEMPLATE.md.Reporting Security IssuesPlease do not report security issues in public. Please emailsecurity@edx.org.Getting HelpIf you’re having trouble, we have discussion forums athttps://discuss.openedx.orgwhere you can connect with others in the community.Our real-time conversations are on Slack. You can request aSlack invitation, then join ourcommunity Slack workspace.For more information about these options, see theGetting Helppage.Change LogUnreleased[0.1.0] - 2021-04-07AddedFirst release on PyPI.
Package: openedx-mongodbproxy
MongoDBProxy is used to create a proxy around a MongoDB-connection in order to automatically handle
AutoReconnect-exceptions.
You use MongoDBProxy in the same way you would an ordinary MongoDB-connection but don’t need to worry
about handling AutoReconnects by yourself.Usage:import pymongoimport mongodb_proxysafe_conn = mongodb_proxy.MongoProxy(pymongo.MongoReplicaSetClient(replicaSet=’blog_rs’)safe_conn.blogs.posts.insert(post)See here for more details:http://www.arngarden.com/2013/04/29/handling-mongodb-autoreconnect-exceptions-in-python-using-a-proxy/Contributors:Jonathan Kamens (https://github.com/jikamens)Michael Cetrulo (https://github.com/git2samus)Richard Frank (https://github.com/richafrank)David Lindquist (https://github.com/dlindquist)
Package: openedx-xblock-image-modal
A full-screen image modal XBlock,
for use within the Open edX platform.The full-screen image tool is another way of enabling participants to
see more detail in your provided images. This tool is useful for large
images with lots of details. A re-sized version of the image displays in
the page, but clicking on the image pops open a full-screen modal with
the full-size version of the image.InstallationSystem AdministratorTo install the XBlock on your platform,
add the following to yourrequirements.txtfile:xblock-image-modalYou’ll also need to add this to yourINSTALLED_APPS:imagemodalCourse StaffTo install the XBlock in your course,
access yourAdvanced Module List:Settings -> Advanced Settings -> Advanced Module Listand add the following:imagemodalUseCourse StaffTo add a full-screen image to your course:upload the image file onto your course’s Files & Uploads pagenote: you can skip this step if you’ve already uploaded the image
elsewhere, e.g.: S3.copy the URL on that pagego to a unit in Studioselect “Image Modal XBlock” from the Advanced Components menuYou can now edit and preview the new component.Using the Studio editor, you can edit the following fields:display nameimage URLthumbnail URL (defaults to image URL, if not specified)description (useful for screen readers, longer descriptions)alt text (useful for screen readers, captions, tags; displays when image does not)ParticipantsClick on the image to zoom in full-screen.Click on the image again to zoom out.Click and drag to pan around.View a demo of the CMSView a demo of the LMS
Package: openelections-metadata
# MetadataA Python library that provides a thin wrapper to the [OpenElections Metadata API](http://docs.openelections.net/metadata-api/), which contains information about elections and the nature and availability of results data. The [API provides JSON endpoints for individual states](http://blog.openelections.net/an-improved-metadata-api/) and Metadata provides a way to search for and filter elections within a state.Metadata has been tested under Python 2.7.X.## Installation` pip installopenelections-metadata`## UsageMetadata offers two classes,RequestandElection, for accessing the information in the API. You do not need an API key.### RequestTo make a request, you’ll need to specify the state you’re interested in and any or none of three optional parameters:start_date,end_dateandoffset. Metadata uses the two dates as a range; it will search for elections on or after thestart_dateand on or before theend_date. For example, to make a request for elections that occurred in Maryland in 2014, you would do the following:`python >>> import metadata >>> r =metadata.Request('MD','2014-01-01')`Requestobjects retain details about the parameters and also save the API url and the JSON response, if needed. Calling theparsemethod on theRequestobject creates individualElectionobjects, which have the same attributes as the API, with one addition - it has agenerated_filenameattribute that we use in the data processing pipeline.`python >>> elections = r.parse() >>> elections[0] <metadata.election.Election object at 0x103ffff10> >>>elections[0].start_dateu'2014-11-04'>>>elections[0].race_typeu'general' `## Running tests` python setup.py test `## IssuesTo report an bug or request a feature, please [create a new issue](https://github.com/openelections/metadata/issues) describing the situation, providing as much detail as possible. We welcome contributions: feel free to fork the code and submit pull requests.LicenseMetadata is released under the MIT License.
Package: openemr
OpenEMR api connector in pythoninstallpipinstallopenemrExample login to the api from your projectimportopenemrfromosimportgetenv# login to OpenEMR and pull in datatry:emrUsername=str(getenv('EMRUSER'))emrPassword=str(getenv('EMRPASS'))baseUrl=str(getenv('BASE_URL'))emr=openemr.Client(client_user=emrUsername,client_pass=emrPassword,url=str(baseUrl+"/apis/api"))patients=emr._patient_search()except:exit("failed to login to OpenEMR, check the ENV vars")Stability?It's really stable it has been running production for about a 6 months on version0.1.1I use it to send out SMS appointment reminders to clients.
Package: openenv
OpenEnvTrulyopen sourceenvironments for reinforcement learning. No more MuJoCo!Currently support these environments:Grid WorldMountain CarRandom WalkPuddle WorldCitationIf you publish work that uses OpenEnv, please cite this library.ContributionPlease followGoogle Python Style Guidefor the development of this library.development.mdLicenseCopyright 2020 Jianfeng Hou <frankderekdick@gmail.com>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Package: openeo
openEO Python ClientPython Client Library for theopenEO API.
Allows you to interact with openEO backends from your own (local) Python environment.openEO Python Client Library docsUsage exampleA simple example, to give a feel of using this library:importopeneo# Connect to openEO back-end.connection=openeo.connect("openeo.vito.be").authenticate_oidc()# Load data cube from TERRASCOPE_S2_NDVI_V2 collection.cube=connection.load_collection("TERRASCOPE_S2_NDVI_V2",spatial_extent={"west":5.05,"south":51.21,"east":5.1,"north":51.23},temporal_extent=["2022-05-01","2022-05-30"],bands=["NDVI_10M"],)# Rescale digital number to physical values and take temporal maximum.cube=cube.apply(lambdax:0.004*x-0.08).max_time()cube.download("ndvi-max.tiff")See theopenEO Python Client Library documentationfor more details,
examples and in-depth discussion.InstallationPython 3.7 or higher is required.
As always, it is recommended to work in some kind of virtual environment
(usingvenv,virtualenv, conda, docker, ...)
to install theopeneopackage and its dependencies:pip install openeoSee theinstallation docsfor more information, extras and alternatives.General openEO background and linksopenEO.orgapi.openEO.orgprocesses.openEO.orgContributions and fundingThe authors acknowledge the financial support for the development of this package
during the H2020 project "openEO" (Oct 2017 to Sept 2020) by the European Union, funded by call EO-2-2017: EO Big Data Shift, under grant number 776242.
We also acknowledge the financial support received from ESA for the project "openEO Platform" (Sept 2020 to Sept 2023).This package received major contributions from the following organizations:
Package: openeo-processes
openeo_processes is a Python representation of the openEO processes.The list supported here tries to be as complete as possible, but some processes (typically the ‘cube’ ones) are intrinsically connected to the back-end implementation and data model, and therefore are omitted here. Examples of missing processes are ‘load_collection’ or ‘merge_cubes’.Processes are currently aligned with openEO API version 1.0.InstallationAt the moment, this package is only installable from source.
So start with cloning the repository:git clone https://github.com/Open-EO/openeo-processes-python.git
cd openeo-processes-pythonIt is recommended to install this package in a virtual environment,
e.g. by usingvenv(from the Python standard library),virtualenv,
a conda environment, …
For example, to create anewvirtual environment usingvenv(in a folder called.venv) and to activate it:python3 -m venv .venv
source .venv/bin/activate(You might want to use a different bootstrap python executable
instead ofpython3in this example.)Install the package in the virtual environment,
preferably throughpipof your virtual environment:pip install .If you plan to do development on the package itself,
install it in “development” mode with:pip install -e .If plan to process xarray or dask arrays, you probably
have the corresponding libraries already installed in your virtual env,
andopeneo_processeswill handle them appropriately out of the box.
You can however also explicitly pull these libraries in as “extra” dependencies
when installingopeneo_processes.
For example with one of the following install commands:pip install .[dask]
pip install .[xarray]
pip install .[dask,xarray]Optionally run the tests:python setup.py testNoteThis project has been set up using PyScaffold 3.0.3. For details and usage
information on PyScaffold seehttp://pyscaffold.org/.
Package: openeo-processes-dask
OpenEO Processes Daskopeneo-processes-daskis a collection of Python implementations ofOpenEO processesbased on thexarray/daskecosystem. It is intended to be used alongside withopeneo-pg-parser-networkx, which handles the parsing and execution ofOpenEO process graphs. There you'll also find a tutorial on how to register process implementations from an arbitrary source (e.g. this repo) to the registry of available processes.InstallationInstall this project via pip:pip install openeo-processes-daskNote that by default this only installs the json process specs. In order to install the actual implementations, add theimplementationsextra:pip install openeo-processes-dask[implementations]A subset of process implementations with heavy or unstable dependencies are hidden behind these further build variants:openeo_processes_dask/process_implementations/ml:pip install openeo-processes-dask[ml]openeo_processes_dask/process_implementations/experimental:pip install openeo-processes-dask[experimental]Development environmentopeneo-processes-dask requires poetry >1.2, see theirdocsfor installation instructions.To setup the python venv and install this project into it run:poetry install --all-extrasTo add a new core dependency run:poetry add some_new_dependencyTo add a new development dependency run:poetry add some_new_dependency --group devTo run the test suite run:poetry run python -m pytestNote that you can also use the virtual environment that's generated by poetry as the kernel for the ipynb notebooks.Pre-commit hooksThis repo makes use ofpre-commithooks to enforce linting & a few sanity checks. In a fresh development setup, install the hooks usingpoetry run pre-commit install. These will then automatically be checked against your changes before making the commit.SpecsThe json specs for the individual processes are tracked as a git submodule inopeneo_processes_dask/specs/openeo-processes.
The raw json for a specific process can be imported usingfrom openeo_processes_dask.specs import reduce_dimension.To bump these specs to a later version use:git -C openeo_processes_dask/specs/openeo-processes checkout <tag>git add openeo_processes_dask/specs/openeo-processes
Package: openepda
openepdaAbout openEPDAopenEPDA™ is a collection of open standards to be used in electronic-photonic
design automation. These include definition of data interchange formats to
facilitate Foundry PDK distribution and easier simulation and measurement
data exchange between the parties involved in the PIC design chain.
Specification of the formats and the roadmap are available athttp://openepda.org/.openepda package includes python-definitions of these standards,
reader/writers for the files, and other useful tooling.InstallationFrom pypiInstall the package from pypi:$ pip install openepdaDocumentationFull API documentation is available athttps://openepda.org/pypi_package/api.html.ChangesSeechanges.For developersSeedeveloper_guide.AuthorsSeeauthors.LicenseopenEPDA is a trademark of TU/e and PITC. openEPDA is maintained by TU/e and
PITC. Authors and copyright for specific standards are provided on the
corresponding pages onhttps://openepda.org/.
Package: open-ephys-audio
# open-ephys-audioThis project contains scripts and python libraries used by the Meliza Lab to run
auditory neurophysiology experiments on the
[open-ephys](https://open-ephys.org/) GUI.Stimuli are read from sound files (e.g. wave format) with 1 or 2 channels and played through a sound card. If the stimuli are monaural, a synchronization click can be added to the second channel at the start of each stimulus. Before starting playback, the script notifies open-ephys over its ZMQ channel to begin recording, and tells it to stop after playback has ended. A single long recording is generated, but can be split up later based on the synchronization click.## InstallationThe recommended way to install open-ephys-audio is using [pipx](https://pypa.github.io/pipx/), which will create a dedicated virtual environment for the script and expose theoeaudio-presentcommand on your path. Runpipx install open-ephys-audioand you should be good to go.## Example` shelloeaudio-present--buffer-size=100-atcp://localhost:5556-d/home/melizalab/open-ephys/-kanimal=P168-kexperimenter=smm3rc-kexperiment=chorus-khemisphere=R-kpen=2-ksite=2-kx=-1175-ky=-861-kz=-2400-S1022stimuli/msyn-noise-v2/*.wav`This command will play all the wave files in thestimuli/msyn-noise-v2directory. All of the-karguments will be stored in the open-ephys recording as metadata. If you don’t want to record (e.g., while searching for units), you can run something like this:` shelloeaudio-present--loop--gap5../songs/*.wav`
Package: opener
OpenerOpener is a puzzle solver Python package. Currently it solves theOpen the lockpuzzle.
The package can be found in thePython Package Index (PyPI).This package can be used on Linux/Unix, Mac OS and Windows systems.FeaturesGet keys forOpen the lockpuzzle.InstallationYou can install theopenerfromPyPI:pipinstallopenerTheopeneris supported on Python 2.7, as well as Python 3.4 and above.How to useExample 1The above figure outlines a three digitsOpen the Lockpuzzle. A valid unlock key of the above puzzle is:679example_1.pyshows how to useopenerpackage to solve the above puzzle.Solution of the aboveOpen the lockpuzzle:fromopenerimportget_keysnumber_of_positions=3invalid_digits=(5,2,3)similarity_conditions=(([9,6,4],2),([2,8,6],1),([1,4,7],1),([1,8,9],1))invalid_positioned_values=((9,1),(6,8,4),(4,6,7))valid_positioned_values=((1,),(8,),(9,))unlock_keys=get_keys(number_of_positions,similarity_conditions,invalid_digits,invalid_positioned_values,valid_positioned_values)forkeyinunlock_keys:print(key)# 679Example 2The above figure outlines anotherOpen the Lockpuzzle with four digits combination. A valid unlock key of the above puzzle is:9876example_2.pyshows how to useopenerpackage to solve the above puzzle.Solution of the aboveOpen the lockpuzzle:fromopenerimportget_keysnumber_of_positions=4invalid_digits=(5,1,2,4)similarity_conditions=(([3,5,4,8],1),([4,6,7,1],2),([3,7,8,1],2),([8,3,9,7],3),([2,9,3,4],1),([5,1,3,6],1),)invalid_positioned_values=((3,8,2),(5,7,3,9),(4,8,9,3),(8,1,7,4))valid_positioned_values=((5,),(1,),(3,),(6,))unlock_keys=get_keys(number_of_positions,similarity_conditions,invalid_digits,invalid_positioned_values,valid_positioned_values)forkeyinunlock_keys:print(key)# 9876AuthorsMaintainer:Ahmedur Rahman ShovonPlease see thelist of contributorsto find the contributors of this project.ContributeContributions are welcome from the community. Questions can be asked on theissues page. Before creating a new issue, please take a moment to search
and make sure a similar issue does not already exist. If one does exist, you
can comment (most simply even with just a:+1:) to show your support for that
issue.If you have direct contributions you would like considered for incorporation
into the project you canfork this repositoryandsubmit a pull requestfor review.Please read thedevelopment guidelinebefore contribution.Changelog0.0.3 (2020-10-03)Added four digits open the lock exampleUpdated testsUpdated readmeSeparated development guidelineAdded pylint and flake80.0.2 (2020-10-02)Release to PyPI0.0.1 (2020-10-01)Initial release
Package: openergy
# openergyClient api to interact with openergy platform## Suggested conda env<pre>openpyxl>=2.4.7,<3.0.0requests>=2.14.2,<3.0.0nose>=1.3.7,<2.0.0pandas>=0.20.1,<0.21.0pytables>=3.2.0,<4.0</pre>## Url endpoints philosophyMainly inspired by [rest_framework simple router actions](http://www.django-rest-framework.org/api-guide/routers/#simplerouter).## Examples<pre>from openergy import set_client, select_seriesclient = set_client("login", "password", "host")</pre>### select series<pre># returns a pandas Series objectse = select_series("993e2f73-20ef-4f60-8e06-d81d6cefbc9a")</pre>### create local database<pre>from openergy import LocalDatabasedb = LocalDatabase(db_dir_path)# download one series# (local_se is not a pandas series but a local database series object)local_se = db.get_local_series("my_project","analysis",  # importer, cleaner or analysis"my_analysis","se1")local_se.download()# se1 is a pandas seriesse1 = local_se.data# download multiple seriesdb.download_all_series(my_project,generator_model=analysis,  # importer, cleaner or analysisgenerator_name=my_analysis)# 1. local se1 will be deleted and downloaded again# 2. all project will be downloaded if no generator has been specified# work with seriesse1 = db.get_local_series("my_project","analysis","my_analysis","se1").data</pre>
Package: openerp-account
Financial and accounting module that covers:General AccountingCost/Analytic accountingThird party accountingTaxes managementBudgetsCustomer and Supplier InvoicesBank statementsReconciliation process by partnerCreates a dashboard for accountants that includes:List of Customer Invoice to ApproveCompany AnalysisGraph of TreasuryThe processes like maintaining of general ledger is done through the defined financial Journals (entry move line orgrouping is maintained through journal)
for a particular financial year and for preparation of vouchers there is a module named account_voucher.