Saravanan666/pypi-org huggingface dataset:
Package: zotnote
ZotNoteAutomatize and manage your reading notes with Zotero & Better Bibtex Plugin (BBT).Note: ZotNote is still in early development and not production readyCurrent featuresSimple installation via pipx/pipFull command-line interface to create, edit, and remove notesGraphical interface to select a Zotero itemSupport for various reading note templatesPlanned featuresAnnotation of reading notes and individual quotes using tags/keywordsRetrieval of relevant quotes based on these tags and keywordsAnalytics based on these tags and keywordsEnrich reading notes with more metadata from ZoteroSimple reports about progress of literature review(dreaming) Automatically export collection of notes as an annotated bibliography.Long-term visionA literature review suite that connects to Zotero & BBT. Management of reading notes, reading/writing analytics, and basic qualitative text analysis (export reports as HTML via Jupyter notebooks). Export of reading notes in different formats (e.g., annotated bibliography).You can find a roadmap for ZotNotehere.InstallationRequirementsPython3.6 or higherZotero StandalonewithBetter Bibtex pluginRecommended: Install via pipxThe recommended way to install ZotNote is usingpipx. Pipx cleanly install the package in an isolated environment (clean uninstalls!) and automagically exposes the CLI-endpoints globally on your system.pipx install zotnoteOption 2: Install via pipHowever, you can also simply use pip. Please be aware of the Python version and environments you are using.pip install zotnoteOption 3: Download from GitHubDownload the latest release from Github and unzip. Put the folder containing the scripts into yourPATH.Alternatively, run[sudo] python3 setup.py installorpython3 setup.py install --userOption 4: Git clone (for developers)git clone git@github.com:Bubblbu/zotnote.gitThe project is being developed withPoetryas a dependency manager.More instructions will follow soon!Getting startedUsage: zotnote [OPTIONS] COMMAND [ARGS]...

  CLI for ZotNote.

Options:
  --help  Show this message and exit.

Commands:
  add        Create a new note.
  config     Configure Zotnote from the command line.
  edit       Open a note in your editor of choice.
  remove     Remove a note
  templates  List all available templates for notes.ConfigurationAfter installation you should be able to simply runzotnoteand be prompted to a quick command-line configuration.ZotNote currently asks you for:A name which is used in all reading notes.An email addressA folder to store your reading notesUsageSome basic use cases:Create a note with the graphical interface (Zotero picker)zotnote addCreate for specific citekeyzotnote add [citekey]Edit a note (with graphical picker)zotnote editorzotnote edit [citekey]You can explore each command in detail by adding--help.AuthorsWritten byAsura Enkhbayarwhile he was quarantined.
Package: zou
Zou, the Kitsu API is the memory of your animation productionThe Kitsu API allows to store and manage the data of your animation/VFX
production. Through it, you can link all the tools of your pipeline and make
sure they are all synchronized.A dedicated Python client,Gazu, allows users to
integrate Zou into the tools.FeaturesZou can:Store production data, such as projects, shots, assets, tasks, and file metadata.Track the progress of your artistsStore preview files and version themProvide folder and file paths for any taskImport and Export data to CSV filesPublish an event stream of changesInstallation and DocumentationInstallation of Zou requires the setup of third-party tools such as a database
instance, so it is recommended to follow the documentation:https://zou.cg-wire.com/Specification:
-https://api-docs.kitsu.cloud/ContributingContributions are welcomed so long as theC4
contractis respected.Zou is based on Python and theFlaskframework.You can use the pre-commit hook for Black (a Python code formatter) before
committing:pipinstallpre-commitpre-commitinstallInstructions for setting up a development environment are available inthe documentationContributors@aboellinger (Xilam/Spa)@BigRoy (Colorbleed)@EvanBldy (CGWire) -maintainer@ex5 (Blender Studio)@flablog (Les Fées Spéciales)@frankrousseau (CGWire) -maintainer@kaamaurice (Tchak)@g-Lul (TNZPV)@pilou (Freelancer)@LedruRollin (Cube-Xilam)@mathbou (Zag)@manuelrais (TNZPV)@NehmatH (CGWire)@pcharmoille (Unit Image)@Tilix4 (Normaal)About authorsKitsu is written by CGWire, a company based in France. We help with animation and
VFX studios to collaborate better through efficient tooling. We already work
with more than 70 studios around the world.Visitcg-wire.comfor more information.
Package: zounds
MotivationZounds is a python library for working with sound. Its primary goals are
to:layer semantically meaningful audio manipulations on top of numpy
arrayshelp to organize the definition and persistence of audio processing
pipelines and machine learning experiments with
soundAudio processing graphs and machine learning pipelines are defined usingfeatureflow.A Quick ExampleimportzoundsResampled=zounds.resampled(resample_to=zounds.SR11025())@zounds.simple_in_memory_settingsclassSound(Resampled):"""
    A simple pipeline that computes a perceptually weighted modified discrete
    cosine transform, and "persists" feature data in an in-memory store.
    """windowed=zounds.ArrayWithUnitsFeature(zounds.SlidingWindow,needs=Resampled.resampled,wscheme=zounds.HalfLapped(),wfunc=zounds.OggVorbisWindowingFunc(),store=True)mdct=zounds.ArrayWithUnitsFeature(zounds.MDCT,needs=windowed)weighted=zounds.ArrayWithUnitsFeature(lambdax:x*zounds.AWeighting(),needs=mdct)if__name__=='__main__':# produce some audio to test our pipeline, and encode it as FLACsynth=zounds.SineSynthesizer(zounds.SR44100())samples=synth.synthesize(zounds.Seconds(5),[220.,440.,880.])encoded=samples.encode(fmt='FLAC')# process the audio, and fetch features from our in-memory store_id=Sound.process(meta=encoded)sound=Sound(_id)# grab all the frequency information, for a subset of the durationstart=zounds.Milliseconds(500)end=start+zounds.Seconds(2)snippet=sound.weighted[start:end,:]# grab a subset of frequency information for the duration of the soundfreq_band=slice(zounds.Hertz(400),zounds.Hertz(500))a440=sound.mdct[:,freq_band]# produce a new set of coefficients where only the 440hz sine wave is# presentfiltered=sound.mdct.zeros_like()filtered[:,freq_band]=a440# apply a geometric scale, which more closely matches human pitch# perception, and apply it to the linear frequency axisscale=zounds.GeometricScale(50,4000,0.05,100)log_coeffs=scale.apply(sound.mdct,zounds.HanningWindowingFunc())# reconstruct audio from the MDCT coefficientsmdct_synth=zounds.MDCTSynthesizer()reconstructed=mdct_synth.synthesize(sound.mdct)filtered_reconstruction=mdct_synth.synthesize(filtered)# start an in-browser REPL that will allow you to listen to and visualize# the variables defined above (and any new ones you create in the session)app=zounds.ZoundsApp(model=Sound,audio_feature=Sound.ogg,visualization_feature=Sound.weighted,globals=globals(),locals=locals())app.start(9999)Find more inspiration in theexamples
folder,
or on theblog.InstallationLibsndfile IssuesInstallation currently requires you to build lbiflac and libsndfile from
source, because ofan outstanding
issuethat will
be corrected when the apt package is updated tolibsndfile 1.0.26.
Download and runthis
scriptto handle this step.Numpy and ScipyTheAnacondapython
distribution is highly recommended.ZoundsFinally, just:pipinstallzounds
Package: zourmat-libpythonpro
libpythonproMÃ³dulo para exemplificar construÃ§Ã£o de projetos Python no curso PyToolsNesse curso Ã© ensinado como contribuir com projetos de cÃ³digo abertoLink para o cursoPython ProSuportada versÃ£o 3 de PythonPara instalar:pip install pipenvpipenv install --devPara conferir qualidade de cÃ³digo:pipenv run flake8TÃ³picos a serem abordados:GitVirtualenvPipMockPipenv
Package: zowe-secrets-for-zowe-sdk
Secrets PackageContains APIs to store, retrieve, and delete credentials in the end user's operating system (OS) keyring.This Python package requires the OS keyring to be unlocked before credentials can stored or retrieved. Please follow theinstallation guidelines for Zowe CLIto ensure that the Secure Credential Store is accessible.If you are using a headless Linux environment, please consult the following article on Zowe Docs:Configuring Secure Credential Store on headless Linux operating systems.Examplefromzowe.secrets_for_zowe_sdkimportkeyring# Store a short password using the keyring module:password="Zowe ❕"keyring.set_password("Test","ShortPassword",password)# Retrieving a password under a given service and account:assertkeyring.get_password("Test","ShortPassword")==password# Deleting a password:assertkeyring.delete_password("Test","ShortPassword")assertkeyring.get_password("Test","ShortPassword")isNone
Package: zoxy
Zonda Python ProxyInstallpip install zoxyQuick start for cliDefault server path: 127.0.0.1:8080$ ./zoxyCustomize url and portExample: 0.0.0.0:9999$ ./zoxy -u 0.0.0.0 -p 9999Allowed accessExample:127.0.0.1, mask: 255.255.255.255, port 8080127.0.0.0, mask: 255.255.255.0, port: all$ ./zoxy --allowed_access 127.0.1.1 8080 --allowed_access 127.0.0.0/24 *Blocked accessExample:127.0.0.1, mask: 255.255.255.255, port: 8080127.0.0.0, mask: 255.255.255.0, port: all$ ./zoxy --blocked_access 127.0.1.1 8080 --blocked_access 127.0.0.0/24 *Note: Blocked access setting has higher priority than allowed access.ForwardingExample:192.168.1.0, mask: 255.255.255.0, port: 1234 to 127.0.0.1, port: 80000.0.0.0, mask: 0.0.0.0, port: all to 127.0.0.2, port: all$ ./zoxy --forwarding 192.168.1.0/24 1234 127.0.0.1 8000 --forwarding 0.0.0.0/0 * 127.0.0.2 *Quick start for programimportzoxy.serverconfig={"url":"0.0.0.0","port":9999,"allowed_accesses":[["127.0.1.1","8080"],["127.0.2.0/24","1234"],["127.0.0.0/24","*"],],"blocked_accesses":[["192.0.1.1","8080"],["192.0.2.0/24","1234"],["192.0.0.0/24","*"],],"forwarding":[["196.168.2.1","1234","127.0.2.1","8000"],["196.168.1.0/24","1234","127.0.0.1","8000"],["0.0.0.0/0","*","127.0.0.2","*"],],"load_balancing":{"frontend":["127.0.0.1/32","8080"],"backend":[["127.0.0.1","9090","80"],["127.0.0.1","*","20"],],},}zoxy.server.ProxyServer(**config).listen()Get/Set accessesAllowed accesses# Getproxy_server.allowed_accesses'''[["127.0.1.1/32", "8080"],["127.0.2.0/24", "1234"],["127.0.0.0/24", "*"],]'''# Setproxy_server.allowed_accesses=[["111.0.1.1","8080"],["111.0.2.0/24","1234"],["111.0.0.0/24","*"],]Blocked accesses# Getproxy_server.blocked_accesses'''[["192.0.1.1/32", "8080"],["192.0.2.0/24", "1234"],["192.0.0.0/24", "*"],]'''# Setproxy_server.blocked_accesses=[["111.0.1.1","8080"],["111.0.2.0/24","1234"],["111.0.0.0/24","*"],]Get/Set forwarding# Getproxy_server.forwarding'''[["196.168.2.1/32", "1234", "127.0.2.1", "8000"],["196.168.1.0/24", "1234", "127.0.0.1", "8000"],["0.0.0.0/0", "*", "127.0.0.2", "*"]]'''# Setproxy_server.forwarding=[["176.168.2.1","1234","127.0.2.1","8000"],["176.168.1.0/24","1234","127.0.0.1","8000"],["176.0.0.0/8","*","127.0.0.2","*"]]Get/Set Load balancing# Getproxy_server.load_balancing'''{"frontend": ["127.0.0.1/32", "8080"],"backend": [["127.0.0.1", "9090", "80"],["127.0.0.1", "*", "20"],],}'''# Setproxy_server.load_balancing={"frontend":["168.0.0.1/32","8080"],"backend":[["111.0.0.1","9090","80"],["111.0.0.1","*","20"],],}DeveloperTestpython -m unittestType checkingmypy zoxy
Package: zpassistant
工具包单点登录工具包# 进入工作目录cd.\basic\zpsso\# 安装打包工具python3-mpipinstall--user--upgradetwine# 打包指令python3setup.pysdistbdist_wheel# 上传python3-mtwineuploaddist/*# 更新zpassistantpip3install-ihttps://pypi.org/simple--upgradezpassistant
Package: zpcpssupport
UsedTo use, simple do:>>> from zalopaysupport import prepareResourceBeforeUpload, uploadImagesToZPSVN
>>> input = './images'
>>> output = './output'
>>> subFolderOnSVN = 'subfolder'
>>> prepareResourceBeforeUpload(input, target)
>>> uploadImagesToZPSVN(output, subFolderOnSVN)Functions>>> prepareResourceBeforeUpload>>> uploadImagesToZPSVN>>> renameAllFolderAndFile>>> renameToRemoveResolutionSuffix>>> yes_no>>> choose_environment>>> choose_multi_environmentPublic python package>>> python3 setup.py sdist
>>> twine check dist/*
>>> twine upload dist/*
Package: zped
Why you shouldn’t use thisZPED let’s you do some truly silly stuff with event dispatching. There’s a built-in decorator that will create and execute pre/post execution events on functions, which is pretty cool! Until you realize that your event listeners can arbitrarily modify the execution of your code by raising exceptions. A pre-execution event can completely modify the data sent to the executing function, or even the data sent to other listeners (since they’re executed in serial). The same event can even stop execution entirely and force return a value. A post-execution event can do similar. It’s insane, it’s terrible, it will make your applications /really/ hard to debug.Why I even wrote thisI’m in the process of writing a static website generator based on Flask, and I needed a good way to let plugins tie into the core system. One of the better days to do this is with event dispatching! So I started writing a simple dispatcher, because using an external library for that seemed silly. Then I thought, “If I were insane and writing a plugin to heavily modify the generator’s internals, but didn’t want to fork the code or monkeypatch… what would I need?” ZPED is the culmination of that, and entirely too much coffee.Ok, but… I don’t /have/ to use the bad parts of this, right?No, but power corrupts.Just tell me how to use itLook at the tests, I’ll write some docs later.
Package: zpgdb
zpgdb - Python library for simple PostgreSQL connection and transaction managementzpgdbis a small library to ease the management of PostgreSQL database
connection between your app modules and packages, and provides a simple context
manager to wrap code that should run database commands inside a transaction,
with automatic commit or rollback.Database connections are reused and one connection is opened by thread. Only
one connection type is permitted at this time (eg, the same host, port, user and
password and database).Persistent connections are tested before used for commands, and they are
automatically reopened in case they were lost, dealing with PostgreSQL
restarts transparently.How to installpipinstallzpgdbHow to use# You can import the module on every package/module you want to share# the database connection.importzpgdbasdb# The access configuration needs to be done only one time, preferably# inside your __main__ block.db.config_connection(host,port,user,password,database)# You can get the connection object directly. `getdb()` will start a# new connection if there is no connection opened with the actual thread.dbh=db.getdb()# Or you can start a context manager getting a cursor, with automatic# commit on finish, or rollback in case there is a exception thrown.withdb.trans()asc:c.execute('...')c.execute('...')forrowinc:...
Package: zphisher
Installation$ pip install zphisher && zphisherFeatureszphisher, ** Automated phishing tool with 30+ templates. **How to install ?$ pkg install python -y
$ pip install zphisher
$ zphisherRun ?$ zphisherDisclaimerWe are not responsible for your loss by this tool.
this tool is made for Education/Learning Purpose.
Dont harm anyone using this tool.Usage$ zphisher -h

Author : HTR Tech
PIP module : Parixit Sutariya
Github : github.com/Bhai4You
Blogspot : https://bhai4you.blogspot.comGithub
Package: zpipe
嵌入式管道模块, 类似于logstash使用方法类似logstash, 配置化操作安装pip install zpipe配置管道框架创建一个目录, 这个目录作为你的管道组织主路径mkdir /home/mypipe
mkdir /home/mypipe/pipe_config
mkdir /home/mypipe/plugin创建框架配置文件touch /etc/zpipe/config.json
# win系统: "c:/zpipe/config.json"
# 其他系统: "/etc/zpipe/config.json"
# 可以使用环境变量 ZPIPE_CONFIG 指定框架配置文件路径, 优先级最高修改框架配置文件为你的设置{"pipe_config_path":"/home/mypipe/pipe_config","plugin_path":"/home/mypipe/plugin"}pipe_config_path 表示管道配置文件路径, 可以是文件或文件夹, 每个配置文件是一个json文件, 最后框架会将所有json合并为一个更大的jsonplugin_path 表示插件路径, 只能是文件夹路径可以使用相对路径(相对于框架配置文件的路径), 多路径用分号 [;] 隔开大功告成, 终于可以开始制作管道了一个简单的管道在管道配置目录下创建一个文件 my_pipe.py, 写入如下内容{"test":{"output":"log"}}新建一个py文件, 写入如下内容fromzpipeimportpipe_servera=pipe_server()pipe=a.get_pipe('test')result=pipe.process("测试消息")运行它, 随后你可以在控制台看到打印出来的消息这个管道做了什么{
  "test": {           #定义管道名
    "output": "log"   #定义输出插件
  }
}fromzpipeimportpipe_server#导入框架服务a=pipe_server()#创建框架服务的实例pipe=a.get_pipe('test')#获取管道实例result=pipe.process("测试消息")#向管道发送数据并获取管道结果管道配置详解对插件设置参数, 执行顺序为 pipe > codec > filter.codec > filter > output.codec > output{"管道1":{"codec":{"name":"解码器名","参数名":"参数值"},"filter":{"name":"过滤器名","参数名":"参数值","codec":{"name":"解码器名","参数名":"参数值"}},"output":{"name":"输出插件名","参数名":"参数值","codec":{"name":"解码器名","参数名":"参数值"}},"参数名":"参数值"},"管道2":{}}如果不设置参数可以简化配置{"管道名":{"codec":"解码器名","filter":"过滤器名","output":"输出插件名","参数名":"参数值"}}自制插件, 简单插件实例# 自制插件必须遵循以下规则# 插件所在的目录必须添加到框架配置文件的plugin_path里# 插件类型目前只有三种['codec', 'filter', 'output']# 插件文件名必须为规则:[zpipe_插件类型_插件名.py]# 插件类名必须和插件文件名相同并且继承于[zpipe.plugin_base]# zpipe_output_test.pyfromzpipeimportplugin_baseclasszpipe_output_test(plugin_base):defplugin_init(self,**kw):'''插件初始化:param kw: 这里接收管道定义的插件参数'''passdefplugin_distroy(self):'''插件销毁时'''passdefprocess(self,data):'''插件过程:param data: 收到的数据:return: 结果会顺序传递给下一个插件, 如果是最后一个插件则会返回给管道的调用者'''print('收到数据',data)returndata内置codec插件raw只需要调用者发送的数据, 忽略管道接收数据时对数据的打包, 没有任何参数dict将调用者发送的数据认为是一个dict, 并将它更新到数据的顶层json将调用者发送的数据认为可以被json.loads函数加载, 结果为dict, 并将它更新到数据的顶层, 参数配置参考json.loadsmsgpack将调用者发送的数据认为可以被msgpack.loads函数加载, 结果如果为dict, 会将它更新到数据的顶层, 参数配置参考msgpack.loads内置filter插件default参数名参数类型默认值说明removestr or list移除指定的数据, 允许链式表达数据位置,如 "a.b.c" 表示 del data[a][b][c]内置output插件log日志输出插件参数名参数类型默认值说明log_namestrzpipe_output_log日志名write_streamboolTrue是否输出到流(控制台)write_fileboolFalse是否输出到文件file_dirstr.输出文件所在的路径, 允许相对路径(相对于框架配置文件的路径)levelstrdebug日志可见等级(debug,info,warn,error,fatal)intervalint1间隔多少天新建一个日志文件backupCountint2保留多少个历史日志文件info_levelstr日志消息等级(debug,info,warn,error,fatal), 允许从消息内提取, 如 "raw.__level__"更新日志发布时间版本发布说明19-04-120.0.1发布第一版, 所有功能均已实现, 但是插件很少, 允许用户自定义插件, 插件开发简单本项目仅供所有人学习交流使用, 禁止用于商业用途
Package: zpl
Python ZPL2 Library generates ZPL2 code which can be sent to Zebra or similar label printers. The library uses only Millimeter as unit and converts them internally according to printer settings.Example useimportosfromPILimportImageimportzpll=zpl.Label(100,60)height=0l.origin(0,0)l.write_text("Problem?",char_height=10,char_width=8,line_width=60,justification='C')l.endorigin()height+=13image_width=5l.origin((l.width-image_width)/2,height)image_height=l.write_graphic(Image.open(os.path.join(os.path.dirname(zpl.__file__),'trollface-large.png')),image_width)l.endorigin()height+=image_height+5l.origin(10,height)l.barcode('U','07000002198',height=70,check_digit='Y')l.endorigin()l.origin(32,height)l.barcode('Q','https://github.com/cod3monk/zpl/',magnification=5)l.endorigin()height+=20l.origin(0,height)l.write_text('Happy Troloween!',char_height=5,char_width=4,line_width=60,justification='C')l.endorigin()print(l.dumpZPL())l.preview()This will display the following preview image, generated using theLabelary API:label previewThe generated ZPL2 code is:^XA^FO0,0^A0N,120,96^FB720,1,0,C,0^FDProblem?\&^FS^FO330,156^GFA,768,384,8,00003FFFC0000000000600000FF0000000180200C01F8000003008000000600000204080440D10000041080000000C000082420000CC020000840002000102000100200001008000010040000000800002000FF80000010006003F84003E01800C036F8200E100C01402307101FE01202878000E030000A071060200010001504201FC0000007C50821000000106C090A438000001800010A466001E0040115084A183C80070103042107009C044382060104E0800803A20300C40E00700F840380FE03C0003D8001A047021F83C588004027E2021845880020227E021047880020141F82187F8800100C07FFFFFF88001004047FFFFF88000803040FFFFF88000C00880419970800060078001117080001241C00012608000089038C237C08000060401FFF8008000011080000020000000C21040E0044000003863C0010840000006060000104000000180380080400000006000000080000000180000008000000007800001000000000038000600000000000380180000000000003FC000^FS^FO120,264^BUN,70,Y,N,Y^FD07000002198^FS^FO384,264^BQN,2,5,Q,7^FDQA,https://github.com/cod3monk/zpl/^FS^FO0,504^A0N,60,48^FB720,1,0,C,0^FDHappy Troloween!\&^FS^XZInstallationpip install --user zplRequirementsPIL or Pillow
Package: zplane
Z-PlaneA handful of freqeuntly used plots when working with discrete systems or digital signal processing in Pyton. Z-Plane is built upon the scipy.signal module, using theTransferFunctionclass to pass all required system information to plot functions in a single object. This allows all plots to be executed in a single line of code, while Z-Plane handles the calculations and setup required to get the perfect plot.The following functions are available:freq: Normalized frequency responsepz: Pole-Zero plotbode: Bode plot (Gain and Phase), non logarithmic frequency axis possibleimpulse: Impulse responsenorm: Normalize transfer functionfir2tf: Get FIR transfer function from impulse responseInstallationpipinstallzplaneUseImportzplaneCall any of the available functions, and pass a valid scipy.signal TransferFunctionHave a look at theexamplesfor a quick demonstration on how to use the functions. Please look up theTransferFunctiondocumentation, if you are unsure how to create a valid instance of aTransferFunction.
Package: zplgen
zplgen is a utility library to aid in generating ZPL2 code.The core idiom is theCommandclass, which subclassesbytes. Another helper is theFontclass.Example usagef_default=Font('V',height=30)label=bytes()label+=Command.label_start()label+=Command.label_home(30,0)label+=Command.graphic_circle(x=550,y=15,diameter=100,border=6)label+=Command.field('?',x=560,y=50,font=f_default(45))label+=Command.field(name,x=0,y=135,font=f_default)label+=Command.label_end()send_to_printer(label)Running testsIn the base directory, run the following:python-munittestdiscover-stestsLicensezplgen is released under theMIT License.
Package: zpllibrary
zpllibraryA python library helping to generate ZPL.
This is ongoing and is currently in Beta with basic zpl types includedYou can test generated code athttp://labelary.com/viewer.htmlUsage:Single elementoptions = Options() #Sets Default options for rendering
simple_text_field = TextField("Content", 100, 100, Font(), True, False, NewLineConversion.Space)
zpl = Engine(simple_text_field).to_zpl_string(options)
print(zpl)
#Output
#^XA^A0N,30.0,30.0^FO100.0,100.0^FH^FDContent^FS^XZBarcodeoptions = Options()
simple_barcode = Barcode39("Content", 100, 100, 200)
zpl = Engine(simple_barcode).to_zpl_string(options)
print(zpl)
#Output
#^XA^FO100.0,100.0^B3N,N,200.0,Y,N^FDContent^FS^XZWhole label using all available elementsoptions = Options()

zpl_list = []
zpl_list.append(RawZpl('Check here'))
zpl_list.append(TextField("Some\nText", 10, 10, Font(), True, True, NewLineConversion.Space))
zpl_list.append(FieldBlock("more text is here", 10, 200, 300, Font(), 2))
zpl_list.append(TextBlock("more text is here than before", 10, 300, 400, 200, Font()))

zpl_list.append(Barcode128("123ABC", 100, 100))
zpl_list.append(Barcode39("123ABC", 100, 200))
zpl_list.append(BarcodeAnsi("123ABC", 100, 300, 100, "A", "D"))
zpl_list.append(QrCode("QR content", 100, 400, magnification_factor=12))
zpl_list.append(GraphicBox(100, 500, 100, 100))
zpl_list.append(GraphicDiagonalLine(100, 600, 100, 100))
zpl_list.append(GraphicEllipse(100, 700, 100, 100))
zpl_list.append(GraphicCircle(100, 800, 20))
zpl_list.append(GraphicHorizontalLine(100, 900, 20))
zpl_list.append(GraphicVerticalLine(100, 1000, 20))
zpl_list.append(GraphicSymbol(SpecialCharacter.canadian_standards_association_approval, 100, 100, 100, 100))
zpl_list.append(DownloadGraphic(500, 100, "C:\\Users\\scott\\Pictures\\download.png"))
zpl = Engine(zpl_list).render(options)
print(zpl)
Package: zplogger
ZPloggerZpower日志工具Usagefrom zplogger.logger import Logger 

logger = Logger(
    file=__file__,
    user='yulong',
    project="shouma",
    server="127.0.0.1",
    debug=True)

log_msg = '''
      this is a test msg for test logger in multiplelines.

      Stack messag: 
       xxxx
       more stack info..
   '''
# warning message
logger.warn(sys._getframe().f_lineno, log_msg)

# info message
logger.info(sys._getframe().f_lineno, log_msg)

# error message
logger.error(sys._getframe().f_lineno, log_msg)