Saravanan666/pypi-org huggingface dataset:
Package: tbx
AboutPython Toolbox aka TBX is a collection of very different tools created over the years to simplify my coding.
As a library, this has no purpose by itself and should be used by other projects.Project url :https://github.com/ronhanson/python-tbxDescriptionThe library contains several unrelated tool collections :tbx.bytes- Byte manipulationAllows encoding and decoding of various formats.tbx.code- Useful coding toolsSingleton, method documentation parsing, module lazy-load, serializable object, etc.tbx.file- File manipulationRecursive file listing, linux based unzip/untar/etc.tbx.ftp- FTP Server helpersServer creation helpers, event handlers. Based on awesome pyftpdlib.tbx.log- Logging helpersHelps with logging configuration from settings file.tbx.network- Network helpersProvides a dummy socket client and a get_local_ip_address function.tbx.process- Multiprocessing helpersProvides a versatile “execute” function, but also a daemonize function, and some more.tbx.sequential- File sequence detectionProvides useful detection of file sequence.tbx.service- Service helpersA class allowing to build a small loop-based service in no time.tbx.settings- Settings helpersAllows to easily retrieve and validate settings file.tbx.snmp- SNMP helpersSmall helper to send a snmp request throught pysnmp.template- Templating helpersProvides useful helpers for Jinja templating system.tbx.text- Text manipulation toolsIncludes dict to XML/HTML/Text functions. Provides a simple sendmail method and miscellaneous text related methods.tbx.env_settings- Environment based settingsDeprecatedUsageJust look at the code as it is commented for your to understand its usage.No big doc made yet. This is more of a personal collection of snippets and tools.But if somebody is interested or requests it, I will make a better doc.CompatibilityThis libraries are used most on Linux and OSX systems, but plenty of functions may work on windows.This libraries are compatibles with Python 2.X and Python 3.X.Mainly tested on 2.7 and 3.4.Author & LicenceCopyright (c) 2010-2015 Ronan DelacroixThis program is released under MIT Licence. Feel free to use it or part of it anywhere you want.
Package: tbx.aws
AboutPython Toolbox aka TBX is a collection of very different tools created over the years to simplify my coding.
As a library, this has no purpose by itself and should be used by other projects.*tbx.aws*- this specific project relates to Amazon Web Services, and specific wrappers around boto3 library for handling EC2  and Route53 features more easily.Project url :https://github.com/ronhanson/python-tbx-awsDescriptionThe library contains several unrelated tool collections :tbx.aws- contains AWS EC2 and Route53 wrappers around boto3 libraryUsageJust look at the code as it is commented for your to understand its usage.No big doc made yet. This is more of a personal collection of snippets and tools.But if somebody is interested or requests it, I will make a better doc.CompatibilityThis libraries are used most on Linux and OSX systems, but plenty of functions may work on windows.This libraries are compatibles with Python 3.3+.Mainly tested on 3.6.Author & LicenceCopyright (c) 2010-2015 Ronan DelacroixThis program is released under MIT Licence. Feel free to use it or part of it anywhere you want.
Package: tbxi
tbxi: the Mac OS Toolbox Imagertbxiis a command-line Python script to help with the inspection and
modification of Macintosh Toolbox ROM images. These images contain
varying amounts of high-level Mac OS code and low-level boot code.tbxihas two modes, both with a--helpoption:tbxi dumpconverts a ROM image to a tree of self-describing text
files and small binaries.tbxi buildrebuilds the image as accurately as possible.In between running the two commands, the directory tree can be modified.
The text-file formats produced bytbxi dumpare designed to be easily
editable using text editors and scripts.Patch LibraryThis repository contains known-good scripts to patch the ROM, for
example to add Mac mini G4 support to Mac OS 9:https://github.com/elliotnunn/tbxi-patchesPatches can be applied to a dumped directory or the the ROM file itself.Background"OldWorld" (pre-USB) Macs contain a real physical ROM. "NewWorld" Macs
(iMac and later) have an unusual "ROM in RAM" arrangement, which retains
compatibility with the ROM-based architecture of the Mac OS while easing
software updates. An almost-complete legacy ROM image is loaded from the
"Mac OS ROM" file in the System Folder (type code 'tbxi'), leaving only
a minimal Open Firmware "Boot ROM" in the hardware.During the progression from 68k ROMs to NewWorld PowerPC ROMs, multiple
layers of wrapping and abstraction were added. These are reflected in
the multi-level output oftbxi dump:Open Firmware bootinfo file (Mac OS ROM=>Bootscripttextfile + binaries)structured binary of "Parcels" (Parcels=>Parcelfiletextfile + binaries)4 MB PowerPC ROM (MacROM=>Configfile-1textfile + binaries)3 MB 68k ROM (Mac68kROM=>Romfiletextfile + binaries)BugsSome very quirky PowerPC OldWorld ROMs (e.g. PowerBook 1400/2400) cannot
be rebuilt correctly. NewWorld ROMs of version 2 or later (Sawtooth G4)
will be slightly different due to an uninitialised buffer in the
original build process.ROM images predating before the "SuperMario" ROM (Quadra 660AV/840AV)
are not supported, excluding most 68k Mac ROMs.Thetbxi dumpformat is likely to change. If you keep a collection of
dumped ROM images to peruse, re-dump them regularly.ContributingYes please! Bug reports, suggestions and requests are welcome. Open a
GitHub pull request or image, or get in contact via the email on the
PyPI page.All are welcome on our retro Mac-hacking mailing list:https://lists.ucc.gu.uwa.edu.au/mailman/listinfo/cdg5
Package: tc
ContentsSummaryAuthorsChanges0.7.20.7.10.7.00.6.00.5.00.4.00.3.00.2.00.1.0DownloadSummaryPython bindings for theTokyo Cabinetdatabase.This code is heavily based onpytcdeveloped by Tasuku SUENAGA.AuthorsRasmus Andersson<rasmus at notion se>Tasuku SUENAGA <gunyarakun sourceforge net>Changes0.7.2Fixed missing storage for tc.Error0.7.1Branched from pytc into tc by Rasmus AnderssonTotal refactoring including layoutAdded Python 2.6 and 3.0 compatibilityAdded documentation0.7.0Added Python 2.4 compatibility. Thanks to Vernon Tang.Allow negitive values on optimize and tune methods of pytc.BDB and pytc.HDB. Thanks to Vernon Tang.removed unnecessarily links(libz and libm). Thanks to Vernon Tang.0.6.0supports BZIP options for HDB/BDB0.5.0added addint/adddouble for HDB/BDBraise KeyError instead of TCENOREC. Thanks to Hatem Nassrat.0.4.0removed compile errors on Tokyo Cabinet 1.3.19.0.3.0modified setup.py for darwinadded TCBDB.range and TCBDB.rangefwm0.2.0added iterkeys/itervalues/iteritems for HDB/BDBbug fixed when spcified db[:] (thanks a2c)refactoring0.1.0first versionhdb interface (thanks much for Shin ADACHI)bdb interfaceDownload
Package: tc2
TorchCraft 2(aka StarCraft Gym)The fastest, easiest way to useStarCraftas a reinforcement learning environment.And all you have to do to get started ispip installit.MotivationResearchers are eager to useStarCraft-based environments for RL experiments. But the process of gettingStarCraftup and running can be time-consuming, and most environments aren't easy to use out of the box.TorchCraft 2 offers simple (one-touch!) installation, an easy-to-use Gym interface, and multiple challenges/baselines out of the box.In addition, we've worked with Blizzard to allow to TorchCraft 2 to includefirstlegal distribution ofStarCraft: Brood Warbinaries. This will enable the public to use TorchCraft 2 without having to acquire their own copies ofStarCraft, or having to install it.See theproject proposalfor details.RoadmapWith those ready, we're aiming to launch TorchCraft 2 internally for experiments and beta testing. From there, the plan is:Integration with TorchCraft (deprecating the original Lua/Python APIs)Pre-compiled binary distribution on PyPyPublic release, PR, and tutorial contentThe full roadmap liveson GitHubUsageBuilding TorchCraft 2 for developmentThis is how I recommend using TorchCraft 2 at the moment:git clone --recursive https://github.com/fairinternal/TorchCraft2/ tc2
cd tc2

conda create --name tc2 python=3 pip
source activate tc2
conda install pip cmake pybind11 numpy
conda install -y -c conda-forge sdl2 zstd
conda install -y -c anaconda zeromq
pip install -e .Downloading required Starcraft filesOnce you have installedtc2, you have to download StarCraft data files (MPQ files). We provide you with
a tool to do that just for you - we can't provide them right away because we need you to read and accept Blizzard's EULA first.tc2-setupDemoThis demo (run_demo.py) creates a StarCraft gym environment and controls an agent using a simple "attack the middle" policy.import gym
import tc2
from tc2.agents import attack_middle

env = gym.make('tc2-demo-v0')
while True:
  env.reset()
  actions = []
  done = False
  while not done:
    observation, reward, done, info = env.step(actions)
    actions = attack_middle(observation)Running the TorchCraft 2 demo:python3 run_demo.py
Package: tc2calc
tc2calcPython Boilerplate contains all the boilerplate you need to create a Python package.Free software: MIT licenseDocumentation:https://tc2calc.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2020-03-26)First release on PyPI.
Package: tc2calcu
tc2calcuPython Boilerplate contains all the boilerplate you need to create a Python package.Free software: MIT licenseDocumentation:https://tc2calcu.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2020-03-26)First release on PyPI.
Package: tc2calcul
tc2calculPython Boilerplate contains all the boilerplate you need to create a Python package.Free software: MIT licenseDocumentation:https://tc2calcul.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2020-03-27)First release on PyPI.
Package: tc2calculator
tc2calculatorAdds and subtracts 2 number - demo projectFree software: MIT licenseDocumentation:https://tc2calculator.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History1.0 (2020-03-26)First release on PyPI.
Package: tc2calculator2020
tc2calculator2020Add and substract 2 numbersFree software: MIT licenseDocumentation:https://tc2calculator2020.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2020-03-27)First release on PyPI.
Package: tc2-hw
tc2_hwPython Boilerplate contains all the boilerplate you need to create a Python package.Free software: MIT licenseDocumentation:https://tc2-hw.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2020-03-17)First release on PyPI.
Package: tcabci-read-client
tcabci-read-python-clientIt is used to listen to the read nodes of TransferChain and send requests to the Block Explorer.InstallationThis client requires python>=3.8pipinstalltcabci-read-clientpipinstallgit+https://github.com/TransferChain/tcabci-read-python-client@mainConstantsRead node websocket urlwss://read-node-01.transferchain.io/wsRead node http urlhttps://read-node-01.transferchain.ioExamplesread-node event listener and subscribe examplefromtcabci_read_clientimportWsClientdefmessage_callback(message):print(f"Received message:{message}")deferror_callback(error):print(f"Error:{error}")client=WsClient("wss://read-node-01.transferchain.io/ws",message_callback=message_callback,error_callback=error_callback)client.start()client.subscribe(['addresses'])client.unsubscribe(['addresses'])client.get_subscribe_addresses()Http client examplefromtcabci_read_clientimportHttpClientclient=HttpClient("https://read-node-01.transferchain.io")client.get_last_block()'''client.tx_search params;limit, order_field,offset,order_by,hashes,typ,sender_addrs,recipient_addrs'''client.tx_search(sender_addrs='test_address',recipient_addrs='test_address2')client.broadcast(tx_id="",version=1,fee=0,data="",sign="",tx_type="",sender_address="from",recipient_address="to")LicenseMIT
Package: tcafe-attending-bot
TCafe attending bot아이디 설정OS 별XDG_DATA_DIRS이 해당하는 곳에 설정(복수 설정 가능)Linux의 경우/home/<$HOME>/.local/share/tcafe/usr/local/share/tcafe/usr/share/tcafe해당 디렉토리들에accounts.json이름으로 다음의 템플릿을 참고하여 내용을 작성[{"id":"ididid","password":"password"},{"id":"ididid2","password":"password2"}]실행패키지 설치 후tcafe_attending_bot
Package: tcapy
tcapy is a Python library for doing transaction cost analysis (TCA), essentially finding the cost of your trading activity.
Across the industry many financial firms and corporates trading within financial markets spend a lot of money on TCA, either
by developing in house tools or using external services. It is estimated that the typical buy side equities trading desk
spends around 225k USD a year on TCA (see MarketsMedia report athttps://www.marketsmedia.com/tca-growth-fueled-regulators-investors/).
Many sell side firms and larger buy side firms build and maintain their own TCA libraries, which is very expensive. The cost of TCA
across the industry is likely to run into many hundreds of millions of dollars or possibly billions of dollars.Much of the complexity in TCA is due to the need to handle large tick datasets and do calculations on them and is largely a
software engineering problem. This work needs to be repeated in every single implementation. By open sourcing the library
we hope that the industry will no longer need to keep reinventing the wheel when it comes to TCA. At the same time,
because all the code is visible to users, tcapy allows you can add your own customized metrics and benchmarks,
which is where you are likely have very particular IP in financial markets. You get the flexibility of a fully internal
TCA solution for free.tcapy is one of the first open source libraries for TCA. You can run the library on your own hardware, so your trade/order
data can be kept private. It has been in development since June 2017, originally for a large asset manager and was open
sourced in March 2020.We’ve made tcapy to be vendor independent, hence for example it supports, multiple database types for storing
market tick data (including Arctic/MongoDB, KDB and InfluxDB) and for trade/order data (including MySQL, PostgreSQL and
Microsoft SQL Server). As well as supporting Linux (tested on Ubuntu/Red Hat) - also it also works on Windows
(need Windows Subsystem for Linux to make all features accessible)tcapy has also been written to distribute the computation and make a lot of use of caching. In the future, we are hoping to
add features to make it easy to use serverless computing features on the cloud. Since you can see all the code, it also
makes the TCA totally transparent. If you are doing TCA for regulatory reasons, it makes sense that the process should
be fully open, rather than a black box. Having an open source library, makes it easier to make changes and fitting it to your
use case.
Package: tcarlae
T. carlaeMinimal Python repository with a simple development workflow. Share and enjoy!Workflow$gitclonehttps://gitlab.com/lfdo/tcarlae.git
$cdtcarlae
$pdminstall--dev
$pdmruntcarlae
Helloworld!Alternatively:$pdmrunpython-mtcarlae.cli
Helloworld!And to publish:$gittag-a2.0.0-m"Version 2.0.0"$pdmpublish# uses tag for version numberSharing and contributionsT. carlae
https://lofidevops.neocities.org
Copyright 2023 David Seaward and contributors
SPDX-License-Identifier: CC0-1.0You can copy and modify this project freely and without credit. It's mostly
uncopyrightable anyway.ColophonThe Barbados threadsnake (known as Tetracheilostoma carlae or T. carlae) is the
smallest known snake species in the world.
Package: tc-aws-video
Thumbor AWSInstallationpipinstalltc_aws_videoAuthenticationAuthentication is handled by botocore,
seeBoto3 documentation.Origin storyIf you store the images or videos in s3 compatible storage , such as aws , minio etc.And now, you want to access the images or the first frame of the videos on it.This is a custom loader will help you to do this!Featuresversionloaderpython versionchange log descv1.0.2tc_aws_video.s3_video_loaderpython2Add feature to cut the first frame of videov1.1.2tc_aws_video.loaders.s3_video_loaderpython2Optimize code to speed up loadingv2.0.1tc_aws_video.loaders.s3_video_loaderpython3+Optimize code to speed up loadingv2.0.2tc_aws_video.loaders.s3_video_loaderpython3+Fix 502 to 404 while video not existedAdditional Configuration values used:# Reuse tc_aws configs# If you have credentials in ~/.aws/credentials ,# then you can ignore TC_AWS_LOADER_ACCESS_KEY and TC_AWS_LOADER_SECRET_KEYTC_AWS_REGION='your-s3-region'TC_AWS_ENDPOINT='your-s3-endpoint'TC_AWS_LOADER_ACCESS_KEY='your-s3-accesskey'TC_AWS_LOADER_SECRET_KEY='your-s3-secret'# Customize the temp storage for first frame of video# The loader will delete the temp file while it read it into memoryTC_AWS_LOADER_VIDEO_FRAME_CACHE='/path/to/your/cache'# Enable this loader# When using v1.0.2# LOADER = 'tc_aws_video.s3_video_loader'# When using v1.1.2+LOADER='tc_aws_video.loaders.s3_video_loader'# Pay attention to this config# If you have cdn to access this , then you can set to no_storage# STORAGE = "thumbor.storages.no_storage"# else if you just want to cache the file into local storage , you can use file_storage# but you should remember , if you use the file_storage , the files will persistent in the file system until you remove themSTORAGE="thumbor.storages.file_storage"STORAGE_EXPIRATION_SECONDS=900FILE_STORAGE_ROOT_PATH='/path/to/you/cache'RESULT_STORAGE='thumbor.result_storages.file_storage'RESULT_STORAGE_EXPIRATION_SECONDS=900RESULT_STORAGE_FILE_STORAGE_ROOT_PATH='/path/to/you/cache'RESULT_STORAGE_STORES_UNSAFE=True
Package: tcCalc3
Simple Python Math CalculatorThis package is a simple math calculator. It has basic operations such as addition, subtraction,
multiplication, and division. Additionally, it also has the ability to find the nth root. This calculator
will store all values computed until the memory is reset.InstallationInstalling tcCalc3 with pippip install tcCalc3FeaturesAdditionSubtractionMultiplicationDivisionnth RootMethods.memory()-Return the current value stored in the calculator's memory.add(num)-Add value to the calculator's current value..subtract(num)-Subtract value from the calculator's current value..multiply(num)-Multiply value of the calculator's current value..divide(num)-Divide value of the calculator's current value..nroot(num, n)-Calculate the nth root of a number..reset()-Reset the calculators value in memory back to zero.Usagefrom tcCalc.calculator import Calculator

# Initialize instance
calculator = Calculator()

# Calling the methods

>>> calculator.add(10)
10

>>> calculator.subtract(3)
7

>>> calculator.multiply(3)
21

>>> calculator.divide(3)
7

>>> calculator.nroot(81,2)
9

>>> calculator.memory()
7

>>> calculator.reset()
0
Package: tcCalculator
Simple Math CalculatorThis is a simple math calculator. It has the basic operations such as addition, subtraction,
multiplication, division. It also has capabilites to find the nth root. This calculator has
a memory so it stores all the computed values until the memory is reset.InstallationInstall tcCalculator with pippipinstalltcCalculatorFeaturesAddition operationSubtraction operationMultiplication operationDivision operationnth Root operationUsage/ExamplesfromtcCalculatorimportcalculate#initialize instancecalculate=calculate()#calling methods>>>calculate.add(2)2>>>calculate.add(4)6>>>calculate.add(2)8>>>calculate.root(3)2.0>>>calculate.subtract(0.5)1.5>>>calculate.reset()>>>calculate.memory()0
Package: tcclient
tcclientCross-platform tool to work with the TeamCity using REST API. The main goal is to run TeamCity configuration remotely,
for example, from a Telegram bot.InstallationFor most users, the recommended method to install is via pip:pip install tcclientImportfromtcclientimportTCRestClientUsageCommand from usual user:importosfromtcclientimportTCRestClienttoken=os.environ['TOKEN']base_url="https://tc.test.local:8080"client=TCRestClient(base_url=base_url,token=token)projects=client.get_all_projects()print(projects.json())Changelog0.0.4 (17.04.2022)external logger added...0.0.2 (22.09.2021)New methods added:get_project_parameters()get_project_parameter()set_project_parameter()get_bt_parameter()0.0.1.post1 (28.03.2021)minor fixes (typo and github link)0.0.1 (28.03.2021)initial commit
Package: tccli-intl-en
Installpipinstalltccli-intl-encomplete-C'tccli_completer'tccliConfigure$tccliconfigureTencentCloudAPIsecretId[*afcQ]:AKIDwLw1234MMfPRle2g9nR2OTI787aBCDPTencentCloudAPIsecretKey[*ArFd]:OxXj7khcV1234dQSSYNABcdCc1LiArFdregion:ap-guangzhououtput[json]:SecretId: Cloud API key SecretId. SecretIKey: Cloud API key SecretKey. Region: Tencent Cloud services region. Please move to the corresponding product page to get the available region. Output: optional parameter, request return packet output format, support [ Json table text] three formats, default is json. For more information, please perform tccli configure help view.Note: if the environment variable defines the relevant configuration, it takes precedence over the configuration file. They are TENCENTCLOUD. _ SECRET _ ID,TENCENTCLOUD _ SECRET _ KEY,TENCENTCLOUD _ REGION .UsagetcclicvmRunInstances--InstanceChargeTypePOSTPAID_BY_HOUR--Placement'{"Zone":"ap-guangzhou-2"}'--InstanceTypeS1.SMALL1--ImageIdimg-8toqc6s3--SystemDisk'{"DiskType":"CLOUD_BASIC", "DiskSize":50}'--InternetAccessible'{"InternetChargeType":"TRAFFIC_POSTPAID_BY_HOUR","InternetMaxBandwidthOut":10,"PublicIpAssigned":true}'--InstanceCount1--InstanceNameTCCLI-TEST--LoginSettings'{"Password":"P1easeChange1t@"}'--HostNameTCCLI-HOST-NAME1Note: If a parameter is not a basic type (number or string), you need to specify a json string format. For example, above parameterPlacementis a dictionary object, so its format is a quoted json string‘{“Zone”:”ap-guangzhou-2”}’. For list type parameter, such asSecurityGroupIds, its format is a quoted json string like[“sg-1q2w3e4r”].
Package: tc-core-analyzer-lib
# tc-core-analyzer[![Maintainability](https://api.codeclimate.com/v1/badges/116d55363d2feda928d5/maintainability)](https://codeclimate.com/github/TogetherCrew/core-analyzer-lib/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/116d55363d2feda928d5/test_coverage)](https://codeclimate.com/github/TogetherCrew/core-analyzer-lib/test_coverage)This repository is made for togethercrew core-analyzer scripts that could be used across different platforms. To install this library`bash pip installtc-core-analyzer-lib`Usage:`Python from tc_core_analyzer_lib.assess_engagement import EngagementAssessment `