Saravanan666/pypi-org huggingface dataset:
Package: beancount-refried
refriedA collection of plugins and scripts forbeancountandfavafor monthly budgeting.
Budgeting-related plugins inspired byYou Need a Budget.InstallationInstall this plugin from PyPI:pipinstallbeancount-refriedAlternatively, if you want to be able to edit the plugins locally,
you can clone this repository then run the following from within
the root of the repository:pipinstall-e.Quick startEnable therebudgetbeancount plugin and theavail_extfava extension
by adding the following lines to your beancount file:plugin "refried.plugins.rebudget"
2020-01-01 custom "fava-extension" "refried.extensions.avail_ext"This will add a new report "Budget" to fava. Therebudgetplugin is
required for it to function properly.See the document onYNAB-style budgetingfor details.CustomizationThe fava extensions allow you to specify more user friendly names by using aname: <str>metadata on an account'sopendirective.You can also influence the ordering of displayed accounts using anordering: <number>metadata on an account'sopendirective if you don't want the
default alphabetic ordering.
You can also use Decimals or strings of the form "....."
to easily insert new accounts between two adjacent accounts.
For example, "23.64.2" would be ordered between "23.64" and "23.65".Some of the plugins/extensions may currently make assumptions about currency (USD) and
various account names.Attributionrefried includes content based off of files fromhttps://github.com/redstreet/beancount_reds_plugins, licensed under GPL3.
Package: beancount-stubs
beancount-stubsA package containing stub files for thebeancountpackage.UsageInstall the package:$>pipinstallbeancount-stubsRunmypy:$>mypy.Themypybinary will automatically detect the stubs included in the installed
package and use them when asserting against the beancount package. Note that
many of the subpackages in the beancount package do not have stubs andmypywill complain about the missing stubs. To disable this error on an unsupported
package, use the following syntax:frombeancount.opsimportvalidation# type: ignoreSupportThe following subpackages/modules are currently supported:beancount.loaderbeancount.core.*beancount.query.numberifybeancount.query.querybeancount.query.query_compilebeancount.query.query_executeContributingCheck out theissuesfor items needing attention or submit your own and
then:Fork the repoCreate your feature branch (git checkout -b feature/fooBar)Commit your changes (git commit -am 'Add some fooBar')Push to the branch (git push origin feature/fooBar)Create a new Pull Request
Package: beancount-swe
READMEWe help Sweden cook their books using Beancount since 2022!Supported banks:LänsförsäkringarIf you want to add your bank to this lists please drop an issue and include a
.csv with your banks format.Gettings statedIn the example folder there is a example beancount project which usesbeancount-swewithfavaandbeancountto manage personal finance from swedish banks.cp examples ~/my-beancountcd ~/my-beancountOpen~/my-beancount/README.mdfor further instructions on how to use the example project.DevelopmentInstall:pip install poetrypoetry installBuild:poetry buildTest:poetry run pytestLint:poetry run flake8Fix:poetry run black . && poetry run isort beancount-swe/ tests/
Package: beancount-syspath
beancount-syspathManipulatesys.pathfrom within the beancount file. This is a plugin forBeancount, a double-entry bookkeeping computer language.InstallationInstall via pippipinstallbeancount-syspathUsagePrepend list of pathsplugin "beancount_syspath.plugin" "{
    'append': ['some/dir', 'other/dir'],
    'prepend': ['some/dir', 'other/dir'],
}"Note: Place the directive before other plugin loading ones, so they can make use of the updatedsys.path.ConfigurationThe config value is a python dict literal, contains the following keysKeyTypeOptionalDefaultMeaningappendList[str]yes[]Append the list of path tosys.pathprependList[str]yes[]Prepend the list of path tosys.pathnormalize_to_rootboolyesTrueIf the path is relative, it is considered to be relative to the root beancount file, and normalized to absolute path before adding tosys.path.
Package: beancount-wacai
挖财数据导入 Beancount本脚本实现了解析挖财导出文件并转换为 Beancount 账本的功能。基本保留了挖财导出文件的全部内容细节。功能:一次性处理收入、支出、转账、借贷往来全部记录时间信息以 Transaction 的 metadata 形式保留（例如time: "11:22:33"）成员消费以 Posting 的 metadata 形式保留（例如member: "阿猫"）账本信息以 tags 的形式保留项目信息以 tags 的形式保留报销记录以 links 的形式保留（统一为Reimburse），记录为与指定账户（account_reimburse参数）的转账，同时保留原始消费类别（添加总额为 0  的 Posting）以便查询借贷往来统一记录到两个账户中（account_debt与account_credit参数），以payee区分外部账户或人员借贷往来中增加利息支出 Posting，记录到统一账户（expenses_interest参数）中为无备注的借贷与转账自动添加备注TODO:转换余额调整记录为 pad & balance 语句（暂无可用的数据来源）借款项支持非 CNY 的货币（挖财中无相关记录的货币信息）多人账本（目前没有参考文件格式）增加利息收入记录到统一账户的配置参数已知的问题与说明：挖财中，跨在不同币种账户间转账（如：人民币还信用卡美元欠款）的记录不准确，目前统一以转出账户的货币为准。需要手动确认 Beancount 记录（已经打!Flag），比如一张双币信用卡的主货币是正的，而其他货币是负的。挖财中的项目一般为中文，而 Beancount 不支持中文 tag，目前已转换为拼音（如：公司->gong1-si1），如有修改需要请使用批量替换工具处理。挖财导出文件中不包含余额调整信息，导入后各账户的余额不准确需要手动对账一次；历史余额准确度取决于在挖财中是否事无巨细全部记录。使用方式安装pip3installbeancount-wacai配置请参考example.bean中的内容，预先开一些常用账户。然后参考example.import配置.import文件：frombeancount_wacaiimportWacaiImporterCONFIG=[WacaiImporter({'招商卡':'Assets:CN:CMB','招商卡信用卡':'Liabilities:CN:CMB',# ...},{'工资薪水':'Income:Salary','其他':'Income:Other',# ...},{'衣服鞋帽':'Expenses:Shopping:Clothing','软件服务':'Expenses:Shopping:Software',# ...},account_debt='Liabilities:Payable',#债权account_credit='Assets:Receivables',#债务account_reimburse='Assets:Reimburse',#报销account_ufo='Equity:Opening-Balances',)]### 导出挖财在挖财网页版中，导出各个账本（导出为收费功能，最便宜的档位是50 元季度会员）。解压后获得.xlsx文件。验证脚本是否能处理这些文件：# 假设文件都位于相对目录 wacai_example_file 中bean-identifyexample.importwacai_example_file将输出：**** wacai_example_file\wacai_日常账本_202101011200001_123.xlsxImporter:    wacaiAccount:     None导入如无问题，可继续执行bean-extractbean-extractexample.importwacai_example_file\wacai_日常账本_202101011200001_123.xlsx>result.bean#或bean-extractexample.importwacai_example_file>result.bean执行过程中，会输出未识别的账户，例如：Unknown accounts:Assets:Unknown:北京银行卡Assets:Unknown:招商信用卡-美元Assets:Unknown:招商信用卡Assets:Unknown:交行信用卡Income:Unknown:利息Expenses:Unknown:手机电话Expenses:Unknown:数码产品Expenses:Unknown:购物其他Expenses:Unknown:对帐Expenses:Unknown:代付款Expenses:Unknown:求医买药Expenses:Unknown:花鸟宠物可据此手动在主账本中，使用open补齐这些账户，如有修改需要请使用批量替换工具处理。输出结果可参考result.bean。最后在主账本中引入：include "result.bean"注意在 Windows CMD 中，最终输出的文件可能是 GBK 编码，这将需要你手动转换文件编码。
Package: beanhub-cli
beanhub-cliCommand line tools for BeanHub.FeaturesLocal BeanHub Form web app- You can run aBeanHub Formweb app locally to try out your formsFormatter- Advanced Beancount file formatter based on top ofbeancount-blackBasic Beancount file manipulations- Effortless Beancount account name renaming and other basic manipulations (coming soon)Doesn't require a BeanHub account- While some features in the future will require a BeanHub repository to operate, but we make most of them usable even without a BeanHub accountScreenshotsSponsorA modern accounting book service based on the most popular open source version control systemGitand text-based double entry accounting book softwareBeancount.Installpipinstallbeanhub-cliUsageBeanHub Forms web appTo make it much easier for BeanHub users to test their BeanHub Forms locally, we added a simple local web app for that in beanhub-cli.
You can run it bybhformserverIt should open the BeanHub Forms web page locally athttp://localhost:8080by default.
It reads the.beanhub/forms.yamlfile from the current directory and will modify beancount files in the directory, so make sure you cd to your beancount directory before running the command.
To learn more about BeanHub Forms, please read our blog postAutomating Beancount data input with custom forms makes your life 10 times easier!.List BeanHub FormsTo list BeanHub Forms, simply runbhformlistValidate BeanHub Forms docTo validate BeanHub Forms doc, simply runbhformvalidateFormat beancount filesYou can runbeancount-blackformatter against given files by the following commandbhformatmain.beanCurrently, the formatter works mostly the same as beancount-black, except it doesn't create a backup file by default.
We are working on adding new features, such as making it possible to follow Beancount include statements to format all Beancount files.More features to comeWe are working on basic beancount file manipulation features, such as renaming account names.
We will also add new features only for BeanHub users as well.
But in general, if possible, we would like to make the features added to beancount-cli work locally without a BeanHub account as much as possible so that the beancount community can benefit from it.
Package: beanie
OverviewBeanie- is an asynchronous Python object-document mapper (ODM) for MongoDB. Data models are based onPydantic.When using Beanie each database collection has a correspondingDocumentthat
is used to interact with that collection. In addition to retrieving data,
Beanie allows you to add, update, or delete documents from the collection as
well.Beanie saves you time by removing boilerplate code, and it helps you focus on
the parts of your app that actually matter.Data and schema migrations are supported by Beanie out of the box.There is a synchronous version of Beanie ODM -BunnetInstallationPIPpipinstallbeaniePoetrypoetryaddbeanieExampleimportasynciofromtypingimportOptionalfrommotor.motor_asyncioimportAsyncIOMotorClientfrompydanticimportBaseModelfrombeanieimportDocument,Indexed,init_beanieclassCategory(BaseModel):name:strdescription:strclassProduct(Document):name:str# You can use normal types just like in pydanticdescription:Optional[str]=Noneprice:Indexed(float)# You can also specify that a field should correspond to an indexcategory:Category# You can include pydantic models as well# This is an asynchronous example, so we will access it from an async functionasyncdefexample():# Beanie uses Motor async client under the hoodclient=AsyncIOMotorClient("mongodb://user:pass@host:27017")# Initialize beanie with the Product document classawaitinit_beanie(database=client.db_name,document_models=[Product])chocolate=Category(name="Chocolate",description="A preparation of roasted and ground cacao seeds.")# Beanie documents work just like pydantic modelstonybar=Product(name="Tony's",price=5.95,category=chocolate)# And can be inserted into the databaseawaittonybar.insert()# You can find documents with pythonic syntaxproduct=awaitProduct.find_one(Product.price<10)# And update themawaitproduct.set({Product.name:"Gold bar"})if__name__=="__main__":asyncio.run(example())LinksDocumentationDoc- Tutorial, API documentation, and development guidelines.Example Projectsfastapi-cosmos-beanie- FastAPI + Beanie ODM + Azure Cosmos Demo Application byAnthony Shawfastapi-beanie-jwt-
Sample FastAPI server with JWT auth and Beanie ODM byMichael duPontShortify- URL shortener RESTful API (FastAPI + Beanie ODM + JWT & OAuth2) byIliya HosseiniLCCN Predictor- Leetcode contest rating predictor (FastAPI + Beanie ODM + React) byL. BaoArticlesAnnouncing Beanie - MongoDB ODMBuild a Cocktail API with Beanie and MongoDBMongoDB indexes with BeanieBeanie Projections. Reducing network and database load.Beanie 1.0 - Query BuilderBeanie 1.8 - Relations, Cache, Actions and more!ResourcesGitHub- GitHub page of the
projectChangelog- list of all
the valuable changesDiscord- ask your questions, share
ideas or just sayHello!!Supported byJetBrains
Package: beanita
BeanitaLocal MongoDB-like database, based onMongitaand prepared to work withBeanie ODMI highly recommend using it only for experiment purposes. It is safer to use a real MongoDB database and for testing, and for production.Initfrombeanieimportinit_beanie,DocumentfrombeanitaimportClientclassSample(Document):name:strasyncdefinit_database():cli=Client("LOCAL_DIRECTORY")db=cli["DATABASE_NAME"]awaitinit_beanie(database=db,document_models=[Sample],)Not supportedLinksAggregationsUnion Documentsother features, that were not implemented in Mongita
Package: beanmachine
Bean MachineOverviewBean Machine is a probabilistic programming language for inference over statistical models written in the Python language using a declarative syntax. Bean Machine is built on top of PyTorch and Bean Machine Graph, a custom C++ backend.
Check out ourtutorialsandQuick Startto get started!InstallationBean Machine supports Python 3.7-3.10 and PyTorch 1.12.Install the Latest Release with Pippython-mpipinstallbeanmachineInstall from SourceTo download the latest Bean Machine source code from GitHub:gitclonehttps://github.com/facebookresearch/beanmachine.gitcdbeanmachineThen, you can choose from any of the following installation options.AnacondaWe recommend usingcondato manage the virtual environment and install the necessary build dependencies.condacreate-n{envname}python=3.8;condaactivate{envname}condainstall-cconda-forgeboost-cppeigen=3.4.0
python-mpipinstall.Dockerdockerbuild-tbeanmachine.
dockerrun-itbeanmachine:latestbashValidate InstallationIf you would like to run the builtin unit tests:python-mpipinstall"beanmachine[test]"pytestsrcLicenseBean Machine is MIT licensed, as found in theLICENSEfile.
Package: bean_mortgage
Bean MortageSimple CLI tool to produce a mortgage schedule for beancount.pip install bean_mortgageExamplebean-mortgage150000.001200.0180\-cEUR\-lLiabilities:Mortgage:Island\-eExpenses:Fees:Mortgage:Island\-aAssets:Bank:Checking\-p"Banque de France"\-d"Loan Island"\-f2018-03-19Typically I put this in a separate file for each loan, and I edit the file as
the operations actually happen; and in the main file I put the initial
transaction, which could be in this example:2018-02-20 * "M NotShadyGuy" "Got an island"
  Assets:Island                150000.00 EUR
  Liabilities:Mortgage:Stuff  -150000.00 EUR
Package: beans
[Beans](http://business.loyalbeans.com) API for Python allows you to easily integrate Beans in your application.InstallWe recommend installing with pip.`sh pip install beans `OverviewA secret key is required for using the SDK. To get a secret key, you need to have a Business account on Beans.Register for afreeBeans account [here](http://business.loyalbeans.com).DocumentationHere is the [documentation](http://business.loyalbeans.com/doc/)Python Version Supported
- 2.7
- 3.3+
Package: beansieve
beansieve 账单整理工具beansieve 是一个用于整理 beancount 账本的小工具。这个工具主要实现以下两个功能：通过--type aggregate将账单中包含特定账户的条目放到一个新账本文件中。通过--type archive将特定时间范围内的 Transaction 条目保留到一个新账本文件中。安装pipinstallbeansieve一些术语type：操作类型，即aggregate按账户拆分账本或archive按时间范围归档账本；source：源文件，即要操作的账本文件；dest：目标文件，即新生成的账本文件的保存目录；rule：使用aggregate时用于指定聚合规则；keep：使用archive时用于指定保留时间范围。Structure 输出文件的结构该工具运行会重新组织账本文件，组织规则如下：──account.beancount# 账户相关指令，即 `open` 和 `close`├──commodity.beancount# commodity 指令├──custom.beancount# custom 指令（如 fava 中提供的 balance 指令）├──document.beancount# document 指令├──event.beancount# event 指令├──history.beancount# 如果使用 `archive`，则 `keep` 范围外的 Transaction 会被移动到此文件夹中├──main.beancount# 主账本文件，include 其他账本文件，如果使用 `archive` 则会包含 `keep` 范围内的 Transaction，如果使用 `aggregate` 则未匹配上的 Transaction 文件会被移动到此文件├──note.beancount# note 指令├──price.beancount# price 指令├──<key>.beancount# 使用 `aggregate` 时按 `rule` 拆分出来的账本└──query.beancount# query 指令aggregate 的用法使用aggregate将账单中包含特定账户的条目放到一个新账本文件中。
通过使用--rule设置账户匹配规则，支持设置多种规则，单条规则的格式为<key>:<pattern>，其中<key>为文件名称，<pattern>为一个用于匹配账户名称的正则表达式。如果有多条规则则使用,分割匹配规则。例如下面的脚本会将 ：posting 中账户名称匹配Income:US:ETrade:.*的 Transaction 移动到Etrade.beancount文件；posting 中账户名称匹配Income:US:Babble:Salary的 Transaction 移动到Payroll.beancount文件；其他的 Transaction 移动到main.beancount文件；其他的 Directive 会按照 Structure 规则移动到特定的文件中。# generate sample beancount filesbean-example>example.beancount
bean-reportexample.beancountbalances>example-balances.txt# aggregaterm-rfexample_aggregate
python-mbeansieve\--typeaggregate\--source"example.beancount"\--dest"example_aggregate"\--rule"Etrade|Income:US:ETrade:.*,Payroll|Income:US:Babble:Salary"bean-reportexample_aggregate/main.beancountbalances>example_aggregate-balances.txtarchive 的用法使用archive能够保留将特定时间范围内的 Transaction 条目保留到main.beancount文件中，时间范围外的 Transaction 会被移动到archive.beancount文件中。
其中--keep用于指定从当前时刻其回溯的时间范围，比如1d表示自当前时刻起前 1 天的 Transaction 会被保留到main.beancount文件中，1w则保留前 7 天的条目，1m保留前 30 天的条目。
例如下面的脚本会将：从当前时刻起前 7 天的 Transaction 移动到main.beancount文件；其他 Transaction 移动到archive.beancount文件；其他的 Directive 会按照 Structure 规则移动到特定的文件中。# generate sample beancount filesbean-example>example.beancount
bean-reportexample.beancountbalances>example-balances.txt

rm-rfexample_archive
python-mbeansieve\--typearchive\--source"example.beancount"\--dest"example_archive"\--keep7d
bean-reportexample_archive/main.beancountbalances>example_archive-balances.txt其他说明这个工具不能保证输入(--source)文件结构的完整性，因此如果有使用include拆分账本文件的习惯，请先确保你认同Structure的拆分规则；aggregate和archive这两个命令不能同时使用，因为对我而言只是当有拆分 Transaction 的时候才会使用aggregate拆分账本，更多时候是通过archive来确保最近一段时间的账本文件（main.beancount）足够精简；使用前做好备份，以防止数据丢失，在使用前后使用 bean-report 生成 balance 报表进行对比，可以确保转换无误。
Package: beansoup
ContentsDescriptionCopyright and LicenseAuthorDescriptionbeansoupoffers a collection of plugins
and tools that extend the functionality ofbeancountto facilitate my accounting and
investment tracking activities.Copyright and LicenseCopyright (C) 2016  Filippo Tampieri.  All Rights Reserved.beansoupis distributed under theGNU General Public License, the
same license used bybeancount.AuthorFilippo Tampieri <fxt@fxtlabs.com>
Package: beansp
BEANSpBayesian Estimation of Accreting Neutron Star parametersFree software: MIT licenseDocumentation:https://beans-7.readthedocs.io/en/latest/Repo:https://github.com/adellej/beansFeaturesThis software uses a Markov Chain Monte Carlo approach to match observations of an accreting neutron star in outburst with a simple ignition model to constrain parameters including the neutron star mass, radius, surface gravity, distance and system inclination, and accreted fuel composition.The code is written in Python 3, except for settle which is a C++ code with a python wrapper. It makes use of Dan Foreman-Mackey’s python implementation of MCMC, emcee, available athttps://github.com/dfm/emcee.CreditsSoftware written by Adelle Goodwin; for a full description see Goodwin et al. (2019,https://doi.org/10.1093/mnras/stz2638or preprint athttps://arxiv.org/pdf/1907.00996).The algorithm is based on code written by Duncan Galloway, and depends on pySettle (https://github.com/adellej/pysettle), which was forked from the original settle written by Andrew Cumming.Package installation and usageBEANSp is on pyPI (https://pypi.org/project/beansp/) so installation is easy - either straight or in virtual environment:pip install beanspfrom beansp.beans import Beans(Please refer tothis simple test scriptas an example.)Build and installation from this github repositoryPlease refer tobuild instructions.History0.1.0 (2019-09-19)First release on PyPI.
Package: beantop
beantop=======Top command for [beanstalkd][][beanstalkd]: http://kr.github.com/beanstalkd/=======Usage: ./beantop.py -h <host> -p <port>Inspired in very useful command tools like htop and innotop, I decided a good top command for beanstalkd could be very useful. Right now, it only shows a subset of the information available at a specified interval.To exit, press 'q'Example output:Thu, 25 Apr 2013 09:44:29current-jobs-ready: 0current-waiting: 89current-workers: 120Tube                     my_tubecurrent-jobs-delayed              0current-jobs-ready              0current-jobs-reserved             31current-waiting             69nn
Package: bearalpha
BearAlphaIntroductionBearalpha is a portal gate to get access to our work collection and at the same time, it is a Quantum toolkit. The individual project is saved as submodules and can be downloaded respectively.InstallationpipinstallbearalphaIf you need to use bearalpha to do statistical work or crawl informations from the web, please use the following commandpipinstallbearalpha[stats]pipinstallbearalpha[crawl]Also, you can clone this project and the submodule at a time, which provide you the easiest way to use bearalpha and explore the project collections.gitclonehttps://github.com/pppoak/BearAlpha--recursiveThen, to ensure there is no path problems when using bearalpha, please run:pipinstall-e.In this way, you can also help develop bearalpha, any changes will be sync to your own bearalpha package. And you can create some pull requests to help us improve bearalpha.SubmodulesFactorBacktestResearchPlansThe project is under continuously update, a lot of new ideas will be added, and we are looking forward to your great standpoint. Any problem can be come up with a issue, or any data help by emailppoak@foxmail.com
Package: bearboto3
bearboto3This project provides support for using theboto3library (AWS Python SDK) and associated stub libraries such asboto3-stubstogether withbeartypefor runtime type-checking.Since boto3 uses a data-driven factory model to create class types at runtime, you cannot annotate them without support of stub libraries such asboto3-stubs. However, if you are using a runtime type-checker such asbeartype, type validation will fail since the types technically do not match (even though they represent the same object schema).Behold...this project makes use of thetyping.TYPE_CHECKINGconstant found in the pythontypingmodule to conditionally load either static types from a stub library (in this caseboto3-stubs), or custom annotated types that can be checked withbeartype.Installation/UseSee thelist of servicesto see what is currently implemented.Supported python versions:>= 3.7Install withpip:pip3 install bearboto3or with whatever dependency management tool you use (likepoetry):poetry add bearboto3Then in your code, import the specific types you need:frombeartypeimportbeartypefrombearboto3.s3importS3Client,Bucketimportboto3@beartypedefexample(s3:S3Client)->Bucket:returns3.create_bucket(Bucket='mybucket')s3_client=boto3.client('s3')bucket=example(s3_client)You will be able to have your salmon and eat it too!Installing the type stubsAt present, there does not appear to be a way inpyproject.tomlto specify extra/optional packages that should be installed asdevdependencies. The type stubs for each service (which allow for IDE integration courtsey ofboto3-stubs) can be installed as extras such as:poetry install bearboto3[s3]butNOTEthis will install the type stubs asruntimedependencies given the limitations above. The type stub libraries arenotneeded to run any code you use this package with, so the recommended approach is to install whatever type stubs you need yourself in your project'sdev-dependenciessection.Future work includes being able to isolate installingbearboto3runtime type definitions per service, like you are able to specify withmotoandboto3-stubs.VersioningFor the most part this project will try to adhere to semantic versioning. The first1.0.0release will come when type checking for all of the AWS services have been finished.0.x.0releases will contain type checking for new services, and0.x.xreleases will contain any fixes on the existing implemented services.If the community disagrees with this approach and would like to propose an alternative, please feel free to start a discussion or open an issue.ContributingSeecontributingAcknowledgements@leycec For being an avid supporter and welcoming me to thebeartypefamily
Package: bearcart
Pandas Series and DataFrames with DatetimeIndex goes in. Rickshaw.js comes out.Bearcart is a small library for creating Rickshaw visualizations with Pandas timeseries data structures. It has a simple API, a number of plot types, and some really nice legends and tooltips thanks to the folks at Shutterstock.Bearcart uses Jinja2 templating to create the output, and the files are simple HTML/CSS/JS that can be manipulated after the fact for your application.
Package: bearclaw
BearclawComponents to help extract features from variants, to be used as part of a pipeline.Installationpip3installbearclawUsagefrombearclaw.preprocessingimportVariantDataGeneratorfrombearclaw.transformsimportspectrum# Dataframe containing locations of VCF files and labels.dataframe=DataFrame({"vcf":["src/test/resources/GRCh37/sample1.vcf","src/test/resources/GRCh37/sample2.vcf",],"class":[1,0],})# Transform VCF files into features using `spectrum`, which counts the number of variants by flanking context.dg=VariantDataGenerator(transform=spectrum)# Convert dataframe to label `y` and features `X_spectrum` using `spectrum`.X_spectrum,y=dg.flow_from_dataframe(dataframe,x_col="vcf")Reference documentationhttps://hylkedonker.gitlab.io/bearclaw/LicenseFor open source projects, say how it is licensed.