Saravanan666/pypi-org huggingface dataset:
Package: bytecomp
Bytecomp v1.1.0Utilities for working with bytecode.Magic:importbytecompbytecomp.MAGIC# Returns MagicPYC Headers:importbytecompbytecomp.HEADER# Returns .pyc Headerbytecomp.generate_header()# Also returns a .pyc headerCompiling Bytecode:importbytecompcode_object=compile("""print('Hello!')""",'file','exec')pyc=open('compiled.pyc','wb')pyc.write(bytecomp.compile_object(code_object))pyc.close()# Above code generates a working .pyc file from a code object.Executing Bytecode:importbytecompcode_object=b'U\r\r\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00@\x00\x00\x00s\x0c\x00\x00\x00e\x00d\x00\x83\x01\x01\x00d\x01S\x00)\x02z\x03Hi!N)\x01\xda\x05print\xa9\x00r\x01\x00\x00\x00r\x01\x00\x00\x00\xda\x03idk\xda\x08<module>\x01\x00\x00\x00\xf3\x00\x00\x00\x00'bytecomp.exec_bytecode(code_object)# Above code executes the bytes-like object (Can have a header or not have a header)Removing a header from Bytecode:importbytecompbytecomp.remove_header(b'U\r\r\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00@\x00\x00\x00s\x0c\x00\x00\x00e\x00d\x00\x83\x01\x01\x00d\x01S\x00)\x02z\x03Hi!N)\x01\xda\x05print\xa9\x00r\x01\x00\x00\x00r\x01\x00\x00\x00\xda\x03idk\xda\x08<module>\x01\x00\x00\x00\xf3\x00\x00\x00\x00')# Above code removes the header (First 16 bytes) so you can unmarshal it and execute itEncrypting Bytecode:importbytecompcode_object=compile("print('This is a test.')",'file','exec')crypted=bytecomp.crypt_bytecode(code_object)# Above code returns a string, which can be executed with the code below.Executing Encrypted Bytecode:importbytecompbytecomp.exec_crypted('c%0*YdNS#d&&L@bBZH4CS3P4z1MEQT3dCicKq7%Pk+qG5g*A~Sj8%udo+~gnr%V-yQdA2Q$_ll;by)5*l$PgY7p`F~2WbQo_ZgFOG869eT4rP=7Gx$^vjD}ufs6(KfJq*%')# Above code executes the encrypted code we made earlier.Bytecompis created by DeKrypt.Support the project!Leave a star.
Package: byte-converter
Byte ConverterDevelopment Build:InstallationInstall python with version >= 3.6 and pip.Install package withpython3-mpipinstall--upgradebyte-converter--userUsageBasic typesfrombyte_converterimportto_bytes,read_bytesint_bytes=to_bytes(int(input("Write a number: ")))dict_bytes=to_bytes({"a":13*2,"b":"asdf"})Own objectfrombyte_converterimportto_bytes,read_bytesclassUser:bc_ignore_attributes=["this_attribute_will_be_ignored"]# you can use regex alsothis_attribute_will_be_ignored=13def__init__(self,username,password):self.username=usernameself.password=passworduser=User(input("username: "),input("password: "))user_in_bytes=to_bytes(user)user=read_bytes(user_in_bytes,parsable_classes=[User])If you wan't to read objects, you must set aparsable_classesargument for reading with a list of readable classes.Ignore or whitelist attributesSet thebc_ignore_attributesattribute to a list of name of attributes, which will be ignored. (You can use regex).
Set thebc_whitelisted_attributesattribute to a list of name of attributes. Only these attributes will be saved and all other attributes will be ignored, if you set this attribute to a list.Parsable typesThese types are parsableNoneTypeboolintfloatstrlistdictOwn objects (no built-in objects)
Package: bytedance
安装pipinstallbytedance引入和初始化frombytedanceimportByteDancett_app=ByteDance(# 核心配置app_id='app_id',app_secret='app_secret',# 支付相关配置，可以不配置mch_id='mch_id',mch_secret='mch_secret',mch_app_id='mch_app_id',access_token_type='auto',# 保存access_token的方法redis={'host':'127.0.0.1','port':6379},# redis 的配置ac_path='path'# 如果指定access_token_type = file的时候，指定路径用，不指定就是根目录)参数名类型默认值说明app_idstr小程序的appidapp_secretstr小程序的secretmch_idstr商户idmch_secretstr商户密钥mch_app_idstr商户appidaccess_token_typestrauto保存access_token的方法，可选项有auto、redis、file；auto会检查是否有redis，有就启用redis存access_token；file就会把access_token存到根目录redisdict{“host”:”redis”,”port”:6379,”decode_responses”:True}当access_token_type配置为auto或者redis的时候，可以配置redis连接参数，参考https://pypi.org/project/redis/文档ac_pathstraccess_token 保存文件路径，当access_token_type配置为file或者auto下没有安装redis库的时候启用，默认是根目录API使用登录code换取session和openiddata=tt_app.code2Session(code='code')print(data)print(data.openid)参数名类型默认值说明codestr从前端小程序获取到的codeanonymous_codestr从前端小程序获取到的anonymous_code，头条系app可能是在匿名下使用，这个时候就只能拿到anonymous_codecode和anonymous_code均可登录返回值可以使用data.openid这种方式访问属性官方文档：https://microapp.bytedance.com/docs/zh-CN/mini-app/develop/server/log-in/code-2-sessionset_user_storage 存用户数据data=tt_app.set_user_storage(openid,session_key,kv_list,sig_method="hmac_sha256")print(data)更多信息查看官方文档https://microapp.bytedance.com/docs/zh-CN/mini-app/develop/server/data-caching/set-user-storageremove_user_storage 删除用户数据data=tt_app.remove_user_storage(openid,session_key,key_list,sig_method="hmac_sha256")print(data)更多信息查看官方文档https://microapp.bytedance.com/docs/zh-CN/mini-app/develop/server/data-caching/remove-user-storagecreate_qrcode 获取小程序/小游戏的二维码data=tt_app.create_qrcode(appname=None,path=None,width=None,line_color=None,background=None,set_icon=None)请注意，这个api如果正确将返回完整的response而不是json，因为内容是包含了一个二维码图片错误的话依然是json数据更多信息查看官方文档https://microapp.bytedance.com/docs/zh-CN/mini-app/develop/server/qr-code/create-qr-codetemplate_send 发送模板消息data=tt_app.template_send(touser,template_id,form_id,data,page=None)更多信息查看官方文档https://microapp.bytedance.com/docs/zh-CN/mini-app/develop/server/model-news/sendtext_antidirt 文本内容检测resp=tt_app.images_antidirt(tasks=[{"content":"要检测的文本"}])print(data,'>>images_antidirt')更多信息查看官方文档https://microapp.bytedance.com/docs/zh-CN/mini-app/develop/server/content-security/content-security-detectimages_antidirt 图片检测data=tt_app.images_antidirt([{"image":"http://pic.jj20.com/up/allimg/mn02/062QZ1021Z62P10251-0.jpg"}])print(data,'>>images_antidirt')更多信息查看官方文档https://microapp.bytedance.com/docs/zh-CN/mini-app/develop/server/content-security/picture-detectsubscribe_send 订阅消息推送data=tt_app.subscribe_send(tpl_id,open_id,data,page=None)更多信息查看官方文档https://microapp.bytedance.com/docs/zh-CN/mini-app/develop/server/subscribe-notification/notify官方文档https://microapp.bytedance.com/docs/zh-CN/mini-app/develop/server/interface-request-credential/get-access-token
Package: byteformat
byteformat is a Python library and command line script for displaying numbers
of bytes as strings using standards-compliant human-readable units such as
‘23 KB’ or ‘1.25 terabytes’.Supports both official standards and the common de facto standard:SI decimal units, e.g. 1000 bytes = 1 KB;IEC binary units, e.g. 1024 bytes = 1 KiB;Mixed decimal names with binary sizes, e.g. 1024 bytes = 1 KB.Supports the full set of decimal prefixes from kilo- to yotta-
and the binary prefixes kibi- to yobi-.Generate strings using symbols (e.g. ‘KB’), abbreviated names
(‘Kbyte’) or full names (‘kilobyte’).Uses correct plural terms when needed.Automatically selects the best unit for a given number of bytes.Allows the caller to explicitly override that selection and select
which unit to use.Easily customise the output without subclassing.Importable as a Python library module.Runs as a command line script.
Package: bytegapbuffer
A Pythonbytearraywork alike which uses agap
bufferas underlying
storage. It is a data structure optimised for locally coherent
insertions and deletions. It is the usual data structure in text
editors.A utility class,codedstring, is provided which provides a string-like view
on abytegapbuffertransparently encodes and decodes Unicode strings. It
provides efficient common-case indexing.InstallationInstallation is viapip. To install the latest release version:$pipinstallbytegapbufferTo install the current development version from git:$pipinstallgit+https://github.com/rjw57/bytegapbufferUsageThebytegapbuffercollection aims to behave just like abytearray. For
example:frombytegapbufferimportbytegapbuffera=bytegapbuffer(b'hello')a.insert(3,65)a.insert(4,66)asserta==b'helABlo'StatusThis project is used as part of a personal project of mine and, as such,
implements just enough of the sequence, mutable sequence and bytearray
interface for my needs. Pull requests adding missing functionality are
welcome. Please also add a test for the functionality.Current features:Retrieving element(s) via[i],[i:j]and[i:j:k]style
slicing.Deletion of element(s) via[i],[i:j]style slicing.Insertion/replacement of element(s) via[i],[i:j]style slicing.Insertion of element viainsert().Length query vialen().Sub-sequence search viaindex()andfind()methods.Equality (and inequality) testing.Iteration over contents.Efficientcodedstringwrapper allowingbytegapbufferto be used as
underlying storage in a text editor.All of the above should work exactly as thebytearrayobject does.
(This is tested in the test suite.) Additional non-bytearrayfeatures:Deep copying viacopy()method.Test suiteThe test suite may be run via thetoxutility. The Travis builds are set up to run the test suite on the
latest released Python 2 and Python 3 versions.LicenceCopyright (C) 2015 Rich WarehamThis code is licensed under a BSD-style licence. See theLICENSEfile for details.
Package: byteline-sdk
Byteline Python SDKWebsite:https://www.byteline.ioThis document describes how to call Byteline REST APIs using the Python SDK.Messaging ServiceMessaging service is used to send emails or text messages.How to send emails?Installationpip install byteline-sdkUsageTo send emails using a template:Specify theapiKey,templateIdfrom your Bytelineconsole.templateParamsare the parameters defined in your template. See details athttps://www.byteline.io/email-service.html#templatesimport messaging

messaging.send_templated_email({apiKey}, {templateId}, 'myfriend@gmail.com', {templateParams})To send email using body:Specify theapiKeyfrom your Bytelineconsole.import messaging

messaging.send_email({apiKey},'Zoom Party','Let's talk tomorrow evening?','myfriend@gmail.com')
Package: bytemaker
bytemakerWhat is it?bytemakeris a Python 3.8-compatible zero-dependency package for byte serialization/deserialization. It ports C bitfield functionality over to Python in version 3.8 throughdataclass-decorated class annotations and provides a convenientBitsclass.What can you do with it?bytemakergives you the following:ABitsclass analogous to Python'sbytesandbytearrayclasses, but for sub-byte bit quantities.Bitsreadily supports conversion from and to both, as well as lists and bit/octet/hex strings.A set ofytypesclasses, including various-sized Bit classes, various-sized Byte classes, common C types (U8, U16, U32, U64, S8, S16..., and Float16, Float32, Float64), and factories to create these and chararrays to arbitrary bitcounts. All of these can be instantiated from their respective types, derive fromBits(and thus can be instantiated in the same wayBitsobjects can), and can be cast into each other in additional ways as needed.Support for serializing/deserializing@dataclassannotated classes, where the annotations can beytypes, Pythonctypes(c_uint8,ctypes.STRUCTURE, etc.), or Python native typespytypes(int,bool,char,float). Nested types? No problem!Automagic support for handling any of the aforementioned objects viaaggregate_types.to_bits_aggregateandaggregate_types.from_bits_aggregate.How do I install it?Runpython -m pip install bytemaker.Project intentThe main goal of the project is to ease development of projects working with compiled code (e.g. ROM hacking). As such, streaming features are currently deemphasized, although I may implement them at some later date.ErrataAt present, bytemaker assumes big-endianness (à la N64). Full support for reading from and writing to little-endian ROMs will come very soon.ctypessupport currently assumes development is done on a little-endian machine. This is the vast, vast, vast majority of consumer hardware today, unless you run a bi-endian machine and have set it to big-endian mode.
Package: bytemoji
bytemojiAdd a short description here!A longer description of your project goes here…Making Changes & ContributingThis project usespre-commit, please make sure to install it before making any
changes:pip install pre-commit
cd bytemoji
pre-commit installIt is a good idea to update the hooks to the latest version:pre-commit autoupdateDon’t forget to tell your contributors to also install and use pre-commit.NoteThis project has been set up using PyScaffold 4.1.1. For details and usage
information on PyScaffold seehttps://pyscaffold.org/.
Package: byteparsing
ByteparsingParser for mixed ASCII/binary data. Features:Works extremely well with memory-mapped Numpy arraysIncluded parsers:OpenFOAMThe project setup is documented ina separate
document.
See also theextended tutorial.InstallationWith pipTo install the latest release of byteparsing, do:pip install byteparsingWith GitHubTo install the latest version of byteparsing, do:git clone https://github.com/parallelwindfarms/byteparsing.git
cd byteparsing
pip install .Run tests (including coverage) with:python setup.py testContributingIf you want to contribute to the development of byteparsing, have a look
at thecontribution guidelines.LicenseCopyright (c) 2019, Netherlands eScience Center, University of GroningenLicensed 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.CreditsThis package was created withCookiecutterand theNLeSC/python-template.
Package: byteplus-rec
byteplus rec python sdkInstall the client librarypipinstall--upgradebyteplus-recSaas E-Commerce Examplefrombyteplus_rec.region.regionimportRegionfrombyteplus_rec.retail.retail_clientimportClientfrombyteplus_rec.retail.retail_client_builderimportClientBuilderfrombyteplus_rec_core.exceptionimportBizExceptionlog=logging.getLogger(__name__)# A unique identity assigned by Bytedance.PROJECT_ID="***********"# Unique id for this model.The saas model id that can be used to get rec results from predict api,# which is need to fill in URL.MODEL_ID="***********"# Required Param:#       tenant_id#       region#       AK#       SK# Optional Param:#       scheme#       hoststry:client:Client=ClientBuilder()\.account_id("***********")\.region(Region.SG)\.project_id(PROJECT_ID)\.auth_ak("***********")\.auth_sk("***********")\.build()exceptBizExceptionasclientE:log.error("fail to create byteplus rec client, msg:%s",clientE)if__name__=='__main__':client.write_users()client.predict()Saas Content(Short-Video/Image/Doc) Examplefrombyteplus_rec.region.regionimportRegionfrombyteplus_rec.content.content_clientimportClientfrombyteplus_rec.content.content_client_builderimportClientBuilderfrombyteplus_rec_core.exceptionimportBizExceptionlog=logging.getLogger(__name__)# A unique identity assigned by Bytedance.PROJECT_ID="***********"# Unique id for this model.The saas model id that can be used to get rec results from predict api,# which is need to fill in URL.MODEL_ID="***********"# Required Param:#       tenant_id#       region#       AK#       SK# Optional Param:#       scheme#       hoststry:client:Client=ClientBuilder()\.account_id("***********")\.region(Region.SG)\.project_id(PROJECT_ID)\.auth_ak("***********")\.auth_sk("***********")\.build()exceptBizExceptionasclientE:log.error("fail to create byteplus rec client, msg:%s",clientE)if__name__=='__main__':client.write_users()client.predict()How to run exampleTake the E-commerce industry as an example:clone the project.install requirements.add sdk root path to envs.enter the example directory.fill necessary parameters.run main.py.gitclonehttps://github.com/byteplus-sdk/byteplus-sdk-python-rec.gitcdbyteplus-sdk-python-rec
pip3install-rrequirements.txtexportPYTHONPATH=$PYTHONPATH:$PWDcdbyteplus_rec/retail/example# fill in projectID, modelID, tenantID, AK, SK and other parameters.python3main.pyFor more detailsSaas E-Commerce Code SampleSaas E-Commerce API ReferenceSaas Content Code SampleSaas Content API Reference
Package: byter
ByterPython reader/writer for binary objectsInstallationpip install -U byterUsage Examplewithopen("/path/to/binary/file","rb")asdata:has_data=read_bool(data)year=read_short(data)month=read_short(data)width=read_float(data)height=read_float(data)text=read_string(data,70)array=read_array(data,3,'unsigned_short')print("has_data:",has_data)print("year:",year)print("month:",month)print("width:",width)print("height:",height)print("text:":text)print("array:",array)>>has_data:Trueyear:2019month:9width:1280.0height:1024.0text:"Hello World!"array:[13,4,16]Types allowed to read/writeC TypePython typeSize in bytescharstring of length 11signed charinteger1unsigned charinteger1boolboolean1shortinteger2unsigned shortinteger2intinteger4unsigned intinteger4longinteger4unsigned longinteger4long longinteger8unsigned long longinteger8floatfloat4doublefloat8char[]stringMethodes allowedFor each C type from the table in the previous section, there is aread_and awrite_function that performs a reading/writing of a specified number of bytes from the binary object. For example,a=read_unsigned_long(data)will read 4 consequent bytes from the binary sourcedata.However, to read an array of chars (string) the method iss=read_string(data,s_len)It is also possible to read an array of bytes using the following method:arr=read_array(data,size,'unsigned_short')This will read a sequence of lengthsizeof unsigned ints,size  * 2bytes in total (shorttype is of 2 bytes).
Package: byterec
Torch-RecHubA Lighting Pytorch Framework for Recommendation Models, Easy-to-use and Easy-to-extend.安装pipinstalltorch-rechub主要特性scikit-learn风格易用的API（fit、predict），即插即用训练过程与模型定义解耦，易拓展，可针对不同类型的模型设置不同的训练机制使用Pytorch原生Dataset、DataLoader，易修改，自定义数据高度模块化，支持常见Layer（MLP、FM、FFM、target-attention、self-attention、transformer等），容易调用组装成新模型支持常见排序模型（WideDeep、DeepFM、DIN、DCN、xDeepFM等）支持常见召回模型（DSSM、YoutubeDNN、MIND、SARSRec等）丰富的多任务学习支持SharedBottom、ESMM、MMOE、PLE、AITM等模型GradNorm、UWL等动态loss加权机制聚焦更生态化的推荐场景冷启动延迟反馈去偏支持丰富的训练机制（对比学习、蒸馏学习等）第三方高性能开源Trainer支持（Pytorch Lighting等）更多模型正在开发中快速使用fromtorch_rechub.modelsimportWideDeep,DeepFM,DINfromtorch_rechub.trainersimportCTRTrainerfromtorch_rechub.basic.utilsimportDataGeneratordg=DataGenerator(x,y)train_dataloader,val_dataloader,test_dataloader=dg.generate_dataloader()model=DeepFM(deep_features=deep_features,fm_features=fm_features,mlp_params={"dims":[256,128],"dropout":0.2,"activation":"relu"})ctr_trainer=CTRTrainer(model)ctr_trainer.fit(train_dataloader,val_dataloader)auc=ctr_trainer.evaluate(ctr_trainer.model,test_dataloader)Note:所有模型均在大多数论文提及的多个知名公开数据集中测试，达到或者接近论文性能。使用案例：Examples每个数据集将会提供一个使用脚本，包含样本生成、模型训练与测试，并提供一套测评所用参数。一个预处理脚本，将原始数据进行预处理，转化成csv。数据格式参考文件（100条）。全量数据，统一的csv文件，提供高速网盘下载链接和原始数据链接。初步规划TODO清单
Package: bytes2string
A sample project that exists as an aid to thePython Packaging User Guide’sTutorial on Packaging and Distributing
Projects.This projects does not aim to cover best practices for Python project
development as a whole. For example, it does not provide guidance or tool
recommendations for version control, documentation, or testing.This is the README file for the project.The file should use UTF-8 encoding and be written usingreStructuredText. It
will be used to generate the project webpage on PyPI and will be displayed as
the project homepage on common code-hosting services, and should be written for
that purpose.Typical contents for this file would include an overview of the project, basic
usage examples, etc. Generally, including the project changelog in here is not
a good idea, although a simple “What’s New” section for the most recent version
may be appropriate.
Package: bytesbufio
Python package bytesbufiobytesbufio provides BytesBufferIO - an io.BytesIO implementation whose value can be accessed after it has been closedTest that shows the problem"Fixed" implementation - BytesBufferIOInstallationpip install bytesbufioUsageimportiofrombytesbufioimportBytesBufferIObytesbuf=BytesBufferIO()withio.TextIOWrapper(bytesbuf,encoding='utf-8')astextout:textout.write("Hello world.")text=bytesbuf.getvalue().decode('utf-8')# BytesIO would have raised an ValueError hereprint(text)RelatedPython Issue 22003 - BytesIO and shared bufferesPython Issue 23099 - value not available after closeLicenseCopyright (c) 2020 byCornelius Buschka.Apache License, Version 2.0
Package: byte-search
byte-searchInstallationpipinstallbyte-searchUsagefrombyte_search.indeximportSearchIndexdocs=["Contrastive Fine-tuning Improves Robustness for Neural Rankers","Unsupervised Neural Machine Translation for Low-Resource Domains via Meta-Learning","Spatial Dependency Parsing for Semi-Structured Document Information Extraction"]my_index=SearchIndex(text_list=docs,device='cpu',d_model=64)my_index.show_topk(query='machine translation',k=1)
Package: bytesinsert
DescriptionA library allows to insert one piece of code into another piece of code
secretly, without changing line numbers.The current version supports onlyPython 3.6. Also it allows to
insert only functions without arguments.UsageA library has a useful functioninsert_code, which inserts which
takes the original code, the code to insert and line number for
insertion. The simplest example of usage from theexamplesdirectory:frombytesinsertimportinsert_codedefhello():print("1")print("3")defnew_code():print("2")code_orig=hello.__code__code_to_insert=new_code.__code__success,result=insert_code(code_orig,code_to_insert,6)ifsuccess:exec(result)The resulting output will be:1
2
3Theinsert_codefunction inserted code from the functionnew_codeinto the functionhelloby updating its bytecode.InstallThis library can be easily installed with pip:pip install bytesinsert
Package: bytesioex
BytesIOExBytesIOEx is a simple wrapper over Python'sio.BytesIOwhich provides
additional methods for reading and writing C data types likeint8,uint8,booland so on. Theread_*methods are used for reading a
particular type from the stream and thewrite_*methods are used for writing
Python's basic data typesint,boolandfloatto the stream. Both
these types of methods advance the steam position by the size of the data type.
The type conversion is handled by thestructmodule.Structclasses are
used to maximize the performance.Native byteorder is used.⏬ InstallationBytesIOEx requires Python 3.6+, it may run on older version as well but I have
not tested it.pip install --upgrade bytesioex📜 DocumentationDocs are available onReadTheDocs.🚀 RoadmapEnsure full coverage.Addwchar(UTF-16 character) support.Support for different byte orders.❕ MotivationC#BinaryReaderandBinaryWriter.📧 ContactE-mail:demberto@protonmail.com© LicenseBytesIOEx is distributed under theMIT License.
Package: bytesized
DataConverterI needed a tool that would convert data sizes.  It was a good candidate to put up.DetailsGive this tool a string with space separated values and it will return the byte size conversions from bytes to petabytes.UsageFirst arguement will always be what the current data size level is in:
pages = p
kb = k
mb = m
gb = g
tb = t
pb = pbany number values after that will be summed, then output to 4 conversions + the current data size level.You can also mix and repeat arguments!p num num k num num pb 1 p num num num k num ...This makes the tool more versitile than originally implemented.Examplep 100 200 300 k 400 250 512 pb 1 g 400 25 p 50000will yield:Bytes : 1126356662822912.0Pages : 137494709817.25Kilobytes : 1099957678538.0Megabytes : 1074177420.4472656Gigabytes : 1049001.3871555328Terabytes : 1024.415417144075Petabytes : 1.0004056808047608todoDucktype for:string - space separated
string - comma separated
dictionary
tuple
listThe return type of this tool is always a dict so you can pick which or all byte value types.
this allows the appliation to choose what values to collect and use.
Package: bytesrepr
# BytesReprChange the `__rerp__` of bytes in IPython (python 3) to look less like text:```pythonIn[1]: import bytesreprIn[2]: bytesrerpr.enable()In[3]: b'These are bytes'<bytes b'These are bytes' at 0x107e0c000>```Bytes will be elided to `...`in the rerp if too long.