Saravanan666/pypi-org huggingface dataset:
Package: testJvis-learn
Emerging single-cell genomics technologies profile multiple types of molecules
within a single cell. A fundamental step in the analysis of the produced high
dimensional data is their visualization using dimensionality reduction techniques
such as t-SNE and UMAP. We developed Jvis, a dimensionality reduction framework
that naturally generalizes t-SNE and UMAP to the joint visualization of
multimodal omics data. Our approach  automatically learns a weighting of individual
modalities from the data that promotes discriminative features but suppresses
random noise. On 8 single-cell multimodal data sets across 5 different technologies,
Jvis produced a unified embedding that better agrees with known cell states and RNA
and protein velocity landscapes compared to unimodal representations.The details for the underlying mathematics can be found in
insert link here.Van Hoan Do, Stefan Canzar, A generalization of tSNE and UMAP to single cell multimodal
data, xxx.InstallingRequirements:Python 3.6 or greaternumpyscipyscikit-learnnumbaInstall OptionsPyPI install, presuming you have numba and sklearn and all its requirements
(numpy and scipy) installed:pipinstalltestJvis-learnIf you have a problem with pip installation then we’d suggest installing
the dependencies manually using anaconda followed by pulling umap from pip:condainstallnumpyscipycondainstallscikit-learncondainstallnumbapipinstalltestJvis-learnHow to use JvisThe Jvis package inherits from sklearn TSNE, and UMAP. Therefore, all parameters of
tSNE and UMAP are naturally extended for Jvis.An example of making use of these options:fromJvisimportJUMAP,JTSNEimportnumpyasnp# Create a toy example from a random distribution (n_cells = 500)rna_rand=np.random.rand(500,100)adt_rand=np.random.rand(500,15)data={'rna':rna_rand,'adt':adt_rand}# create a dictionary of modalities.# Run joint TSNE of the two "random" modalities.embedding_jtsne=JTSNE(n_components=2).fit_transform(data)# Run joint UMAP of the two "random" modalities.embedding_jumap=JUMAP(n_neighbors=20,min_dist=0.3,metric='correlation').fit_transform(data)For more realistic examples and Python scripts to reproduce the results
in our paper are available at GitHub: xxxTunning parameters of t-SNE and UMAP can be found here:https://scikit-learn.org/stable/modules/generated/sklearn.manifold.TSNE.htmlhttps://umap-learn.readthedocs.io/en/latest/api.htmlLicenseThe JVis package is 3-clause BSD licensed.Note that the Jvis package is inherited from scikit-learn and UMAP
package under 3-clause BSD license.
Package: testkerrsidnetfusion
FusionSolarPython client for Huawey FusionSolar APIExample usagefromfusionsolarimportClient,PandasClientimportpandasaspddate=pd.Timestamp('20200402',tz='Europe/Brussels')withPandasClient(user_name=user,system_code=password)asclient:sl=client.get_station_list()station_code=sl['data'][0]['stationCode']df=client.get_kpi_day(station_code=station_code,date=date)print(df)
Package: testkit
This is a simple collection of test tools that have been developed out of need
for some projects. However, some of these tools needed to be duplicated so I
decided to consolidate them in this library.FeaturesProvides a way to use context managers in setup/teardown of a testProvides a context manager for temporary directoriesProvides a way to create shunts via fudgeTODOAdd docsDevelopingInstall virtstrap via pip. Please install this system wide:$ pip install virtstrapThen cd to the project’s root directory and do the following:$ vstrap initYou can then activate the virtualenv:$ . quickactivate
Package: testkraut
Note: testkraut is still in its infancy – some of what is written here
could still be an anticipation of the near future.This is a framework for software testing. That being said, testkraut tries to
minimize the overlap with the scopes of unit testing, regression testing, and
continuous integration testing. Instead, it aims to complement these kinds of
testing, and is able to re-use them, or can be integrated with them.In a nutshell testkraut helps to facilitate statistical analysis of test
results. In particular, it focuses on two main scenarios:Comparing results of a single (test) implementation across different
or changing computational environments (think: different operating systems,
different hardware, or the same machine before an after a software upgrade).Comparing results of different (test) implementations generating similar
output from identical input (think: performance of various signal detection
algorithms).While such things can be done using other available tools as well, testkraut
aims to provide a lightweight (hence portable), yet comprehensive description
of a test run. Such a description allows for decoupling test result generation
and analysis – opening up the opportunity to “crowd-source” software testing
efforts, and aggregate results beyond the scope of a single project, lab,
company, or site.Bug tracker|Build status|Documentation|Downloads|PyPi
Package: testlap
What?A small and simple framework to measure and compare the execution speed of
different methods in a class.Example#!/usr/bin/pythonfromtestlapimportTestLapfromrandomimportrandintclassConditional_vs_Exception():'''
    Compare if then against try: except.
    '''def__init__(self):passdeftest_1_if_then_else(self):'''Evaluate a value using if then else.'''number=randint(0,1)ifnumber==1:passelse:passdeftest_2_try_except(self):'''Evaluate a value using try: except.'''number=randint(0,1)try:number==1except:passelse:passif__name__=='__main__':test_lap=TestLap(instance=Conditional_vs_Exception(),iterations=10000000)test_lap.go()Running test_1_if_then_else
OK
Running test_2_try_except
OK
3.6.0 (default, Feb 12 2017, 22:33:51)
[GCC 6.3.1 20161221 (Red Hat 6.3.1-1)]
Linux-4.9.10-100.fc24.x86_64-x86_64-with-fedora-24-Twenty_Four

    Compare if then against try: except.

+---------------------+--------------------------------------+--------+---------+--------------+
| Function            | Description                          | Result | Seconds | Iterations/s |
+---------------------+--------------------------------------+--------+---------+--------------+
| test_1_if_then_else | Evaluate a value using if then else. | OK     |  13.586 |   736049.706 |
| test_2_try_except   | Evaluate a value using try: except.  | OK     |  13.898 |   719536.763 |
+---------------------+--------------------------------------+--------+---------+--------------+
Package: test-lasa
Novigi Custom Airflow OperatorsThis Repo contains custom airflow operators which were writen by Novigi Pty LtdVersion No - 1.0Bitbucket Link -https://Prasadi1994@bitbucket.org/novigi/novigi_operators.gitHow do I get set up?Summary of set upConfigurationDependenciesDatabase configurationHow to run testsDeployment instructionsContribution guidelinesWriting testsCode reviewOther guidelinesWho do I talk to?Repo owner or adminOther community or team contact
Package: testlib
This is my own hacky micro test harness for Python unittests. It is currentlyin use in a number of projects with large test cases. You might want to checkout"nose" or "unittest2" first. :) Some features include:- small, you can just put this one file in your "test" dir- no external dependencies other than the stdlib- tagging of individual and groups of tests to allow easily running testsubsets (can be very helpful in huge doc sets)- support for "TestSkipped" as a return from a test (TODO: has modernunittest.py added this now?). This is helpful for tests of platform-dependentor optional features.# UsageA typical Python project setup (at least for me) is:foo/                # project fooREADME.mdsetup.pylib/foo.py      # the main code of the projecttest/testlib.py  # the testlib.py from *this project*test.py     # a small stub drivertest_foo.py # an actual test file with TestCase'stest_bar.py # another test fileMinimally the "test.py" driver is:import sys, osimport testlib# Put the 'lib' dir on sys.path.sys.path.insert(0, join(dirname(dirname(abspath(__file__))), "lib"))sys.exit(testlib.harness())Then you run:cd testpython test.pyThe test harness will find all TestCase classes in all "test_*.py" files andrun them. Tagging support allows you to run subsets of the full test suite:python test.py foo      # Just run tests in "test_foo.py"python test.py bar      # ... just in "test_bar.py"If "test_bar.py" looked something like this:import unittestfrom testlib import tagclass BlahTestCase(unittest.TestCase):@tag("question")def test_whozit(self):...@tag("question")def test_whatzit(self):...def test_thatzit(self):...The then following would be possible:python test.py blah         # run all tests in `BlahTestCase`python test.py question     # run all tests tagged "question"python test.py -- -question # run all test *except* those tagged "question"python test.py whozit       # run just `BlahTestCase.test_whozit`See "Naming and Tagging" below for more details.# Example OutputTODO# Naming and TaggingTODO# Gathering from Multiple Test DirectoriesTODO# Real-world examples- [openkomodo](http://svn.openkomodo.com/openkomodo/view/openkomodo/trunk/test/test.py): the code for Komodo IDE and Edit- [python-markdown2](http://code.google.com/p/python-markdown2/source/browse/#svn/trunk/test)
Package: testlink-api
TestLink-API-Python-client is a Python XML-RPC client forTestLink.Initially based on James Stock testlink-api-python-client R7 and  Olivier
RenaultJinFengidea - an interaction ofTestLink,Robot FrameworkandJenkins.TestLink-API-Python-client delivers two main classesTestlinkAPIGeneric - Implements the TestLink API methods as generic PY methods
with error handlingTestlinkAPIClient - Inherits from TestlinkAPIGeneric and defines service
methods like “copyTCnewVersion”.and the helper classTestLinkHelper - search connection parameter from environment variables and
command line argumentsHow to talk with TestLink in a python shell and copy a test case:set TESTLINK_API_PYTHON_SERVER_URL=http://[YOURSERVER]/testlink/lib/api/xmlrpc/v1/xmlrpc.php
set TESTLINK_API_PYTHON_DEVKEY=[Users devKey generated by TestLink]
python
>>> import testlink
>>> tls = testlink.TestLinkHelper().connect(testlink.TestlinkAPIClient)
>>> tls.countProjects()
3
>>> tc_info = tls.getTestCase(None, testcaseexternalid='NPROAPI-3')
[{'full_tc_external_id': 'NPROAPI-3', ..., 'id': '5440',  'version': '2',
  'testsuite_id': '5415', 'tc_external_id': '3','testcase_id': '5425', ...}]
>>> tls.copyTCnewTestCase(tc_info[0]['testcase_id'], testsuiteid=newSuiteID,
                                         testcasename='a new test case name')
>>> print tls.whatArgs('createTestPlan')
createTestPlan(<testplanname>, <testprojectname>, [note=<note>], [active=<active>],
               [public=<public>], [devKey=<devKey>])
  create a test planMore information about this library can be found on theWiki
Package: testlinkconsole
testlinkconsole===============[![Build Status](https://travis-ci.org/chbrun/testlinkconsole.svg?branch=master)](https://travis-ci.org/chbrun/testlinkconsole)[![Coverage Status](https://coveralls.io/repos/chbrun/testlinkconsole/badge.png?branch=master)](https://coveralls.io/r/chbrun/testlinkconsole?branch=master)Testlink console run script test with behat.Installation============## github* Clonning repo* change settings in testlinkclient.cfg : serverUrl and serverKey (serverKey is in testlink)* Add custom variable in testlink :* scriptBehat : type string. It contains path to testcase file.* Browsers : type checkbox : Browser to use for testcase## package pypiTo install testlinkconsole with pip, simply :```bashpip install testlinkconsole```Usage=====* start console with```bashtestlinkconsole```* Configure testlink access :```bashconfigset serverUrl http://[monserver]/set serverKey [APIKey]```>APIKey is on the project page in testlink* you must setting a project id```bashlist projectsset projectid [num of project]```* then set a testplan```list testplansset testplanid [num of testplan]```* Finally run test plan```bashrun```>You must have behat and selenium installed et run selenium with```bashjava -jar Selenium-[version].jar```Console command===============* help   : commands help* save   : save config (testlinkclient.dfg)* list   : list projects, testplans, testcases, ...* Rmq : list testplans is only available when projectid is valued* config : affiche les variables de la console* set    : set variable (projectid, testplanid, ...)* Ex : set projectid 1* get  : get value of variable* run  : run test plan> Note that the console will automatically reload the cfg file at startup, which avoids upgrade variables for each useTODO====- [ ] cmd run : run one test- [ ] add variable UserAgent- [X] plugins system- [ ] report system- [ ] Storage system- [ ] : testlink storage : 50%- [ ] : local storage- [ ] runner plugins- [X] : Behat- [ ] : Behave
Package: testlinktests
BranchTravisCIAppveyorCircleCi - DockerCodeClimatemasterPython tested versions3.63.53.43.33.22.7SupportedSupportedSupportedNot SupportedNot SupportedSupportedPrerequisitesPrerequisites :TODO: make senseHow to install ?Install from PIP :pip install testlinktestsInstall from setup.py file :python setup.py installHow to exec tests ?Tests from setup.py file :python setup.py testInstall from PIP file :pip install toxTests from tox :tox-l&& tox-eTOX_ENV_NAME(see tox.ini file to get environment names)TOX Env nameEnv descriptionpy27,py34,py35,py36Python supported versionsflake8Exec linter in qalab/ tests/coverageGenerate XML and HTML reportsdocsGenerate doc HTML in /docsConfiguration File{
  "connection":{
    "is_https": false,
    "host": "qalab.tk",
    "port": 86
  },
  "dev_key": "1bfd2ef4ceda22b482b12f2b25457495",
  "log_level":"DEBUG",
}Getting StartedJust starting example of usage before readUsage Guide.
Package: testlinkwrapper
testlinkwrapperWrapper for test tool Testlinksample usagefromtestlinkwrapperimportTestLinkWrapperTESTLINK_URL='http://xxx'TESTLINK_DEVKEY='xxx'tlw=TestLinkWrapper(TESTLINK_URL,TESTLINK_DEVKEY)forprojectintlw.projects:print(project.name)TESTLINK_URL and TESTLINK_DEVKEY as environment variables:tlw=TestLinkWrapper()forprojectintlw.projects:print(project.name)
Package: testlobby
SetupVideo tutorial:https://youtu.be/HoPHUgkQNYYGo tohttps://www.fortnite.comand create another fortnite account for the bot to use.Go tohttps://lobbybots.ga/authcode/and copy the authorizationCode then paste it into the console when it asks you to(when going on the website make sure your logged in to the account you just made DON'T USE YOUR MAIN!).[OPTIONAL] You can configure some parts for the bot in the config.json file.How to configure your bot[MEANINGS]
This is how your config.json file shuld look (by default).{"skin":"auto","backpack":"auto","pickaxe":"auto","emote":"auto","level":"auto","auto_update":true,"accept_friend_requests":true,"accept_invites":true,"join_message":"Hey {member.display_name}! Want to get you own free bot? Join my discord server: https://discord.gg/73t72uNYFp Instagram: luka2235.bots  TikTok: luka2235.bots !help to use the bot."}"skin" the default skin the bot will put on when someone joins the bots party or when the bot gets invited to a party."backpack" the default backpack the bot will put on when someone joins the bots party or when the bot gets invited to a party."pickaxe" the default pickaxe the bot will put on when someone joins the bots party or when the bot gets invited to a party."emote" the default emote the bot will emote when someone joins the bots party or when the bot gets invited to a party."level" the default level the bot will set when someone joins the bots party or when the bot gets invited to a party."auto_update" if the bot should automaticly update to the newest version (true is recommended)."accept_friend_requests" should the bot accept friend requests."accept_invites" should the bot accept party invites."join_message" the message the bot sends to the party chat when a member joins.[HOW TO CONFIGURE THE BOT]To change the default skin go tohttps://package.lobbybots.ga/skinsand copy the id of the skin you want your bot to be then just change the ids(the text in the quotation marks).To change the default backpack go tohttps://package.lobbybots.ga/backpacksand copy the id of the backpack you want your bot to have then just change the ids(the text in the quotation marks).To change the default pickaxe go tohttps://package.lobbybots.ga/pickaxesand copy the id of the pickaxe you want your bot to have then just change the ids(the text in the quotation marks).To change the default emote go tohttps://package.lobbybots.ga/emotesand copy the id of the emote you want your bot to emote then just change the ids(the text in the quotation marks).To change the default level just change the number to what you want the bots level to be.We recommend to leave this set to true so that you don't have to worry about updateing. Some updates add commands so you want to keep it to true. If you want to turn it off just replace true with false.To stop the bot from adding every friend just replace true with false.To stop the bot from accepting every party invite just replace true with false.If you want to add your own join message remove the text in the quotation marks and replace it with whatever you would like. Note: You can use {member.display_name} to get the users display name.
Package: testlodge
DescriptionPython client library for interacting with TestLodge.Installationpip install testlodgeUsageDocumentationimportosfromtestlodgeimportClienttl=Client(email='my.email@email.com',api_key=os.environ['TESTLODGE_API_KEY'],account_id=os.environ['TESTLODGE_ACCOUNT_ID'],)Usersfromtestlodge.typingimportUserJSONfromtestlodge.typingimportUserListJSONuser_json:UserJSON=dict(id=123456,firstname='First',lastname='Last',email='user@email.com',created_at="2022-01-01T20:30:40.123456Z",updated_at="2022-05-16T01:08:41.493190Z",)# Get a list of users (Default: page 1)user_list_json:UserListJSON=tl.list_user_json()Projectsfromtestlodge.typingimportProjectJSONfromtestlodge.typingimportProjectListJSON# Get a list of projects (Default: page 1)project_list_json:ProjectListJSON=tl.list_project_json()# Get a projectproject_list_json:ProjectJSON=tl.show_project_json(project_id=123)Custom Fieldsfromtestlodge.typingimportCustomFieldListJSON# Get a list of custom fields for a projectcustom_field_list_json:CustomFieldListJSON=tl.list_custom_field_json(project_id=123)
Package: testlog
CompatibL Test Log LibraryOverviewLightweight support for regression testing with version control of
test baselines separately from the test itself.Quick Start GuideInstall using:pipinstalltestlogLicensingThe code in this project is licensed under Apache 2.0 license.
SeeLICENSEfor more information.CopyrightEach individual contributor holds copyright over their contributions to the
project. The project versioning is the sole means of recording all such
contributions and copyright details. Specifying corporate affiliation or
work email along with the commit shall have no bearing on copyright ownership
and does not constitute copyright assignment to the employer. Submitting a
contribution to this project constitutes your acceptance of these terms.Because individual contributions are often changes to the existing code,
copyright notices in project files must specify The Project Contributors and
never an individual copyright holder.
Package: testloop
TestloopA nimble testing toolUsage$pythontestloop.py[WedNov3020:34:502022]Running:python/home/jskulski/Code/jskulski/testloop/testloop.pytest.

testloop:cwd=/home/jskulski/Code/jskulski/testloop
testloop:runningtest_command=`pytest-v--pdb--pdbcls=IPython.terminal.debugger:TerminalPdb-stests/`=======================================testsessionstarts=======================================platformlinux--Python3.11.0,pytest-7.2.0,pluggy-1.0.0
rootdir:/home/jskulski/Code/jskulski/ballooning
plugins:cov-2.12.1,asyncio-0.20.2,syrupy-3.0.5,time-machine-2.8.2,anyio-3.6.2,aiohttp-1.0.4
asyncio:mode=Mode.STRICT
collected9items/2deselected/7selected

tests/test_initial_design_sprint.pys......[100%]-------------------------------------snapshotreportsummary-------------------------------------===========================6passed,1skipped,2deselectedin0.04s============================testloop.py: reads itself for configuration, builds a pytest command
and runs it when files changeRunningpython testloop.pystarts a filewatcher that runs pytestWhen a file changes:testloopreads itself for pytest optionsbuilds a pytest command from those optionsruns that pytest command and reports resultstestloop.pycontains option dictionaries:You can comment/uncomment/modify these options to trigger a new test run. Changing your source code will also trigger a new run.pytest_opts=dict(# match='-k test_logs_when_both_repo_and_failsafe_fail_to_persist',# last_failed="--lf",dbg="--pdb --pdbcls=IPython.terminal.debugger:TerminalPdb",use_settrace="-s",# coverage="--cov=lib/history --cov-report term",)Note, the initial run of testloop will install dependencies at runtime.DesignTestloop is a nimble developement testing tool.Nimble development tools are designed to be:"Good enough" development tools available across the containerized divide.at-hand, easy to install, even on the most alpine of docker containerssimple in functioncomplex in featuresself contained configuration, effectively statelessself-installing dependencies allow for an unfolding feature setChangelogv 0.1.0create readme, package and publishtestloop in a working state (read self for config, watches files, runs pytest)add a test for testloopv 0.1.1adding CLI script, pre-commitsupdating pypi pageCurrentv 0.1.5testloop executable scripthow do we handle configuration if we install via pip?fix PATHINGFuturev 0.2.0handle project environments venv activation (setup step?)direct skul.ski to a hosting service, update install docsystem binarytestloopif installed via pipcli options to turn on/off dependenciesadd pudb option, build configurations as objecttui / gui / editor integrationscreate system-wide venv for dependencies OR consider rewriting as an executable + config
Package: testlucuma
A sample project that exists as an aid to thePython Packaging User Guide’sTutorial on Packaging and Distributing
Projects.This projects does not aim to cover best practices for Python project
development as a whole. For example, it does not provide guidance or tool
recommendations for version control, documentation, or testing.The source for this project is available here.Most of the configuration for a Python project is done in thesetup.pyfile, an example of which is included in this project. You should edit this
file accordingly to adapt this sample project to your needs.This is the README file for the project.The file should use UTF-8 encoding and be written usingreStructuredText. It
will be used to generate the project webpage on PyPI and will be displayed as
the project homepage on common code-hosting services, and should be written for
that purpose.Typical contents for this file would include an overview of the project, basic
usage examples, etc. Generally, including the project changelog in here is not
a good idea, although a simple “What’s New” section for the most recent version
may be appropriate.