Saravanan666/pypi-org huggingface dataset:
Package: volcengine-bioos-python
Volcengine SDK for PythonTable of ContentsRequirementsInstallUsageFAQRequirementsPython版本需要不低于2.7。InstallInstall via pippipinstallvolcengine-python-sdkInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Basic Usagefrom__future__importprint_functionimportvolcenginesdkecsimportvolcenginesdkcorefrompprintimportpprintfromvolcenginesdkcore.restimportApiExceptionif__name__=='__main__':configuration=volcenginesdkcore.Configuration()configuration.ak="Your AK"configuration.sk="Your SK"configuration.region="cn-beijing"configuration.client_side_validation=True# set default configurationvolcenginesdkcore.Configuration.set_default(configuration)# use global default configurationapi_instance=volcenginesdkecs.ECSApi()# use custom configuration# api_instance = volcenginesdkecs.ECSApi(volcenginesdkcore.ApiClient(configuration))try:resp=api_instance.run_instances(volcenginesdkecs.RunInstancesRequest(instance_name="insname",instance_type="ecs.g1.large",zone_id="cn-beijing-a",network_interfaces=[volcenginesdkecs.NetworkInterfaceForRunInstancesInput(subnet_id="subnet-2d68bh73d858ozfekrm8fj",security_group_ids=["sg-2b3dq7v0ha0w2dx0eg0nhljv"],)],image_id="image-ybvz29l3da4ox5h0m9",volumes=[volcenginesdkecs.VolumeForRunInstancesInput(volume_type="ESSD",size=40,)],key_pair_name="vtable",instance_charge_type="PostPaid"))pprint(resp)exceptApiExceptionase:print("Exception when calling ECSApi->run_instances:%s\n"%e)Configuration Usage步骤一：启动时初始化，配置 Configuration 全局默认参数configuration=volcenginesdkcore.Configuration()configuration.client_side_validation=True# 客户端是否进行参数校验configuration.schema="http"# https or httpconfiguration.debug=False# 是否开启调试configuration.logger_file="sdk.log"volcenginesdkcore.Configuration.set_default(configuration)步骤二：获取 Clientdefget_client(ak,sk,region):# 包含默认属性configuration=volcenginesdkcore.Configuration()configuration.ak=akconfiguration.sk=skconfiguration.region=regionclient=volcenginesdkautoscaling.AUTOSCALINGApi(volcenginesdkcore.ApiClient(configuration))returnclientFAQ关于 SDK 使用时碰到的常见问题，请查看FAQ
Package: volcengine-bioos-test-python
Volcengine SDK for PythonTable of ContentsRequirementsInstallUsageFAQRequirementsPython版本需要不低于2.7。InstallInstall via pippipinstallvolcengine-python-sdkInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Basic Usagefrom__future__importprint_functionimportvolcenginesdkecsimportvolcenginesdkcorefrompprintimportpprintfromvolcenginesdkcore.restimportApiExceptionif__name__=='__main__':configuration=volcenginesdkcore.Configuration()configuration.ak="Your AK"configuration.sk="Your SK"configuration.region="cn-beijing"configuration.client_side_validation=True# set default configurationvolcenginesdkcore.Configuration.set_default(configuration)# use global default configurationapi_instance=volcenginesdkecs.ECSApi()# use custom configuration# api_instance = volcenginesdkecs.ECSApi(volcenginesdkcore.ApiClient(configuration))try:resp=api_instance.run_instances(volcenginesdkecs.RunInstancesRequest(instance_name="insname",instance_type="ecs.g1.large",zone_id="cn-beijing-a",network_interfaces=[volcenginesdkecs.NetworkInterfaceForRunInstancesInput(subnet_id="subnet-2d68bh73d858ozfekrm8fj",security_group_ids=["sg-2b3dq7v0ha0w2dx0eg0nhljv"],)],image_id="image-ybvz29l3da4ox5h0m9",volumes=[volcenginesdkecs.VolumeForRunInstancesInput(volume_type="ESSD",size=40,)],key_pair_name="vtable",instance_charge_type="PostPaid"))pprint(resp)exceptApiExceptionase:print("Exception when calling ECSApi->run_instances:%s\n"%e)Configuration Usage步骤一：启动时初始化，配置 Configuration 全局默认参数configuration=volcenginesdkcore.Configuration()configuration.client_side_validation=True# 客户端是否进行参数校验configuration.schema="http"# https or httpconfiguration.debug=False# 是否开启调试configuration.logger_file="sdk.log"volcenginesdkcore.Configuration.set_default(configuration)步骤二：获取 Clientdefget_client(ak,sk,region):# 包含默认属性configuration=volcenginesdkcore.Configuration()configuration.ak=akconfiguration.sk=skconfiguration.region=regionclient=volcenginesdkautoscaling.AUTOSCALINGApi(volcenginesdkcore.ApiClient(configuration))returnclientFAQ关于 SDK 使用时碰到的常见问题，请查看FAQ
Package: volder
volderEste é um pacote usado para converssão de volume de derivados de petróleoEste pacote tem um proposito academico, assim não deve ser usados para converssões reaisInstalaçãoExecute o seguinte para instlar:pipinstallvolderUsofromvolderimportDerConverterder_conv=DerConverter()dens20=der_conv.dens20(temp_amostra=32.3,dens_amostra=0.8234)DesenvolvimentoPara instalar volconv junto com as ferramentas para desenvolver e realizar testes,
use o seguinte comando:pipinstall-e.[dev]
Package: volga
volga: flexible object deserializationWhat is it?volgaprovides fast, extensible, and expressive APIs
to deserialize any python data structure from any supported data format
(such as JSON andeventuallyYAML and more). Volga allows full customization of the deserialization
behavior of your data structures resulting in schema-tized, validated, type-checked
objects.importvolga# Define your modelclassUser(volga.Schema):name:volga.fields.Strage:volga.fields.Intverified:volga.fields.Booljson_data='{"name":"bob","age":20,"verified":true}'bob=volga.json.deserialize(json_data,User)assertisinstance(bob,User)print(bob)# prints object User(name='bob', age=20, verified=True)Main FeaturesDocumentationFull documentation will soon be available onhttps://volga.readthedocs.io/en/latest/Where to get itThe source code is currently hosted on GitHub at:https://github.com/yefrig/volgaBinary installers for the latest released version are available at thePython
package index.pipinstallvolgaMain ContributorsYefri Gaitan@yefrigEcenaz (Jen) Ozmen@eozmen410
Package: volha-reader
Real Python Feed ReaderThe Real Python Feed Reader is a basicweb feedreader that can download the latest Real Python tutorials from theReal Python feed.For more information see the tutorialHow to Publish an Open-Source Python Package to PyPIon Real Python.InstallationYou can install the Real Python Feed Reader fromPyPI:python -m pip install realpython-readerThe reader is supported on Python 3.7 and above. Older versions of Python, including Python 2.7, are supported by version 1.0.0 of the reader.How to useThe Real Python Feed Reader is a command line application, namedrealpython. To see a list of thelatest Real Python tutorials, call the program without any arguments:$ realpython
The latest tutorials from Real Python (https://realpython.com/)
 0 How to Publish an Open-Source Python Package to PyPI
 1 Python "while" Loops (Indefinite Iteration)
 2 Writing Comments in Python (Guide)
 3 Setting Up Python for Machine Learning on Windows
 4 Python Community Interview With Michael Kennedy
 5 Practical Text Classification With Python and Keras
 6 Getting Started With Testing in Python
 7 Python, Boto3, and AWS S3: Demystified
 8 Python's range() Function (Guide)
 9 Python Community Interview With Mike Grouchy
10 How to Round Numbers in Python
11 Building and Documenting Python REST APIs With Flask and Connexion â€“ Part 2
12 Splitting, Concatenating, and Joining Strings in Python
13 Image Segmentation Using Color Spaces in OpenCV + Python
14 Python Community Interview With Mahdi Yusuf
15 Absolute vs Relative Imports in Python
16 Top 10 Must-Watch PyCon Talks
17 Logging in Python
18 The Best Python Books
19 Conditional Statements in PythonTo read one particular tutorial, call the program with the numerical ID of the tutorial as a parameter:$ realpython 0
# How to Publish an Open-Source Python Package to PyPI

Python is famous for coming with batteries included. Sophisticated
capabilities are available in the standard library. You can find modules for
working with sockets, parsing CSV, JSON, and XML files, and working with
files and file paths.

However great the packages included with Python are, there are many
fantastic projects available outside the standard library. These are most
often hosted at the Python Packaging Index (PyPI), historically known as the
Cheese Shop. At PyPI, you can find everything from Hello World to advanced
deep learning libraries.

[... The full text of the article ...]You can also call the Real Python Feed Reader in your own Python code, by importing from thereaderpackage:>>> from reader import feed
>>> feed.get_titles()
['How to Publish an Open-Source Python Package to PyPI', ...]
Package: voliboli-pdf-scraper
Voliboli PDF ScraperMain repository for scraping data of off installed statistics that are in PDF format. Data is stored in a Postgres database with the help of Flask server and GraphQL protocol.TestsYou can run test from the root of this repository using:pipenv run python tests/test_main.pyDistributeTo generate the distribution archives, run:python3 -m pip install --upgrade build
python3 -m buildYou can then install this package locally from any other project using:pip install -e /path/to/rootwhererootis the top-level directory of this project.New ReleaseTo deploy a new version you can use the following commands:twine upload --skip-existing dist/*
Package: voliboli-sgqlc-types
Voliboli SGQLC TypesDistributeTo generate the distribution archives, run:python3 -m pip install --upgrade build
python3 -m buildYou can then install this package locally from any other project using:pip install -e </path/to/root>whererootis the top-level directory of this project.New ReleaseTo deploy a new version you can use the following commands:twine upload --skip-existing dist/*
Package: volkanic
volkanicInterface with config files and shell prompts easily and elegantly.To install (addsudoif necessary)python3 -m pip install volkanicGlobalInterface and config fileExample:GlobalInterfaceis defined inexample/environ.pyas:importvolkanicclassGlobalInterface(volkanic.GlobalInterface):# you should always define `package_name`package_name='example'Configuration fileconfig.json5:{
    "upstram_prefix": "http://127.0.0.1:9100",
    "sqlite": "/data/local/example/db.sqlite"
}Thisconfig.json5is at one of the follow locations:Under your project directory in a development enviornment~/.example/config.json5/etc/example/config.json5/example/config.json5Access config:>>> from example.environ import GlobalInterface 
>>> gi = GlobalInterface()  # note that GlobalInterface is a sington class
>>> print(gi.conf)
{'upstram_prefix': 'http://127.0.0.1:9100', 'sqlite': '/data/local/example/db.sqlite'}Note thatGlobalInterfaceis a singlon class, which means thatGlobalInterface()will always return the same object:>>> GlobalInterface() is GlobalInterface()
TrueThe recommended usage ofGlobalInterface()is to create instanciate it
at the top each module:fromexample.environimportGlobalInterface# noqafromexample.toolsimportyour_funny_tool# noqagi=GlobalInterface()deffind_funny_things():url=gi.conf['upstram_prefix']+'/funny-api'path=gi.under_package_dir('asset/funny.json')# more code here ...AccessoriesList sub-commands$ volk
availabe commands:
- a
- o
- runconf
- whereLocate a Python package directory withvolk where:$ volk where requests
requests	/usr/local/lib/python3.6/site-packages/requestsYou can open a file or URL with default application withvolk o.To open current directory with default file manager (Finder / explorer.exe / ...)$ volk o .Showsys.argv:$ volk a \; "hello world" hello python
0	'/usr/local/bin/volk'
1	'a'
2	';'
3	'hello world'
4	'hello'
5	'python'Sub-command protocalSay you have a package namedmypkgmypkg/
├── MANIFEST.in
├── docs/
├── mypkg/
│    ├── __init__.py
│    ├── algors.py
│    ├── formatters.py
│    ├── main.py
│    └── parsers.py
├── requirements.txt
├── setup.py
└── tests/In one of your functional modules, e.g.mypkg/mypkg/formatter.py,
provide a entry function which takes exactly 2 arguments:importargparsedefprocess_file(path):# actual code herereturndefrun(prog=None,args=None):desc='human readable formatter'parser=argparse.ArgumentParser(prog=prog,description=desc)add=parser.add_argumentadd('-i','--input-file',help='path to your input file')ns=parser.parse_args(args)process_file(ns.input_file)Sub-command registry inmypkg/mypkg/main.py:importvolkaniccommands={"fmt":"mypkg.formatter","yml":"mypkg.parsers:run_yml_parser","ini":"mypkg.parsers:run_ini_parser",}registry=volkanic.CommandRegistry(commands)Note thatmypkg.formatteris a shorthand formypkg.formatter:run.Configure top level command inmypkg/setup.py:fromsetuptoolsimportsetupsetup(name="mypkg",entry_points={"console_scripts":["mycmd = mypkg.main:registry"]},# more arguments here)Install packagemypkgor link withpython3 setup.py develop.Now you have commandmycmd:$ mycmd
availabe commands:
- fmt
- ini
- ymlRun with sub-commandfmt:$ mycmd fmt -h
Package: volkeno-paydunya-gateway-py
Volkeno Paydunya Gateway PyIntegrate paydunya quickly in your backendDetailed documentation is in the "docs" directory.Quick startInstall the module:pip install volkeno_paydunya_gateway_pyEXAMPLE OF PAYMENT WITH REDIRECTIONImport modulefrom volkeno_paydunya_gateway_py.job import PaymentARInitialize paymentMASTER_KEY = MASTER_KEY_OF_YOUR_APP
     MASTER_KEY = PRIVATE_KEY_OF_YOUR_APP
     PAYDUNYA_TOKEN = TOKEN_KEY
     STORE = YOUR APP NAME or your STORE NAME

     payment = Payment(MASTER_KEY,MASTER_KEY,PAYDUNYA_TOKEN,STORE)Create an transaction:payment.payment_create(total_amount,return_url,return_url_parameter)Exampletotal_amount = str(total)
     return_url = YOUR_API_URL+ "/api/payment-status"
     // You can add one parameter or many parameter in your return url
     #One parameter
           return_url_parameter = "/?seller=2"
     #Many parameter
           return_url_parameter = "/?seller=2&amount=400"
     
     successful, result = payment.payment_create(total_amount,return_url,return_url_parameter)
     if successful:
           if 'response_text' in result:
                 url=result['response_text']
                 return Response({"url":url},status=200)
           return Response({"message":result},status=400)
     else:
           return Response({"message":result},status=400)Check if transaction is done or notsuccessful,response = payment.payment_result(token)
     if successful:
           //Do this
           else:
           //Do that
Package: volkszaehler
Python API for interacting withVolkszaehler. At
the moment only the consumption of data is supported. Sorry, uploading is not
possible.This module is not official, developed, supported or endorsed by Volkzaehler.InstallationThe module is available from thePython Package Index.$pip3installvolkszaehlerOn a Fedora-based system or a CentOS/RHEL host with EPEL.$sudodnf-yinstallpython3-volkszaehlerFor Nix or NixOS users is a package available. Keep in mind that the lastest releases might only
be present in theunstablechannel.$nix-env-iAnixos.python39Packages.volkszaehlerUsageThe fileexample.pycontains an example about how to use this module.Basically it’s just a wrapper to get the JSON data from a given UUID which
represents the device.$httphttps://demo.volkszaehler.org/middleware.php/data/57acbef0-88a9-11e4-934f-6b0f9ecd95a8.json[...]{"data":{"average":0.01,"consumption":38.099,"from":1584390593336,"max":[1597701600000,0.01],"min":[1597701600000,0.01],"rows":3,"to":1598106085887,"tuples":[[1597701600000,0.01,1],[1598106085887,0.01,1]],"uuid":"57acbef0-88a9-11e4-934f-6b0f9ecd95a8"},"version":"0.3"}Licensepython-volkszaehleris licensed under MIT, for more details check LICENSE.
Package: vollseg
VollSeg3D segmentation tool for irregular shaped cellsInstallationThis package can be installed bypip install --user vollsegmamba install pytorch torchvision torchaudio pytorch-cuda=11.6 -c pytorch -c nvidiaIf you are building this from the source, clone the repository and install viagitclonehttps://github.com/kapoorlab/vollseg/cdvollseg

pipinstall--user-e.`mambainstallpytorchtorchvisiontorchaudiopytorch-cuda=11.6-cpytorch-cnvidia`Pipenv installPipenv allows you to install dependencies in a virtual environment.# install pipenv if you don't already have it installedpipinstall--userpipenv# clone the repository and sync the dependenciesgitclonehttps://github.com/kapoorlab/vollseg/cdvollseg
pipenvsync# make the current package availablepipenvrunpythonsetup.pydevelop`mambainstallpytorchtorchvisiontorchaudiopytorch-cuda=11.6-cpytorch-cnvidia`# you can run the example notebooks by starting the jupyter notebook inside the virtual envpipenvrunjupyternotebookAccess theexamplefolder and run the cells.AlgorithmSchematic representation showing the segmentation approach used in VollSeg. First, we input the raw fluorescent image in 3D (A) and preprocess it to remove noise. Next, we obtain the star convex approximation to the cells using Stardist (B) and the U-Net prediction labelled via connected components (C). We then obtain seeds from the centroids of labelled image in B, for each labelled region of C in order to create bounding boxes and centroids. If there is no seed from B in the bounding box region from U-Net, we add the new centroid (in yellow) to the seed pool (D). Finally, we do a marker controlled watershed in 3D using skimage implementation on the probability map shown in (E) to obtain final cell segmentation result shown in (F). All images are displayed in Napari viewer with 3D display view.ExampleTo try the provided notebooks we provide an example dataset of Arabidopsis,Binary Images,Raw ImagesandLabelled imagesand trained models:stardist,Denoising,U-Net. For training the networks use this notebook inColab. To train a denoising model using noise to void use thisnotebookDockerA Docker image can be used to run the code in a container. Once inside the project's directory, build the image with:dockerbuild-tvoll.Now to run thetrackcommand:# show helpdockerrun--rm-itvollRequirementsPython 3.7 and above.LicenseUnder MIT license. SeeLICENSE.AuthorsVarun Kapoorrandomaccessiblekapoor@gmail.comClaudia CarabañaMari Tolonen
Package: vollseg-napari
VollSeg Napari PluginVollSeg is more than just a single segmentation algorithm; it is a meticulously designed modular segmentation tool tailored to diverse model organisms and imaging methods. While a U-Net might suffice for certain image samples, others might benefit from utilizing StarDist, and some could require a blend of both, potentially coupled with denoising or region of interest models. The pivotal decision left to make is how to select the most appropriate VollSeg configuration for your dataset, a question we comprehensively address in ourdocumentation website.This project provides thenapariplugin forVollSeg, a deep learning based 2D and 3D segmentation tool for irregular shaped cells. VollSeg has originally been developed (seepapers) for the segmentation of densely packed membrane labelled cells in challenging images with low signal-to-noise ratios. The plugin allows to apply pretrained and custom trained models from within napari.
For detailed demo of the plugin see thesevideosand a short video about theparameter selectionInstallation & UsageInstall the plugin withpip install vollseg-naparior from within napari viaPlugins > Install/Uninstall Package(s)….You can activate the plugin in napari viaPlugins > VollSeg: VollSeg. Example images for testing are provided viaFile > Open Sample > VollSeg.If you use this plugin for your research, pleasecite us.ExamplesVollSeg comes with different options to combine CARE based denoising with UNET, StarDist and segmentation in a region of interest (ROI). We present some examples which are represent optimal combination of these different modes for segmenting different cell types. We summarize this in the table below:Example ImageDescriptionTraining DataTrained ModelGT imageOptimal combinationNotebook CodeModel PredictionMetricsLight sheet fused from four angles 3D single channelTraining Data ~320 GBUNET modelUNET model, slice_merge = FalseColab NotebookConfocal microscopy 3D single channel 8 bitTraining DataDenoising ModelandStarDist ModelStarDist model + Denoising Model, dounet = FalseColab NotebookLaserScanningConfocalMicroscopy 2D single channelDatasetUNET ModelUNET modelColab NotebookNo MetricsTIRF + MultiKymograph Fiji tool 2D single channelTraining DatasetUNET ModelUNET modelColab NotebookNo MetricsXRay of Lung 2D single channelTraining DatasetUNET ModelUNET modelColab NotebookLaserScanningConfocalMicroscopy 2D single channelTest DatasetPrivateUNET modelColab NotebookNo MetricsLaserScanningConfocalMicroscopy 3D single channelTest DatasetPrivateUNET model + StarDist model + ROI modelColab NotebookTroubleshooting & SupportTheimage.sc forumis the best place to start getting help and support. Make sure to use the tagvollseg, since we are monitoring all questions with this tag.If you have technical questions or found a bug, feel free toopen an issue.
Package: vollseg-napari-mtrack
vollseg-napari-mtrackSegment kymographs of microtubules, actin filaments and perform Ransac based fits to compute dynamic instability parameters for individual kymographs and also in batchElaborate documentation for users of this repository at thisdocumentationThisnapariplugin was generated withCookiecutterusing@caped'scookiecutter-napari-plugintemplate.InstallationYou can installvollseg-napari-mtrackviapip:pip install vollseg-napari-mtrackTo install latest development version :pip install git+https://github.com/Kapoorlabs-CAPED/vollseg-napari-mtrack.gitContributingContributions are very welcome. Tests can be run withtox, please ensure
the coverage at least stays the same before you submit a pull request.LicenseDistributed under the terms of theBSD-3license,
"vollseg-napari-mtrack" is free and open source softwareIssuesIf you encounter any problems, pleasefile an issuealong with a detailed description.
Package: vollseg-napari-trackmate
vollseg-napari-trackmateTrack analysis using TrackMate xml and csv generated tracks using NapaTrackMater as the base libraryElaborate documentation for users of this repository at thisdocumentationTutorialA detailed tutorial can be found atDemoThisnapariplugin was generated withCookiecutterusing@caped'scookiecutter-napari-plugintemplate.InstallationYou can installvollseg-napari-trackmateviapip:pip install vollseg-napari-trackmateTo install latest development version :pip install git+https://github.com/Kapoorlabs-CAPED/vollseg-napari-trackmate.gitContributingContributions are very welcome. Tests can be run withtox, please ensure
the coverage at least stays the same before you submit a pull request.LicenseDistributed under the terms of theBSD-3license,
"vollseg-napari-trackmate" is free and open source softwareIssuesIf you encounter any problems, pleasefile an issuealong with a detailed description.