Saravanan666/pypi-org huggingface dataset:
Package: mdtui
A TUI to search and download from the new MangaDex API v5.Requirementspython>=3.7python-pipInstallation (pip)Install from PyPI with pip:pip install mdtuiManual Installationgit clone https://git.geraldwu.com/gerald/mdtui
cd mdtui
python setup.py installUsageLaunch the program:$ mdtui
>Search for a manga:> search Azur Lane
Title: VictimGirls (Doujinshi), ID: 2813845e-5bfc-4ad1-8e47-3624a80e98e5
Title: Azur Lane - In Order to be a Woman Suited for the Commander, Enterprise is Doing her Best! (Doujinshi), ID: 8aabeee6-e3ac-4f7e-8d7e-9898c7a1f48f
Title: Azure Lane - Wakarase Bache (Doujinshi), ID: b08f5f6e-e559-4cf8-88dd-5796ea6efec5
Title: Azur Lane - Should I Add Attending You Through the Night as Part of My Duty? (Doujinshi), ID: a375c353-0e42-4088-9eae-6e2c5d28e1ea
Title: Azur Lane - Insufficient main force to shoot ! Iron-Blood Battleship and Battle Cruiser Summary Book (Doujinshi), ID: f9a5c000-5479-4ef7-b300-9b41c16a7f68
Title: Azur Lane - Today, These Twin Hills Will Once More Be The Death Of Me (Doujinshi), ID: 6206645c-2c3e-409e-b988-5cd11e358b66
Title: Azur Lane - You Didn&rsquo;t Tell Us You Were Getting a Retrofit, Z23! (Doujinshi), ID: a4d2b68c-35da-48c7-8185-d488b02c8608
Title: Azure Lane - Junai Illustrious, ID: 97a83d5a-6b5e-4c94-8481-192331455a09
Title: Azur Lane - The Older Sister whose Younger Sister is the Best at Everything (Doujinshi), ID: fb83a522-f654-4b00-b048-a06ad8e57c55
Title: Azur Lane - Mukakin Shirei ni Yubiwa o Kawaseru Saigo no Houhou 5 (Doujinshi), ID: 254734f6-6de5-4a2d-9976-daf72610a732Get chapters of a manga:> chapters 8aabeee6-e3ac-4f7e-8d7e-9898c7a1f48f
Chapter 4, ID: 4af0b34a-c2c5-483c-962c-ab385478ff48
Chapter 3, ID: 549edbc3-78b7-42ee-b26a-973d5736ca51
Chapter 2, ID: 58e64b6c-09a4-439b-8143-286243d83db9
Chapter 4.5, ID: c0fb1084-3c27-48bc-8df3-1410b9158661
Chapter 1, ID: efd28443-9d79-4568-b6d6-1155553a2bfeDownload chapter:> get 4af0b34a-c2c5-483c-962c-ab385478ff48
Downloading https://78rc8b5jajj12.fv8vk1kx3j9be.mangadex.network:443/[...]
(Attempt 1 out of 6)
[...]Roadmap[ ] More user-friendly UI[ ] User-configurable delay and attempt limit for downloads[ ] Account login[ ] Better download directory structure[ ] Better REPL[ ] Allow for different download formats[ ] Write actual tests
Package: mdul
mdulIt is safe to store images locally when writing markdown but it's not convenient compared to uploading images into cloud.mdulis a utility to upload local images in markdown tosm.msand convert markdown file correspondingly. It will also convert markdown equation format.Installationgitclonehttps://github.com/crh19970307/mdul.gitcdmdul
pythonsetup.pyinstallUsageusage:mdul[-h][--imgdirIMG_DIR][--inputINPUT_FILE][--outputOUTPUT_FILE][--keyKEY]optionalarguments:-h,--helpshowthishelpmessageandexit--imgdirIMG_DIRimagefolder，note.assetsbydefault--inputINPUT_FILEfiletobeconverted,note.mdbydefault--outputOUTPUT_FILEoutputfilename,note_upload.mdbydefault--keyKEYSecretTokenofsm.msSecret Token of sm.ms can also be specified in$HOME/.myconfigfile such as:[sm.ms]putyourKEYhere
Package: md-ulb-pwrap
md-ulb-pwrapMarkdown paragraph wrapper usingUnicode Line Breaking
Algorithm. Includes a Rust library with Python bindings.Wrap a Markdown paragraph using a maximum desired width.
Only works for paragraphs that don't contain othercontainer blocks. Respects the prohibition against wrapping
text inside inline code blocks and links.Rust librarycargoaddmd-ulb-pwrapusemd_ulb_pwrap::ulb_wrap_paragraph;assert_eq!(ulb_wrap_paragraph(&"aaa ``` ``  ` a b c ``` ccc",3,3,),"aaa\n``` ``  ` a b c ```\nccc",);Python bindingspipinstallmd-ulb-pwrapfrommd_ulb_pwrapimportulb_wrap_paragraphmarkdown="aaa ``` ``  ` a b c ``` ccc"expected_result="aaa\n``` ``  ` a b c ```\nccc"assertulb_wrap_paragraph(markdown,3,3)==expected_resultReferenceulb_wrap_paragraph(text:str, width:int, first_line_width:int) ->strtext(str): The text to wrap.width(int): The maximum width of the lines after the first.first_line_width(int): The maximum width of the first line.Returns(str): The wrapped text.
Package: mdundo-scraper
Mdundo ScraperGet songs data in json format fromMdundo sitewith ease inspired bySound Cloud Scraper.Installationpip install mdundo-scraperUsageChartsfrom mdundo.charts import Chart

 # Initialize Chart class

 chart = Chart("ke") 
 
# Weekly top 100 songs

 top_100_songs = chart.weekly_top_100(chart)

# Top 20 monthly songs

 top_20_songs = chart.monthly_top_20(chart)

# New Releases
 new_relases_songs = chart.new_releases(chart)Genrefrom mdundo.genre import Genre

 # Initialize Genre class

 genre = Genre() 
 
# All Genres

all_genres = genre.get_genres()

# Songs in a genre
 
 genre = genre.get_genre_top_songs(genre_id)Artistfrom mdundo.artist import Artist

 # Initialize Artist class

 genre = Artist() 
 
# top artist

top_artist = genre.get_artist()

# Get Artist's Songs
 
 songs = artist.get_artist_song(artist_id)To see how you can implement this package in a real life project have a look at examples.py. Contains a flask implementation of this project.This repo show you how you can consume the API created with your server with an android client.NoteThis package is a project that I am using to learn data science and how audio waves can be manipulated and is in no way affiliated with Mdundo.com. Use at your own discretion.
Package: mdup
mdupmdupis a command-line tool for keeping markdown files up-to-date by injecting code, script or command output between special blocks. One immediate use case is keeping documentation up-to-date without having to manually update markdown files with info from code snippets, scripts or command outputs [^1].mdupdoes not depend on anything apart from Python stdlib.Installpip install mdupUsageusage: mdup [-h] -i INPUT [-o OUTPUT] [-v]

options:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        input markdown file
  -o OUTPUT, --output OUTPUT
                        output markdown file; if not specified, the input file
                        will be edited in place
  -v, --version         show program's version number and exitRunningmdup -i <input.md> -o <output.md>will replace the contents between each block
given the appropriate action kind (see details below). This means that you can keep files up-to-date by simply rerunningmdup.Omitting the-ooption will edit the file in-place.For example, the command-line usage block above is automatically generated by defining:<!-- MDUP:BEG (CMD:poetry run mdup --help) -->
<!-- MDUP:END -->then runningmdup -i README.mdwhich executespoetry run mdup --help.How does it work?The blocks are defined using HTML comments.
Specifically, thebeginblock is of the form:<!-- MDUP:BEG ({KIND}:{CONTENTS}) -->where{KIND}can be either:SRC: to just include the contents of{CONTENTS}, e.g. from a pathRUN: to execute the script from{CONTENTS}and inject its stdout in the blockCMD: to execute the command from{CONTENTS}and inject its stdout in the blockForSRCandRUNcommands, the{CONTENTS}must be a path, relative to the md file.The blocks must be defined as the sole contents of the line, i.e. matching^and$anchors.ExamplesFor examples, seetests.⚠️ DisclaimerI created this tool primarily to meet my own needs -- it's very simple and ad-hoc. While I don't anticipate it gaining too much adoption, always beware when runningmdupon markdown files of unknown origin (which can be malicious), e.g.:<!-- MDUP:BEG (CMD:rm -rf /) -->
<!-- MDUP:END -->This tool should only be used forsimpletasks, e.g. keepingsimpledocumentation up-to-date.[^1]: Inspired byDavidWells/markdown-magic.
Package: mdu-pytools
MDU Python ToolsMDU Python ToolsBackgroundToolsmdu-merge-ngs-lanesmdu-sra-uploadsEnvironmental variables that can be used to set optionsDevelopmentDevelopment environmentBackgroundSome simple tools in python for MDUToolsmdu-merge-ngs-lanesUse it to correctly merge lanes from an Illumina run into the a single FASTQ.Get help:mdu-merge-ngs-lanes--helpBasic usage:mdu-merge-ngs-lanes-i/path/to/fastq_folder-o/path/to/output>cmd.shAdvanced usage:You can split the output to muliple subfolders of the output folder by adding--subfolderto the command line. The option can be used multiple times, and takes two space separated values as input:pathregex. Thepathgives a name of the subfolder in the output folder, and theregexexpression
determines which samples go in that subfolder.For instance, the command below will split samples starting the NTC in to a subfolder calledntc,
while all other samples will be added to a subfolder calleddata.mdu-merge-ngs-lanes-i/path/to/fastq-o/path/to/output--subfolder'data''(?!NTC).*'--subfolder'ntc''(?<=NTC).*'>cmd.shmdu-sra-uploadsUse to it to upload FASTQ data to NCBI SRA.Requires a file with tab-separated values ofMDU IDandAUSMDUID. For example:mdu1\tausmdu1mdu2\tausmdu2Getting help:mdu-sra-uploads--helpUsage:mdu-sra-upload[OPTIONS]ISOLATES

Options:-f,--folderTEXTFolderonNCBItoupload.UsedtofindthereadswhensubmittingviatheSRAportal.[default:mdu]-r,--reads-folderTEXTWherereadsarelocated(usesMDU_READSenvvariableifavailable).-k,--ascp-keyTEXTPathtoascpsshuploadkey(usesASCP_UPLOAD_KEYenvvariableifavailable).ThiscanbeobtainedfromtheSRASubmissionPortal.-s,--sra-subfolderTEXTSRAsubfolderownedbyyouwheredatawillcopiedto(usesSRA_SUBFOLDERenvvariableisavailable).--helpShowthismessageandexit.Basic usage:cd/path/for/upload# copy paste isolates.txtmdu-sra-uploadsisolates.txt# when completing the submission, search for pre-uploaded files in the folder called mduEnvironmental variables that can be used to set optionsMDU_READS: full path to where FASTQ data is storedASCP_UPLOAD_KEY: full path to where your Aspera NCBI upload key is located (obtain one from the SRA submission portal under the Aspera command line instructions)SRA_FOLDER: path to your folder at SRA. Usually composed by youremailplus an "_" and some random alphanumeric characters. This can be obtained from SRA submission portal under the Aspera command line instructions (e.g.,john.doe@doe.industries.com_qEWo9).DevelopmentDevelopment environmentTo develop with the same environment usevagrantandvirtualbox:vagrantup
vagrantsshOnce logged in to the VM, the shared folder is in/vagrant.
Package: md-url-check
Markdown URL Checker>>Simple CLI tool to check URL health in markdown files<<This CLI tool traverses down a markdown file, extracts all the valid URLs, and checks whether they're accessible or not. In case it encounters a broken link, it raises an error. Internally, this is optimized for larger markdown files and tested for huge markdown files with thousands of links.InstallationInstall the CLI using pip:pip install md-url-checkerUsageTo check the URLs in a single markdown file, run:md-url-check -f file.mdTo check the URLs in multiple markdown files, run:echo 'file1.md file2.md' | xargs -n 1 md-url-check -fTo check the URLs in multiple files in a folder, run:find . -name '*.md' | xargs -n 1 --no-run-if-empty md-url-check -fSuppress intermediate output:md-url-check -f file.md -sProvide the number of threads to be used while making the requests:md-url-check -f file.md -s -t 32This uses 32 interleaving threads to make the requests concurrently. Default is 8.✨ 🍰 ✨
Package: mdu-snpit
MDU SNPITa self-build tool doing the same job as snpitinstallation:git clone https://github.com/MDU-PHL/mdu-snpit.git
pip3 install mdu-snpit/dist/*.whlinstruction:mdu-snpit xx.fa
mdu-snpit xx.vcf
mdu-snpit xx/snps.tabcontact:josh.zhang@unimelb.edu.au
Package: mdut
mdutmdut(pronounced "em-doot") is a tool for generating Markdown URL tags.
It ships as both a standalone command-line program and Python library.ExamplesCommand-line program:# reference style is default
$ mdut https://example.com
Copied to clipboard:
[TODO]: https://example.com "Example Domain"

$ mdut -s inline https://example.com
Copied to clipboard:
[TODO](https://example.com "Example Domain")

$ mdut -s slack https://example.com
Copied to clipboard:
[TODO](https://example.com)Python library:>>>importmdut>>>mdut.reference("https://example.com")'[TODO]: https://example.com "Example Domain"'>>>mdut.inline("https://example.com")'[TODO](https://example.com "Example Domain")'>>>mdut.slack("https://example.com")'[TODO](https://example.com)'InstallationIf you plan on using mdut on the command-line, you're probably best off installing it viapipx, like so:pipx install mdutHowever, if you plan on using mdut as a library in your project, you should probably install it the same way as your other dependencies, for example via pip, Poetry, Pipenv, etc.# pip
pip install mdut

# Poetry
poetry add mdut

# Pipenv
pipenv install mdut
Package: mdutils
Table of ContentsOverviewFeaturesWriting and Reading FilesMarkdownInstallationPipPoetryOverviewThis Python package contains a set of basic tools that can help to create a markdown file while running a Python code.
Thus, if you are executing a Python code and you save the result in a text file, Why not format it? So
using files such as Markdown can give a great look to those results. In this way, mdutils will make things easy for
creating Markdown files.Project Homepage:https://github.com/didix21/mdutilsDownload Page:https://pypi.python.org/pypi/mdutilsDocumentation:http://mdutils.readthedocs.io/en/latest/MIT License, (C) 2018 Didac Coll <didaccoll_93@hotmail.com>FeaturesThere are some different features available on that version of mdutils:Writing and Reading FilesWrite and Read Markdown files.Append data to the end of a Markdown file.Use markers to place text.MarkdownImplemented method to give format to the text: bold, italics, change color…Align text.Add headers of levels 1 til 6 (atx style) or 1 and 2 (setext style).Create tables.Create a table of contents.Add Links.Add Lists.Add Markdown Images.Add Html Images.NoteSome available features will depen on which CSS you are using. For example, GitHub do not allows to give color to text.InstallationPipUse pip to install mdutils:$pipinstallmdutilsPoetryUse poetry to install mdutils:$poetryaddmdutils
Package: mdview
mdviewSimple markdown viewer inspired byrestview.Features:Support for different markdown flavors (such as markdown-extra).Auto-reload in browser when previewed file is modified.Syntax highlighting usingPygments.InstallationTo installmdview, use pip:$ pip install mdviewOr install directly from Git:$ pip install git+https://github.com/guyru/mdview.git#egg=mdviewUsageusage: mdview [-h] [-x EXTENSIONS] [--version] [--debug] filename

Simple markdown viewer.

positional arguments:
  filename

optional arguments:
  -h, --help            show this help message and exit
  -x EXTENSIONS, --extensions EXTENSIONS
                        markdown extensions separated by commas. Default:
                        extra,codehilite
  --version             show program's version number and exit
  --debug               run server in debug modeFAQWhere can I find a list of supported markdown extensions?List of supported flavors is available inpython-markdown's
documentation. By default theextraandcodehiliteextensions are turned on.How can I runmdviewwithout any extension?$ mdview --extensions "" path/to/file.mdWhat are thoseerror: [Errno 32] Broken pipeerrors I see onstderr?It happens when you close the browser andmdviewstill tries to send to it
information. You can safely ignore this.AuthorsAuthor:Guy Rutenberg
Package: mdvorak.recipe.qooxdoo
Buildout recipe, that runs Qooxdoo generator script. It requires Qooxdoo SDK to run.It supports two recipes, default (script) and run. Default generates script in your bin directory, so you can run the generator manually. Run runs the commands at the time of buildout processing, automating the process completely.Parametersscript- Name of the written script. Defaults to part name. Available only for default (script) recipe. Ignored by run recipe.commands- Command executed by the generator. It must be exported by project config. If empty, either command-line arguments or default command fromconfig.jsonwill be used.config- Path to the project configuration file, or directory containingconfig.jsonfile.qooxdoo-sdk- Path to the qooxdoo sdk. Fallbacks to${buildout:qooxdoo-sdk}variable. SDK must exist. Corresponds toQOOXDOO_PATHmacro.cache- Qooxdoo cache path. If empty,${buildout:cache-directory}will be used. If neither is specified, Qooxdoo default will be used. It corresponds toCACHEmacro.let- Qooxdoo environmental variables, as are under"let"keyword inconfig.json. It should be inkey:valueformat since Qooxdoo generator expects it. It may contain multiple pairs. Optional.remove-dirs- Directories that should be removed on script execution. Path is relative to buildout root. This can also remove files. Optional.create-dirs- Directories that should be created on script execution. Path is relative to buildout root. Useful for jobs that require some path to exist. Optional.clean-dirs- Directories which contents should be removed on script execution. Path is relative to buildout root. Useful for jobs that require some path to exist and yet you want their content to be recreated every time (like images creation). Optional.Optionscommandsandconfigcan contain multiple entries. Projects are then built sequentially for each project, with each command executed as standalone process.Whencommnadsis omitted and command-line arguments are used as commands, they are split and executed sequentially as well. Therefore you can run e.g.translate lint buildin one go, which generator itself does not support.ExampleExample buildout.cfg:[buildout]
parts =
  qooxdoo-sdk
  translate
  qx
  info

qooxdoo-sdk = ${qooxdoo-sdk:destination}
cache-directory = cache

[qooxdoo-sdk]
recipe = hexagonit.recipe.download
url = http://downloads.sourceforge.net/project/qooxdoo/qooxdoo-current/2.1/qooxdoo-2.1-sdk.zip
destination = qooxdoo-sdk
strip-top-level-dir = true

[translate]
recipe = mdvorak.recipe.qooxdoo
commands = translation
config = src/config.json

[qx]
recipe = mdvorak.recipe.qooxdoo
config = src/config.json

[info]
recipe = mdvorak.recipe.qooxdoo:run
commands = info
config = src/config.jsonYou can then execute translation job with./bin/translate, or any command using./bin/qx. Try./bin/qx infoto see how is Qooxdoo configured.
In addition to that, info section is run during buildout execution, displaying Qooxdoo configuration immediately. This is not very useful, it’s just an example.Create scripts for any jobs (and job sequences) you want.
Package: md-wash
介绍一个小工具, 清理 markdown。清洗你的 markdown, 只抽取将当前文件夹 markdown 里的文件所关联的图片安装pip install md_wash使用场景清理 md 关联的文件夹里多余的资源。
如 readme.md 引用了  asset/a.jpg, asset/b.jpg
而当前文件夹结构如下- myfolder
  - asset 
   - a.jpg
   - b.jpg
   - c.txt
   - d.jpg
  - readme.mdcd myfolder
md_wash .将会变为- myfolder
  - asset 
   - a.jpg
   - b.jpg
  - readme.md清理 md 关联的文件夹里多余的资源。并关联丢失的图片
如 readme.md 引用了  asset/a.jpg, asset/b.jpg
而当前文件夹结构如下- myfolder
  - asset 
   - a.jpg
   - c.txt
   - d.jpg
  - readme.md
  - imgs
    - b.jpgcd myfolder
md_wash . -r ./imgs将会变为- myfolder
  - asset 
   - a.jpg
   - b.jpg
  - readme.mdhelpusage: md_wash [-h] [-o OUTPUTDIR] [-r ASSET_REPO] input

positional arguments:
  input                 指定你 md 的目录, 或者 md 文件

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUTDIR, --outputDir OUTPUTDIR
                        指定你 md output 的目录 (default: .)
  -r ASSET_REPO, --asset_repo ASSET_REPO
                        图片文件夹搜索地址，如果md 里图片路径找不到，则会通过名字在此地址查找, 可指定多个 -r(default: None)
Package: mdwiki
mdwiki介绍一句话概括下mdwiki特点：一条命令把一个目录内的markdown文档构建成个人博客展示在github上，结合travis-ci实现全自动发布。
您无需在本机配置任何东西，无需安装nodejs,python等，您只需要在本机编辑markdown，然后push到您的github仓库就OK了。使用手册步骤1. 创建博客github仓库创建一个空的仓库，切换到分支source, 目的是让master分支放编译好的博客。仓库里建个目录post, post里以日期为目录，目录里写md博客，推荐typora。日期以年/月/日  来建，当然也可以  年-月/日/， 或者年-月-日/参考我的https://github.com/drunkpig/drunkpig.github.io/tree/source然后在工程目录下建立一个.travis.yml文件，内容如下，直接copy:language:pythondist:bionicsudo:requiredpython:-"3.7"branches:only:-source-masterinstall:-pip install -U mdwiki-sudo snap install treescript:-mdpub步骤2. 授权travis-ci去https://travis-ci.org/， 把你的这个博客仓库授权给他构建。步骤3. 在travis-ci上配置几个变量进入你授权的仓库的setting里，配置几个环境变量GITHUB_TK  去你的githubhttps://github.com/settings/tokens新建一个REPO_URL  你的博客的地址，注意是https://开头的，不支持git://开头U_EMAIL  你的github emailU_NAME 你的github 的名字, 也可以随便写写博客提交最后你就可以在你本地使用可视化的markdown 编辑器写博客了。写好之后push到仓库里。travis-ci自动会对博客进行构建，并提交到你的仓库。还可以给自己的博客绑定个域名，自己去网上查吧，很多介绍。参考资源csshttps://github.com/wecatch/markdown-css分页http://www.htmleaf.com/Demo/201707054612.html还有一种提交到git的方法https://garryshield.github.io/2019/04/08/travis-ci/https://www.yukunweb.com/2018/2/static-blog-based-on-flask/参考学习数学公式解析https://github.com/sJohnsonStoever/python-markdown-mathjaxbootcss 文档https://code.z01.com/v4/layout/grid.htmlhttps://juejin.im/post/5c0a27ee6fb9a049d05d8b70mathjaxhttps://www.caam.rice.edu/~heinken/latex/symbols.pdfmathjaxhttps://oysz2016.github.io/post/8611e6fb.html#%E5%85%B3%E7%B3%BB%E8%BF%90%E7%AE%97%E7%AC%A6mathjax
Package: mdwpy
This module is usefull to download files faster than usual.
It split the file into parts and download each part on different process## INSTALLpip install mdwpy## USAGE>>> from mdwpy.downloader import Downloader
>>> downloader = Downloader(url=url, filename=filename, usr= usr, pwd=pwd, directory=directory, progress=True)
>>> downloader.run()![Exemple](out.gif)## LICENCELicence [BEERWARE](https://spdx.org/licenses/Beerware.html)
Package: mdx
This is a simple library to help building .mdx scripts.
It is composed by:A simple syntax module to generate mdxFunctions to generate mdx sets from lists, .json arrays or prefined .mdx setsA writer class and a writer context managerInstallationpip install mdxUsage# UsagefrommdximportsyntaxassfrommdximportMDXSetConstructor,writerContextfrommdximportloadJson,loadMDXtoyCodeBuilder=MDXSetConstructor(memberPath="[Products].[ProductName]",comment="Product Codes")colorCodeBuilder=MDXSetConstructor(memberPath="[Colors]",comment="Color Codes")toys={'dolls':toyCodeBuilder(codeList=[1,2,3],listName="toy dolls")}colors={'blue':colorCodeBuilder(codeList=['blue','cyan'],listName="blues")}# Loads .mdx files in path# Each file becomes available as a tuple member with the file name as keytoys=loadMDX("path/to/toys",extraMembers=toys,# Add extra members defined by handtoyCodeBuilder)# Loads .json files in path# Each file becomes available as a member of a named tuple with the file name as fieldcolors=loadJSON("path/to/colors",extraMembers=colors,# Add extra members defined by handcolorCodeBuilder)# The first two arguments are passed automatically by the context manager@measuredefvolume(writer,sets,name,*expressions,**kwargs):# Perform some common .mdx operations here...writer.write(s.createMeasure(s.measureMember(name),s.sumExisting('[Measures].[PurchaseCount]',s.intersect(*expressions))))writer=MDXWriter(name='writer',path='./interestingToys')# by default the path is set on config["OUTPUT_FOLDER"]# Putting it all togetherwithwriterContext((toys,colors),writer)as(measures,config):measures(volume)(# the writer and set variables are passed to the measure after the arguments'volume of interesting toy purchases',s.tuple(toys.dolls,colors.blue),s.exclude(s.tuple(toys.cars,colors.any),s.tuple(toys.cars,colors.red),))# The output will be available at ./interestingToys.mdx# Configuration optionsfrommdximportconfigconfig["OUTPUT_FOLDER"]="./path/to/folder"config["LIST_BASE_PATH"]="./path/to/folder"config["TAB_SIZE"]=2