Saravanan666/pypi-org huggingface dataset:
Package: til
CLI tool for recording and tracking things you learn(TILs).DemoInstall TIL$pipinstalltil-cliThen start adding things that you learn:$tilnew"How to parse yaml in Python"Content:
Justuseruamel.yaml
pipinstallruamel.yaml
^CStore your TILs wherever you want using TIL plugins:YAML: Write to a yaml file...more to come...Copy.til.toml.defaultto your home directory as.til.tomland add more plugins or change their configuration.
As an example by default TIL uses YAML plugin to store entries intil.yamlfile in your home directory, this is configurable.Simon Willison's TIL Pagewas main inspiration to be able to create something similar with minimal extra effort.Planned features:Initial implementationYAML plugin as POCCI / CD for publishing to pypi with releasessome testsOther tools to installMacOS - brewDebian/Ubuntu - apt (snap packages?)More pluginsPOST to endpointTwitterEmail?tags support (e.g. Python, js, k8s, devops, science, etc.)Search tils bykeywordtagsContribute:Install Python 3.xRequires Python >= 3.9.Consider installing it either with brew or using a tool likepyenvMacos$brewinstallpython@3.9Or download fromPython.orgInstall poetry$brewinstallpoetryor$pip3installpoetryCreate Env$poetryenvusepython3.9# Setup env$poetryshell# Drop into Poetry env$poetryinstall# Install from pyproject.toml
Package: tilapya
Tilapya: TransLink API, in PythonTilapyais a Python wrapper around theTransLink Open API,
which provides real-time transit information for the Metro Vancouver region.Tilapya has three interfaces which correspond directly to components of the TransLink Open API:RTTI: Real-Time Transit InformationGTFSRT: GTFS-realtime feedsTilapya is more than a thin wrapper around the underlying REST APIs.
Where possible, it smooths over some inconvenient return values,
and guarantees a consistent schema in returned errors and responses.InstallationInstall Tilapya usingpip:$ pip install tilapyaThe source is alsoavailable on GitHub.Getting startedUse of the TransLink Open API, and thus Tilapya, requires an API key.
If you don’t already have an API key, you can get one by registering for an account athttps://developer.translink.ca/Account/Register.Tilapya’s documentation is athttps://tilapya.readthedocs.io.
Tilapya’s API docs contain examples for common operations.LicenseCopyright 2018 Carson LamLicensed 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 athttp://www.apache.org/licenses/LICENSE-2.0Unless 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.History1.0.0 (2019-06-23)Drop support for Python 2.7 and 3.4.Remove RTDS API. It was removed upstream.Switch GTFS-RT to v2 endpoints. v1 was removed upstream.Add service alerts endpoint to GTFS-RT. It was added to v2 upstream.0.2.0 (2019-02-03)Require Marshmallow >= 3.0.0rc1, to fix dependency resolution problem.Require Requests >= 2.20.0.Replace API for GTFS-RT.0.1.0 (2018-02-19)Initial version.
Package: tilburg-hand
The tilburg-hand repository contains the main Python library used to control theTilburg Hand. The repository also includes documentation, examples, a motor gui (installed astilburg_hand_motorgui), and urdf + Mujoco xml models for the robot.Required libraries:- dynamixel_sdk- pyserial- Tk (for the motor gui)InstallationInstall the library usingpip, either download one of the pre-built packages, or from PyPI (pip install tilburg-hand), or directly from this repository (pip install -e .for in-path installation).
Package: til-cli
Install TIL$pipinstalltil-cliThen start adding things that you learn:$tilnew"How to parse yaml in Python"Content:
Justuseruamel.yaml
pipinstallruamel.yaml
^CStore your TILs wherever you want using TIL plugins:YAML: Write to a yaml file...more to come...Copy.til.toml.defaultto your home directory as.til.tomland add more plugins or change their configuration.
As an example by default TIL uses YAML plugin to store entries intil.yamlfile in your home directory, this is configurable.Simon Willison's TIL Pagewas main inspiration to be able to create something similar with minimal extra effort.Planned features:Initial implementationYAML plugin as POCCI / CD for publishing to pypi with releasessome testsOther tools to installMacOS - brewDebian/Ubuntu - apt (snap packages?)More pluginsPOST to endpointTwitterEmail?tags support (e.g. Python, js, k8s, devops, science, etc.)Search tils bykeywordtagsContribute:Install Python 3.xRequires Python >= 3.9.Consider installing it either with brew or using a tool likepyenvMacos$brewinstallpython@3.9Or download fromPython.orgInstall poetry$brewinstallpoetryor$pip3installpoetryCreate Env$poetryenvusepython3.9# Setup env$poetryshell# Drop into Poetry env$poetryinstall# Install from pyproject.toml
Package: tilda-api
# Python Tilda.cc API[![PyPI](https://img.shields.io/pypi/v/tilda-api.svg)](https://pypi.python.org/pypi/tilda-api)
[![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://travis-ci.org/dotzero/tilda-api-python)
[![Build Status](https://travis-ci.org/dotzero/tilda-api-python.svg?branch=master)](https://travis-ci.org/dotzero/tilda-api-python)
[![Code Coverage](https://scrutinizer-ci.com/g/dotzero/tilda-api-python/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/dotzero/tilda-api-python/?branch=master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/dotzero/tilda-api-python/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dotzero/tilda-api-python/?branch=master)As complete as possible implementation of Tilda.cc API.The project provides an almost exhaustive access to the Tilda.cc API, through anobject orientedPython interface.## FeaturesGet projects listGet project infoGet project info for exportGet pages listGet short page info and body html codeGet full page info and full html codeGet short page info for export and body html codeGet full page info for export and body html code## Requirespython >= 2.6python >= 3.2## Installation### From PypiYou can install tilda-api-python using:pip install tilda-api### From sourcegit clonehttps://github.com/dotzero/tilda-api-pythoncd tilda-api-python
python setup.py install## UsageTo create an instance of the tilda.Client:>>> import tilda
>>> api = tilda.Client(public='000000000000', secret='999999999999')To get projects list:>>> projects = api.get_projects_list()
>>> projects[0].to_dict()
... or
>>> projects[0].id
>>> projects[0].titleTo get project info:>>> project = api.get_project(project_id=00000)
>>> project.to_dict()
... or
>>> project.id
>>> project.titleTo get project info for export:>>> project = api.get_project_export(project_id=00000)
>>> project.to_dict()
... or
>>> project.id
>>> project.titleTo get pages list:>>> pages = api.get_pages_list(project_id=00000)
>>> pages[0].to_dict()
... or
>>> pages[0].id
>>> pages[0].titleTo get short page info and body html code:>>> page = api.get_page(page_id=00000)
>>> page.to_dict()
... or
>>> page.title
>>> page.htmlTo get full page info and full html code:>>> page = api.get_page_full(page_id=00000)
>>> page.to_dict()
... or
>>> page.title
>>> page.htmlTo get short page info for export and body html code:>>> page = api.get_page_export(page_id=00000)
>>> page.to_dict()
... or
>>> page.title
>>> page.htmlTo get full page info for export and body html code:>>> page = api.get_page_full_export(page_id=00000)
>>> page.to_dict()
... or
>>> page.title
>>> page.html## LicenseLicensed under the MIT license:http://www.opensource.org/licenses/mit-license.php
Package: tilda-wrapper-api
Tilda APIA python implementation ofTilda APIGetting StartedThe project provides full access to Tilda.cc API via an object-oriented Python interface using dataclasses.InstallationUse the package managerpipto install package.pipinstalltilda-wrapper-apiUse the package managerpipenvto install package.pipenvinstalltilda-wrapper-apiUsage# Standard librariesimportos# Projectfromtilda_wrapper_api.clientimportClient# create a client object, default value secret=os.getenv('SECRET') and public=os.getenv('PUBLIC')client=Client()# get list of projectsprojects=client.get_projects_list()print(projects)# get project informationproject=client.get_project(projects.result[0].id)print(project)# get project information for exportproject_export=client.get_project_export(projects.result[0].id)print(project_export)# get list of pages in the projectpages=client.get_pages_list(projects.result[0].id)print(pages)# get information about the page (+ body html-code)page=client.get_page(pages.result[0].id)print(page)# get information about the page (+ full page html-code)page_full=client.get_page_full(pages.result[0].id)print(page_full)# get information about the page for export (+ body html-code)page_export=client.get_page_export(pages.result[0].id)print(page_export)# get information about the page for export (+ full page html-code)page_full_export=client.get_page_full_export(pages.result[0].id)print(page_full_export)Built WithRequests- Python HTTP Requests for Humans™dataclasses-json-  Library provides a simple API for encoding and decoding dataclasses to and from JSONContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.AuthorsSergey Ozeranskiy-Initial work-ozeranskiySee also the list ofcontributorswho participated in this project.LicenseThis project is licensed under the MIT License - see theLICENSE.mdfile for details
Package: tildee
This is tildee.py, a Python 3 library for interacting with thehttps://tildes.netAPI. Note that this API is not stable and not actually intended for external use, so this could break at any moment. Main repository and issue tracker is onDingenskirchen Systems Git(Login using GitLab or -Hub available), there are mirrors provided onGitLabandGitHubfor discoverability.PyPI—Source—Docs
Package: tilechips
tilechipsA very simple package to generate tiles for geographic raster data,
build to help user to prepare datasets for deep learning training and
annotation.tilechips require GDAL to operate.Please use composite geographic raster (RGB of band combination).RequirementsGDALtqdmInstallationPIPpython -m pip install GDALpython -m pip install tilechipsorClone to local directorygit clone https://github.com/wslerry/tilechips.gitcd tilechipspython -m pip install GDALpython setup.py installExamplefromtilechips.tilesimportIOIO(input_image,output_directory,x_size,y_size,save_vrt=False)
Package: tileclipper
TileClipper Package Usage GuideIntroductionTheTileClipperpackage enables users to download map tiles within a specified bounding box from a tile server. This guide illustrates the installation process, instantiation of theTileClipperclass, and downloading map tiles using the package.InstallationEnsure Python is installed on your system, then install theTileClipperpackage usingpip:pipinstalltileclipperfromtileclipperimportTileClipperInstantiate TileClipperDefine the required parameters for the TileClipper class:base_url (str): Base URL of the tile server.
bbox (list): Bounding box coordinates [minx, miny, maxx, maxy].
output_folder (str): Directory to save downloaded tiles.
max_workers (int, optional): Maximum number of concurrent workers for tile downloads (default is 10).Create an instance of the TileClipper class:base_url="https://example.com/tiles/"# Replace with your tile server URLbbox=[xmin,ymin,xmax,ymax]# Replace with bounding box coordinatesoutput_folder="/path/to/output/folder/"# Replace with output folder pathmax_workers=10# Optional: Set maximum workers for concurrent downloadstileclipper=TileClipper(base_url,bbox,output_folder,max_workers)Download TilesUtilize the download_tiles(zoom_start, zoom_end) method to download tiles within a specified zoom level range:# Download tiles within zoom level range 18 to 20tileclipper.download_tiles(18,20)ExampleHere's an example demonstrating the usage of the TileClipper class:fromtileclipperimportTileClipperbase_url="https://example.com/tiles/"bbox=[xmin,ymin,xmax,ymax]output_folder="/path/to/output/folder/"max_workers=10tileclipper=TileClipper(base_url,bbox,output_folder,max_workers)tileclipper.download_tiles(18,20)Replace the placeholder values (base_url, bbox, output_folder, etc.) with your specific values according to your use case.
Package: tilecloud-chain
TileCloud ChainThe goal of TileCloud Chain is to provide tools around tile generation on a chain like:Source: WMS, Mapnik.Optionally using an SQS queue, AWS host, SNS topic.Destination in WMTS layout, on S3, on Berkeley DB (bsddb), on MBTiles, or on local filesystem.Features:Generate tiles.Drop empty tiles.Drop tiles outside a geometry or a bbox.Use MetaTiles.Generate the legend images.Generate GetCapabilities.Generate OpenLayers example page.Obtain the hash of an empty tile.In the future, measure tile generation speed.Calculate cost and generation time.In the future, manage the AWS hosts that generate tiles.Delete empty tiles.Copy files between caches.Be able to use an SQS queue to dispatch the generation.Post processing the generated tiles....Legacy features:bsddb supportsqlite (mbtiles) supportmapnik support (should be updated for Python3)ScreenshotScreenshot of the admin page with queue stored on PostgreSQL:Get itCreate the config filetilegeneration/config.yamlsee asexample.SupportOnly the latest release is supported and version < 1.11 contains security issues.From sourcesBuild it:gitsubmoduleupdate--recursive
python3-mvenv.build/venv
.build/venv/bin/pipinstall-rrequirements.txt
.build/venv/bin/pipinstall-e.
.build/venv/bin/pipinstall-rdev-requirements.txtRun prospector.build/venv/bin/prospectorRun the testsSetup your environment:touchtilecloud_chain/OpenLayers.js
dockerbuild--tagcamptocamp/tilecloud-chain.
docker-compose-ptilecloudupTo run the tests:docker-compose-ptilecloudexectestpythonsetup.pynosetests--logging-filter=tilecloud,tilecloud_chain--attr'!'nopy3DocumentationAs documentation you can read theUSAGE.rstand theconfiguration reference.VSCodeYou can add that in your workspace configuration to use the JSON schema:{"yaml.schemas":{"../tilecloud-chain/tilecloud_chain/schema.json":["tilecloud-chain/tilecloud_chain/tests/tilegeneration/*.yaml"]}}ContributingInstall the pre-commit hooks:pipinstallpre-commit
pre-commitinstall--allow-missing-config
Package: tilecycles
TileCyclesTile an even graph with cycles. It is the core part ofGenIce2to make a hydrogen-disordered ice structure.The contents are now moved to theGenIce-corerepository.What is the tiling by cycles?It is to arrange cycles randomly so that every edge of the graph belongs to one and only one cycle. Such an arrangement of cycles is always possible for an even graph.RequirementnumpyAPIimporttilecyclesastccycles=tc.tile(pairs,Nnode)Inputspairs: A 2D numpy array of size m x 2. The values must be numpy.int32. Each value must be in range [0,Nnode) and is the label for a node of the graph.Nnode: Number of nodes in a graph.Outputcycles: A list of numpy arrays of arbitrary size. Each array contains the list of labels constituting a cycle.BenchmarksRunTileCycles.ipynbon Jupyter or Google Colaboratory.Algorithms and how to cite them.The algorithms to make a depolarized hydrogen-disordered ice are explained in:M. Matsumoto, T. Yagasaki, and H. Tanaka, "Novel Algorithm to Generate Hydrogen-Disordered Ice Structures.", J. Chem. Info. Modeling, (2021).DOI:10.1021/acs.jcim.1c00440@article{Matsumoto:2021,
    author = {Matsumoto, Masakazu and Yagasaki, Takuma and Tanaka, Hideki},
    title = {Novel Algorithm to Generate Hydrogen-Disordered Ice Structures},
    journal = {Journal of Chemical Information and Modeling},
    volume = {},
    pages = {},
    year = {2021}
}NoteI rewrote the algorithm in C++, which is available as thetilecycles_cmodule. However, I decided to unuse it in GenIce2 2.1 because the contribution to the improvement in speed is found to be only a little. Python version is fast enough for the purpose.
Package: tiledb
TileDB-PyTileDB-Pyis aPythoninterface to theTileDB Storage Engine.Quick LinksInstallationBuild InstructionsTileDB DocumentationPython API referenceQuick InstallationTileDB-Py is available from eitherPyPIwithpip:pip install tiledbor fromconda-forgewithcondaormamba:conda install -c conda-forge tiledb-pyDataframes functionality (tiledb.from_pandas,Array.df[]) requiresPandas1.0 or higher, andPyArrow1.0 or higher.ContributingWe welcome contributions, please seeCONTRIBUTING.mdfor suggestions and
development-build instructions. For larger features, please open an issue to discuss goals and
approach in order to ensure a smooth PR integration and review process.
Package: tiledb-bioimg
TileDB-BioImagingPython package for:converting images stored in popular Biomedical Imaging formats to groups of TileDB arrays (& vice versa)exposing an expressive and efficient API (powered by TileDB) for querying such data.Note: this project is in pretty early stage and under heavy development.
Breaking changes to the underlying data format and the API are to be expected.FeaturesIngestion to TileDB Groups of Arrays- OME-Zarr
- OME-Tiff
- Open-SlideIngestion from TileDB Groups of Arrays to:- OME-Zarr
- OME-TiffVisualization OptionsTileDB CloudNapari:https://github.com/TileDB-Inc/napari-tiledb-bioimgQuick InstallationFrom PyPI:pip install tiledb-bioimg[full]From source:git clone https://github.com/TileDB-Inc/TileDB-BioImaging.git
cd TileDB-BioImaging

# If you use zsh replace .[full] with .\[full\]
pip install -e .[full]Note:Fortiffsupport ([tiff]or[full]extra dependencies) on Python 3.7, you
should first install ourtifffile forkrather
than the older PyPI upstream package:pip install tifffile@git+https://github.com/TileDB-Inc/tifffile.git@gsa/python-3.7ExamplesHow to convert imaging data from standard biomedical formats to group of TileDB arrays.OME-Zarr to TileDB Group of Arraysfromtiledb.bioimg.converters.ome_zarrimportOMEZarrConverterOMEZarrConverter.to_tiledb("path_to_ome_zarr_image","tiledb_array_group_path")OME-Tiff to TileDB Group of Arraysfromtiledb.bioimg.converters.ome_tiffimportOMETiffConverterOMETiffConverter.to_tiledb("path_to_ome_tiff_image","tiledb_array_group_path")Open Slide to TileDB Group of Arraysfromtiledb.bioimg.converters.openslideimportOpenSlideConverterOpenSlideConverter.to_tiledb("path_to_open_slide_image","tiledb_array_group_path")DocumentationAPI Documentationis auto-generated. Following the instructions below:cddocs&&makehtmlwill generate adocs/_builddirectory, where you can now open theindex.html
Package: tiledb-cf
TileDB-CF-PyThe TileDB-CF-Py library is a Python library for supporting the NetCDF data model in theTileDB storage engine. TileDB-CF-Py provides readers and writers for viewing and manipulating TileDB arrays and groups using TileDB CF Dataspaces - a special TileDB group that follows the requirements indocs/source/tiledb-cf-spec.md.:warning: This library is still under initial development and changes may not be backward compatible.TileDB Quick LinksHomepageDocumentationForumOrganizationGetting StartedQuick InstallationThis project is available fromPyPIand may be installed withpip:pipinstalltiledb-cfDocumentationDocumentation is available at:https://tiledb-inc.github.io/TileDB-CF-PyExample NotebooksExample Jupyter notebooks are available in theexamplesfolder.DevelopmentFor information on contributing to this project see thecontributingdocument and thecode of conduct.
Package: tiledb-cloud
TileDB-Cloud-PyThis repository contains the Python client for the TileDB Cloud Service.Quick LinksInstallationSeeInstallation InstructionsQuickstartSeeQuickstartsection of the docs.API DocumentationSeehttps://tiledb-inc.github.io/TileDB-Cloud-Py/TestingSelection:All tests:pytestAll tests with verbosity:pytest -vsTests withtaskgraphsin their names:pytest -vsk taskgraphsCredentials:These tests run on TileDB Cloud using your current environment variableTILEDB_REST_TOKEN-- you will need a valid API token for the tests to passFor continuous integration, the token is configured for theunittestuser and all tests should passFor interactive use, if yourTILEDB_REST_TOKENpoints to your own account, most tests will run, except for those that explicitly check against contents of theunittestaccount which are skipped
Package: tiledb-jupyter-bioimg
tiledb_jupyter_bioimgA jupyterlab extension to visualize bioimages in TileDB formatRequirementsJupyterLab >= 3.0Installpipinstalltiledb_jupyter_bioimgContributingDevelopment installNote: You will need NodeJS to build the extension package.Thejlpmcommand is JupyterLab's pinned version ofyarnthat is installed with JupyterLab. You may useyarnornpmin lieu ofjlpmbelow.# Clone the repo to your local environment# Change directory to the tiledb_jupyter_bioimg directory# Install package in development modepipinstall-e.# Link your development version of the extension with JupyterLabjupyterlabextensiondevelop.--overwrite# Rebuild extension Typescript source after making changesjlpmrunbuildYou can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.# Watch the source directory in one terminal, automatically rebuilding when neededjlpmrunwatch# Run JupyterLab in another terminaljupyterlabWith the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).By default, thejlpm run buildcommand generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:jupyterlabbuild--minimize=FalseUninstallpipuninstalltiledb_jupyter_bioimgUsagefromtiledb_jupyter_bioimgimportRenderRender("<<NAMESPACE>>","<<GROUP_ID>>",{"token":"<<TILEDB_API_TOKEN>>>"})Common issuesIf you get errorUncaught (in promise) Error: No provider for: jupyter.extensions.jupyterWidgetRegistry.please make sure you are using correct version ofipywidgets(v8).
Package: tiledb-plot-widget
tiledb-plot-widgetCustom Jupyterlab widget for TileDBRequirementsJupyterLab >= 3.0InstallTo install the extension, execute:pipinstalltiledb-plot-widgetUninstallTo remove the extension, execute:pipuninstalltiledb-plot-widgetContributingDevelopment installNote: You will need NodeJS to build the extension package.Thejlpmcommand is JupyterLab's pinned version ofyarnthat is installed with JupyterLab. You may useyarnornpmin lieu ofjlpmbelow.# Clone the repo to your local environment# Change directory to the tiledb-plot-widget directory# Install package in development modepipinstall-e.# Link your development version of the extension with JupyterLabjupyterlabextensiondevelop.--overwrite# Rebuild extension Typescript source after making changesjlpmrunbuildYou can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.# Watch the source directory in one terminal, automatically rebuilding when neededjlpmrunwatch# Run JupyterLab in another terminaljupyterlabWith the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).By default, thejlpm run buildcommand generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:jupyterlabbuild--minimize=FalseDevelopment uninstallpipuninstalltiledb-plot-widgetIn development mode, you will also need to remove the symlink created byjupyter labextension developcommand. To find its location, you can runjupyter labextension listto figure out where thelabextensionsfolder is located. Then you can remove the symlink named@tiledb-inc/tiledb-plot-widgetwithin that folder.Packaging the extensionSeeRELEASE