Saravanan666/pypi-org huggingface dataset:
Package: tekleo-services-client
TekLeo Services ClientA python package with shared clients for TekLeo services.InstallationNormal installationpipinstalltekleo-services-clientDevelopment installationgitclonehttps://github.com/jpleorx/tekleo-services-client.gitcdtekleo-services-client
pipinstall--editable.LinksIn case you’d like to check my other work or contact me:Personal websiteGitHubPyPIDockerHubArticles on MediumLinkedIn (feel free to connect)
Package: teklia-line-image-extractor
Line image extractorThis is a tool and a library to be used for extracting line images. Built byTekliaand freely available as open-source under the MIT licence.It supports different extraction methods:boundingRect - bounding rectangle of the line polygonpolygon - exact polygonmin_area_rect - minimum area rectangle containing the polygondeskew_polygon - deskew the polygondeskew_min_area_rect - deskew the minimum area rectangleskew_polygon - skew the polygon (rotate by some angle)skew_min_area_rect - skew the minimum area rectangle (rotate by some angle)Install the library using stable version from Pypi:pipinstallteklia-line-image-extractorInstall the library in development mode:pipinstall-e.Test extraction:line-image-extractor-itests/data/page_img.jpg-oout.jpg-ptests/data/line_polygon.json-edeskew_min_area_rect--colorHow to use it?:frompathlibimportPathimportnumpyasnpfromline_image_extractor.extractorimportextract,read_img,save_imgfromline_image_extractor.image_utilsimportpolygon_to_bboxfromline_image_extractor.image_utilsimportExtractionpage_img=read_img(Path("tests/data/page_img.jpg"))polygon=np.asarray([[241,1169],[2287,1251],[2252,1190],[244,1091],[241,1169]])bbox=polygon_to_bbox(polygon)extracted_img=extract(page_img,polygon,bbox,Extraction.polygon)save_img("line_output.jpg",extracted_img)
Package: tekmoney
tekmoneyTek money. Handles money.Handles mathematical and comparison operations on product pricesImplements exception handlingAllows specifying tax on a product priceAllows specifying a range for product priceAllows for applying discount on product pricesInstallationUsing pip: pip install tekmoneyusing pipenv: pipenv install tekmoneyUsageUse Currency class to specify amount and currency denomination.Currency(10, 'USD') indicates 10 us dollarsCurrency(Decimal('13.20'), 'USD') indicates 13 US dollars and 20 cents. Use Decimal class to specify non int values
Package: tekmpesa
tekmpesaAll Mpesa APIs for All 8 CountriesTable of ContentsQuickStartDocumentation/UsageContributingCreditsQuickStartInstallationpip install tekmpesaFrom Sourcegit clone https://github.com/TralahM/tekmpesa
cd tekmpesa

python setup.py bdist_wheel
pip install -e .DocumentationAPI ReferenceContributingCredits
Package: tekoid
Identity Client Library PythonHow to installuse pip:pipinstalltekoidHow to useFirst, importClientSDKinto your sourcecode. I.E:fromtekoidimportClientSDKSecond, you need to instantiate ClientSDK. See example:clientSDK=ClientSDK(client_id=os.getenv("CLIENT_ID"),client_secret=os.getenv("CLIENT_SECRET"),redirect_uri="http://localhost:5000/callback")Note:redirect_urimust be declare in iam admin systemaddition fieldtypedefaultscopearray[openid,profile]base_uristringhttps://oauth.tekoapis.comauthorize_pathstring/oauth/authorizetoken_pathstring/oauth/tokenrefresh_token_pathstring/oauth/tokenrevoke_token_pathstring/oauth/revokejwks_pathstring/.well-known/jwks.jsonuserinfo_pathstring/userinfoverify_sslbooleanTrueSupport function:get_authorization_url():return url, state, nonce, code_verifierget_token(self, url, state, nonce=None, code_verifier=None):use for authorization code flow, pass url get from authorization server and state get abovecode_verifier is not require, use only for public clientnonce is not require, use only when client require openid scopereturn token dataget_token():use for client credentials flowreturn token dataget_user_info(token):pass id_token get from get_token()return user data through decode id_tokenrefresh_token(refresh_token):pass refresh token get from get_token()return new token dataget_full_user_info(access_token):pass access token get from get_token()return user data through call apiyou can see the sample code athttps://git.teko.vn/user-profile/iam/tekoid-py/-/blob/master/example/app.pySupportvietnk:viet.nk@teko.vn
Package: teko-import-test
Import test toolImport test cases from .xlsx fileInstallation$ pip install teko-import-testPreconditionPython >= 3.7.1, < 4.0File to import is .xlsxFile must has the column with cell at first row is "NAME".
This tool will take test case's names from that column to importOptional: If you want to add objective and precondition for the test case, just add 2 columns "OBJECTIVE" and "PRECONDITION"You must set environment variables before import. Example in.\set_env.batFILE_GENERATED - path to the file to be generatedFILE_IMPORT - path to the file to importCLASS_TEMPLATE - template of the class test.
Template of class must be .txt and contains "$body$". Example in.\template\class_template.txtTEST_CASE_TEMPLATE -  template of the each test case.
Template of class must be .txt and contains "$test_case_name$" and ""$test_number$".
$test_case_objective$ and $test_case_precondition$ is optional
Example in.\template\test_case_template.txtImport$ teko-import-test
Package: tekore
Welcome to the Python Package Index page of Tekore!
We provide a client for the Spotify Web API for Python,
complete with all available endpoints and authentication methods,
async support and loads of additional features.
Tekore allows you to interact with the API effortlessly.
Here’s five lines to get you full access and start playing your top songs.importtekoreastkconf=(client_id,client_secret,redirect_uri)token=tk.prompt_for_user_token(*conf,scope=tk.scope.every)spotify=tk.Spotify(token)tracks=spotify.current_user_top_tracks(limit=10)spotify.playback_start_tracks([t.idfortintracks.items])See our online documentation onRead The Docsfor tutorials,
examples, package reference and a detailed description of features.
If you’ve found a bug or would like to propose a feature,
please submit an issue onGitHub.
Join ourDiscordcommunity
to ask for help or discuss just about anything related to Tekore.
You can also ask a question onStack Overflow.InstallationTekore can be installed from the Package Index viapip.$pipinstalltekoreChangelogA detailed changelog can be found on our RTD documentation’sRelease notes.VersioningWhen requiring Tekore in projects or other packages,
please pin the version down to at least a specific major release
to avoid compatibility issues.
For example:setup(install_requires=['tekore~=4.0'])Tekore provides both stable and beta endpoints of the Web API.
However, beta endpoints may be changed by Spotify without prior notice,
so older versions of the library may have unintended issues.
Because of this, Tekore follows a modified form ofSemantic Versioning.
Incompatible changes in the library are still introduced in major versions,
and new features and endpoints are added in minor versions.
But endpoints removed by Spotify are removed in minor versions and changes
to endpoints are implemented as bugfixes.
See the Web APIdocumentationfor further information on beta endpoints.
Package: tekorrect
Tekorrect漢學家稱這個空白字元為「盤古之白」，因為它劈開了全形字和半形字之間的混沌。另有研究顯示，打字的時候不喜歡在中文和英文之間加空格的人，感情路都走得很辛苦，有七成的比例會在 34 歲的時候跟自己不愛的人結婚，而其餘三成的人最後只能把遺產留給自己的貓。畢竟愛情跟書寫都需要適時地留白。如果真正在意 typography，那麼漢字與西文之間應該插入一個半角空格。Adobe InDesign、Microsoft Word 等對中文與西文混合排版支持較好的軟件，都默認增大漢字和西文的間距。漢學家稱這個空白字元爲「盤古之白」，因爲它劈開了全形字和半形字之間的混沌，增加了文字的 readability。此 Python 腳本用於給已經完成的 Markdown 遍寫的文檔進行優化，它會將壹些非標準，或不推薦的排版方式，進行自動格式化、標準化。使用vinta/pangu.py爲基礎製作。用法使用 pip 安裝，例如：pip3 install tekorrect。後對包含 Markdown 文件的文件夾使用以下指令：tekorrect-p/path/to/hexo/source/_posts若是針對單獨的文件，可使用以下指令tekorrect-f/path/to/hexo/source/_posts/1.md目前版本功能尚未完善，文章標題部分也會被自動添加空格（如不希望使用此功能請對本倉庫進行 Star 並等待後續更新）。此程序就地對文件進行修改，強烈建議在進行前對原始文件進行備份！TO-DO跳過文章 title 優化修复 Markdown 格式标记不当优化问题（例如：加粗的**和删除符号~~）自动处理 gitHUB, Http 之类的拼写问题AuthorsNova KwokBennyThink
Package: tekrar
what is tekrarcreate loading animation in python cli project ...Generally you can use tekrar in two methods ...sleepmaybe a unique example similar to time.sleep ...
pause the python cli project and display the loading animation for a few seconds ...functionshow loading animation will be displayed until the function process is completed ...installationinstall by pip# linux

sudo python3 -m pip install tekrar

# windows

py -m pip install tekrarinstall by setup.py# linux

sudo python3 -m pip install https://github.com/sys113/tekrar/archive/0.1.1.zip

# windows

py -m pip install https://github.com/sys113/tekrar/archive/0.1.1.zipexamplefunction1 : curl download filearguments used : function, argument, speed, output2 : write numbers 1 to 333333 in a filearguments used : function, speed, method, output and save function return valuesleep1 : show loading animation for a few secondsarguments used : sleep , speed , methoddescriptionspeed# set loading speed ...# range 1 to 10 ...# default value is 3 ...speed=5method# set loading animation method ...# only 1 or 2 ...# default value is 1 ...method=2method 1method 2sleep# pause the python cli project and display the loading animation for 8 seconds ...# maybe a unique example similar to time.sleep ...# argument 'sleep' must be a int type ...# cannot use simultaneously 'sleep' and 'function' argument ...sleep=8function# show loading if 'x' function running ...# cannot use simultaneously 'sleep' and 'function' argument ...function=xargument# use this method if 'function' has 'argument' ...# argument 'argument' must be a int type ...argument=['tekrar','SYS113']output# if 'function' has arguments then use this way for hide function output ...# default value is True# argument 'output' must be boolean type ...output=Truesave function return value# call tekrar.loading function in a variable ...save_return_value=tekrar.loading(function=func,argument=['hi'],output=True,speed=5,method=2)copyrightcopyright SYS113 - 2019.licenseMIT license , please see LICENSE file.donatefor iranian users   :          id pay       -https://idpay.ir/sys113for global users   :  BTC wallet id  -   149JgUmFqG6MvFg79Ldrvdk2bN35ByhMuwcontact meemailtelegraminstagramlast worldhope this is tekrar useful to you and enjoy it.tekrar logo ❤️ mohamad moradiyani
Package: tekrepodoc
tekrepodocUtility Tool to Generate Common Project Files using sensible templates every one can agree on. Useful for Git Repositories, Supports Sphinx templates, Community Health Files, READMEs, pypi project configurations.Table of ContentsQuickStartDocumentation/UsageContributingCreditsQuickStartInstallationpip install tekrepodocFrom Sourcegit clone https://github.com/TralahM/tekrepodoccd tekrepodocpython setup.py bdist_wheelpip install -e .CLI UsageIn terminal typerepodoc -husage: repodoc [-h] [-u] [-bc] [-zc] [-vv] [-v]
               {get_vars,config,licence,readme,community_health,comh,ch,pypi_project,pypi,sphinx_docs,docs,sphinx,dot_files,dots}
               ...

options:
  -h, --help            show this help message and exit
  -u, --use-config-file
                        use config file for template variables.
  -bc, --bash-completion
                        Print Bash Completion Script.
  -zc, --zsh-completion
                        Print ZSH Completion Script.
  -vv, --verbose        Turn on Verbose Mode.
  -v, --version         show program's version number and exit

subcommands:
  {get_vars,config,licence,readme,community_health,comh,ch,pypi_project,pypi,sphinx_docs,docs,sphinx,dot_files,dots}
    get_vars            Return all variables for the given template.
    config              Configure Subcommand to init,set,get,list configs.
    licence             Generate Licence Command.
    readme              Generate README command.
    community_health (comh, ch)
                        Generate Community Health Guidelines.
    pypi_project (pypi)
                        Generate Pypi Manifest,setup.cfg,setup.py Command.
    sphinx_docs (docs, sphinx)
                        Generate Sphinx Documentation Templates.
    dot_files (dots)    Generate all dot files
                        .gitignore,.gitattributes,.mailmap.

Author: Tralah M Brian (TralahM) <musyoki.brian@tralahtek.com>. Project:
<https://github.com/TralahM/tekrepodoc>First Generate a Configuration Filerepodoc config --initDocumentationAPI ReferenceContributingLegal NoticeIf this repository uses third-party APIs and or AI models, it is not associated with or endorsed by the API providers or the original developers of the models.Please note the following:Disclaimer: The APIs, services, and trademarks mentioned in this repository belong to their respective owners. This project is not claiming any right over them.Responsibility: The author of this repository is not responsible for any consequences arising from the use or misuse of this repository or the content provided by the third-party APIs and any damage or losses caused by users' actions.Educational Purposes Only: This repository and its content are provided strictly for educational purposes. By using the information and code provided, users acknowledge that they are using the APIs and models at their own risk and agree to comply with any applicable laws and regulations.Credits
Package: tekstialue
TekstialueText area (Finnish: tekstialue) - tune planar arrangements of text (tables) to preserve styles across transforms.License: MIT|Country of origin: Switzerland|Export control classification number(ECCN): EAR99Third party dependencies are documented in the folderthird-party.DocumentationUser and developerdocumentation of tekstialue.Bug TrackerAny feature requests or bug reports shall go to thetodos of tekstialue.Primary Source repositoryThe main source oftekstialueis on a mountain in central Switzerland.
We use distributed version control (git).
There is no central hub.
Every clone can become a new source for the benefit of all.
The preferred public clones oftekstialueare:on codeberg- a democratic community-driven, non-profit software development platform operated by Codeberg e.V.at sourcehut- a collection of tools useful for software development.ContributionsPlease do not submit "pull requests" (I found no way to disable that "feature" on GitHub).
If you like to share small changes under the repositories license please kindly do so by sending a patchset.
You can either send such a patchset per email usinggit send-emailor
if you are a sourcehut user by selecting "Prepare a patchset" on the summary page of your fork atsourcehut.StatusExperimentalNote: The default branch isdefault.
Package: tektonbundle
Tekton resources BundleA CLI to go over a bunch of Tekton yaml resources and bundle them as one in aPipelinerunandpipelineSpec/taskSpec.
It optionally can get argument to replace in tempalates.Installpip3installtektonbundleand you are good to go!pyyamlis really the external depencences here.UsageYou only need to point the tool to some yaml files or a directory where it will
collect every.yamlor.ymlfiles in there and analyze them. It will then
output the 'bundled' yaml file which you can pipe tokubectl create, i.e:tektonbundle"/path/to/directory"|kubectlcreate-f-Full help of the CLI is :usage: tektonbundle [-h] [--skip-inlining SKIP_INLINING] [--only-bundled]
                    files [files ...] [parameters [parameters ...]]

positional arguments:
  files                 Files and/or directories where to get all the yaml files.
  parameters            Add parameters to pass to templates.

optional arguments:
  -h, --help            show this help message and exit
  --skip-inlining SKIP_INLINING
                        Skip inlining these tasks, you can add many of them separated by a comma.
  --only-bundled        Print only the files that have been bundled (tekton files) and skip others.DescriptionIf you have a Pipelinerun that looks like this :---apiVersion:tekton.dev/v1beta1kind:Pipelinerunmetadata:name:pipeline-runspec:pipelineRef:name:pipelineand aPipelinenamed pipeline1 that looks like this :---apiVersion:tekton.dev/v1beta1kind:Pipelinemetadata:name:pipelinespec:tasks:-name:tasktaskRef:name:taskand finally a task that looks like this :---apiVersion:tekton.dev/v1beta1kind:Taskmetadata:name:taskspec:steps:-name:stepimage:scratchIt will 'bundle' everything as one, usingpipelineSpecandtaskSpec:apiVersion:tekton.dev/v1beta1kind:PipelineRunmetadata:generateName:pipeline-run-spec:pipelineSpec:tasks:-name:tasktaskSpec:steps:-image:scratchname:stepIt will change thenameasgenerateNameto be unique.You can skip some tasks to be inlined and be kept as referenced, you only have
to specify the switch--skip-inliningwith the name of the task to be
skipped. You can add multiple of them separated by comma, i.e:--skip-inlining=task1,task2By defaulttektonbundlewill print every yaml files from the directory or
files you have given even those that are not bundled (i.e: non tekton files). If
you don't want this behavior you can add the option--only-bundledand it will
only print the 'bundle' file.Substition support via parameters.tektonbundlesupport simple template substitions if you need to specify some value before applying.If you have the stringkey: {{value}}in your template (no spaces in between).And you launch the CLI with this arguments :tektonbundle/path/to/dirvalue="hello"The value of the template would be substited with the value you have provided.If no value has been provided, it will be kept as is (you will end up with akey: {{value}}in your template).=======
History0.3.0 (2020-12-11)Print ignored files too
Allow passing files instead of just directory0.1.0 (2020-10-20)First release on PyPI.
Package: tekton-neat
Tekton NeatExport your tekton templates neatlyFree software: MIT licenseFeaturesLikekubectl neat,tekton-neatcleanup  a  yaml coming from a live object and cleans it so you can easily re-import or inspect it.ScreenshotIt will take some live template like this :To this :Install$pip3install-Utekton-neatUsageYou can pipe it :$kubectlgetpipelinerunmy-dear-pipeline|tekton-neat|kubectlapply-f-Or just point to the files directly :$tekton-neatfile1.yamlfile2.yamlAUTHORSChmouel Boudjnah <chmouel@chmouel.com>CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.2.0 (2020-11-06)Cleanup doc0.1.0 (2020-11-06)First release on PyPI.
Package: tektronix
tektronixtektronixis a Python 3.8+ package providing modules and helpers to work
with data files fromTektronixtest equipment.DependenciesRuntime DependenciesnumpyDevelopment DependenciesinvokenoseunipathSupport Tektronix EquipmentSpectrum AnalyzersBelow are the modules available in the tektronix package and the
compatible equipment for each module:rsa500: RSA500 spectrum analyzerContributingUse the following commands to create a Python virtualenv usingpyenvandpyenv-virtualenv, install the requirements in the virtualenv, and list the
availableInvoketasks.$brewinstallpyenvpyenv-virtualenv
$pyenvinstall3.11.6
$pyenvvirtualenv3.11.6tektronix
$pyenvactivatetektronix
$pipinstall--upgradepip
$pipinstall-rrequirements.txt
$inv-lSample CSV and other data filesCurrently, the only sample files tested are the CSV files from a N9340B
and E4411B spectrum analyzer. If you have other data files saved from a
Keysight/Agilent/HP piece of test equipment and are willing to share it,
please open an issue or submit a pull request to let us know.ContributingContributions are welcome! To contribute please:Fork the repositoryCreate a feature branchCodeSubmit apull requestTestingLicensetektronixis released under the MIT license. Please see theLICENSE.txtfile
for more information.
Package: tektronixosc
Tektronix OscilloscopeInterface for Tektronix Oscilloscopes.FeaturesBasic support for model TBS1072CInstallationTo install the Tektronix Oscilloscope Interface, run this command in your terminal:$ pip install tektronixoscNote that usage in Windows will require theNI-VISA driver.UsageTo use Tektronix Oscilloscope in a project:from tektronixosc import Oscilloscope

osc = Oscilloscope()
# Get signal data from first channel
data = osc.channels[0].get_signal()ThanksMany thanks to the Measurement Engineering Group, since this project is a fork of their projectkeysightosc.ChangelogThis project follows the guidelines ofKeep a changelogand adheres toSemantic versioning.0.1.1- 2023-10-07AddedFunctions to get and set the horizontal scale, record length and presample time.Functions to get and set the sample rate (calculated from the horizontal scale).Functions to get and set the presample ratio (calculated from the presample time).ChangedChanged visa command in x_increment function._data_stop variable is now set to the record length in the constructor.Changed url in setup.py to github project website.0.1.0- 2023-08-01AddedFiles from keysightosc library.Some functions described in the tektronix visa command guide.ChangedUpdated all keysightosc functions to work with tektronix devices.
Package: tektronixsg
Tektronix Signal Generator InterfaceInterface for Tektronix signal generators.FeaturesSupport basic functions for model AFG31052Support basic functions for model AFG1022InstallationTo install the Tektronix Signal Generator Interface, run this command in your terminal:$ pip install tektronixsgNote that usage in Windows will require a driver, for example theIO Libraries Suiteby Keysight.UsageExample how to use tektronixsg:from tektronixsg import SignalGenerator
sg = SignalGenerator()
# Set the voltage amplitude of the first channel to 1V
sg.channels[0].voltage_amplitude = 1
# Set the signal type of the first channel to sine
sg.channels[0].signal_type = "sine"
# Set the frequency of the first channel to 100 kHz
sg.channels[0].frequency = 1e5
# Enable the output of the first channel
sg.channels[0].output_on = TrueChangelogThis project follows the guidelines ofKeep a changelogand adheres toSemantic versioning.0.1.0- 2022-12-01AddedFirst preview release.
Package: tekuila
Interface for querying your ISP download quota.“Have you had to much to download?”VersionsWorks with python 2.7, 3.4, 3.5Pull your ISP Quota and act on it.Supported ISPs:TekSavvyStart.caTo avoid using command line flags create a config file at:~/.tekuilaPlace the following variables within the config file:API=<your API KEY from https://myaccount.teksavvy.com/ApiKey/ApiKeyManagement>
CAP=<your cap in GB>
WARN_RATIO=<ratio % to warn in 0.1 increments up to 1.0>InstallationTo install, run the following:pip install tekuilaOr, if you wish to install the latest from source:git clone https://github.com/mikeodr/tekuila
cd tekuila
python setup.py installAPI UsageReadTheDocs.Console UsageConsole command help:tekuila -h
usage: tekuila [-h] [-c CONFIG] [--cap CAP] [--api API] [--warn WARN] [-v]
               [-s] [--version]

Check TekSavvy Cap

optional arguments:
  -h, --help            show this help message and exit
  -c CONFIG, --config CONFIG
                        Alternative config file
  --cap CAP             Your cap in GB, causes nonzero return code if exceeded
  --api API             API Key
  --warn WARN           Warn ratio against data cap, causes nonzero return
                        code if exceeded, in range 0.1 to 1.0
  -v, --verbose         Show output, don't just use return code
  -s, --startca         Use StartCA instead of TekSavvy API
  --version             show program's version number and exitPull Requests and IssuesPull requests very much welcome.
Check that it complies with pep8, please make sure the documentation builds.Please use elementary commits vs big commits and try and have your commit
messages be detailed. See Tim Pope’s excellentGuide.LicenseGPLv2
Package: telaio
TelaioA toolset to work with video files.Requirementsffmpegis required to run this package. It can be installed with:sudoaptinstallffmpeg# for Debian-based systemsyuminstallffmpeg# for Red Hat-based systemsbrewinstallffmpeg# for macOSInstallationpipinstalltelaioTo install the package locally, run:pipinstall-e.UsagefromtelaioimportVideoFilevideo=VideoFile("path/to/video.mp4")video.fps# Average frames per second for the videovideo.width# Width of the video framesvideo.height# Height of the video framesvideo.frames_count# Number of frames in the videovideo.first_frame()# Get the first frame of the video# Memory efficient way to iterate over the frames:for(frame_id,frame_data)invideo.frames():print(frame_id,frame_data.shape)