<|begin▁of▁sentence|># 1.2.1.2.1. 使用说明
## 1.2.1.2.1.1. 安装
### 1.2.1.2.1.1.1. 安装依赖
“`bash
pip install -r requirements.txt
“`
### 1.2.1.2.1.1.2. 安装包
“`bash
pip install -e .
“`
## 1.2.1.2.1.2. 使用
### 1.2.1.2.1.2.1. 命令行
“`bash
# 查看帮助
python -m zotero_bibtize –help
# 转换单个文件
python -m zotero_bibtize –input example.bib –output example_output.bib
# 转换文件夹中的所有文件
python -m zotero_bibtize –input ./bib_files –output ./output_files
# 使用自定义配置文件
python -m zotero_bibtize –input example.bib –output example_output.bib –config my_config.json
“`
### 1.2.1.2.1.2.2. Python API
“`python
from zotero_bibtize import process_bib_file, process_bib_directory
# 处理单个文件
process_bib_file(‘input.bib’, ‘output.bib’)
# 处理目录中的所有文件
process_bib_directory(‘input_dir’, ‘output_dir’)
“`
### 1.2.1.2.1.2.3. 配置文件
程序支持通过 JSON 配置文件自定义转换规则。默认配置如下:
“`json
{
“field_mappings”: {
“title”: “title”,
“author”: “author”,
“journal”: “journal”,
“year”: “year”,
“volume”: “volume”,
“number”: “number”,
“pages”: “pages”,
“doi”: “doi”,
“url”: “url”,
“abstract”: “abstract”
},
“entry_type_mappings”: {
“article”: “article”,
“book”: “book”,
“inproceedings”: “inproceedings”,
“conference”: “inproceedings”,
“phdthesis”: “phdthesis”,
“mastersthesis”: “mastersthesis”,
“techreport”: “techreport”,
“unpublished”: “unpublished”,
“misc”: “misc”
},
“author_format”: “{last}, {first}”,
“title_case”: true,
“remove_fields”: [“file”, “timestamp”, “annote”],
“add_fields”: {
“keywords”: “”,
“note”: “Imported from Zotero”
}
}
“`
您可以创建自定义配置文件来覆盖默认设置。
Print
Spicy Cajun Chicken Twisted Pasta in Creamy Mozzarella Alfredo Sauce
5 Stars 4 Stars 3 Stars 2 Stars 1 Star
No reviews
- Author: Chef Billy
Description
A bold and creamy pasta dish featuring tender Cajun-spiced chicken and twisted pasta, all smothered in a rich mozzarella Alfredo sauce.
Ingredients
For the Crust:
- 1 lb boneless, skinless chicken breast, cubed
- 2 tbsp Cajun seasoning
- 12 oz twisted pasta (such as fusilli or rotini)
- 2 tbsp olive oil
- 4 cloves garlic, minced
- 1 cup heavy cream
- 1 cup shredded mozzarella cheese
- 1/2 cup grated Parmesan cheese
- Salt and black pepper to taste
- Fresh parsley, chopped (for garnish)
Instructions
1. Prepare the Crust:
- Season chicken cubes with Cajun seasoning. Heat olive oil in a large skillet over medium-high heat and cook chicken until browned and cooked through, about 6-8 minutes. Remove and set aside.
- Cook pasta according to package directions until al dente. Drain and set aside.
- In the same skillet, add minced garlic and sauté for 1 minute. Pour in heavy cream and bring to a simmer. Stir in mozzarella and Parmesan cheeses until melted and smooth.
- Add cooked pasta and chicken to the sauce, tossing to coat evenly. Season with salt and pepper to taste. Garnish with fresh parsley before serving.
Notes
You can customize the seasonings to taste.
I’m Billy, a classically trained culinary school graduate from The Culinary Institute of America with over 12 years in the restaurant industry and over 19 years of cooking experience.