fabricatio 0.17.0__cp312-cp312-macosx_11_0_arm64.whl → 0.17.2__cp312-cp312-macosx_11_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fabricatio
3
- Version: 0.17.0
3
+ Version: 0.17.2
4
4
  Classifier: License :: OSI Approved :: MIT License
5
5
  Classifier: Programming Language :: Rust
6
6
  Classifier: Programming Language :: Python :: 3.12
@@ -104,9 +104,7 @@ Project-URL: Issues, https://github.com/Whth/fabricatio/issues
104
104
 
105
105
  <p align="center">
106
106
 
107
- <a href="https://fabricatio.readthedocs.io/en/latest/?badge=fabricatio">
108
- <img src="https://readthedocs.org/projects/fabricatio/badge/?version=latest" alt="Documentation Status">
109
- </a>
107
+
110
108
  <a href="https://github.com/Whth/fabricatio/actions/workflows/build-package.yaml">
111
109
  <img src="https://github.com/Whth/fabricatio/actions/workflows/build-package.yaml/badge.svg" alt="Build Package">
112
110
  </a>
@@ -119,6 +117,9 @@ Project-URL: Issues, https://github.com/Whth/fabricatio/issues
119
117
  <a href="https://coveralls.io/github/Whth/fabricatio?branch=master">
120
118
  <img src="https://coveralls.io/repos/github/Whth/fabricatio/badge.svg?branch=master" alt="Coverage Status">
121
119
  </a>
120
+ <a href="https://fabricatio.readthedocs.io/en/latest/?badge=fabricatio">
121
+ <img src="https://readthedocs.org/projects/fabricatio/badge/?version=latest" alt="Documentation Status">
122
+ </a>
122
123
  <a href="https://github.com/Whth/fabricatio/issues">
123
124
  <img src="https://img.shields.io/github/issues/Whth/fabricatio" alt="GitHub Issues">
124
125
  </a>
@@ -216,28 +217,26 @@ _(For full example details, please check our detailed documentation, see [Exampl
216
217
  ## Configuration
217
218
 
218
219
  Fabricatio supports flexible configuration through multiple sources, with the following priority order:
219
- `./.env` > `Environment Variables` > `./fabricatio.toml` > `./pyproject.toml` > `<ROMANING>/fabricatio/fabricatio.toml` > `Defaults`.
220
+ `Call Arguments` > `./.env` > `Environment Variables` > `./fabricatio.toml` > `./pyproject.toml` > `<ROMANING>/fabricatio/fabricatio.toml` > `Builtin Defaults`.
220
221
 
221
222
  Below is a unified view of the same configuration expressed in different formats:
222
223
 
223
- ### Format Examples: Unified Configuration Representation
224
-
225
- #### Environment variables or dotenv file
224
+ ### Environment variables or dotenv file
226
225
  ```dotenv
227
- FABRIK_LLM__API_ENDPOINT=https://api.openai.com
228
- FABRIK_LLM__API_KEY=your_openai_api_key
229
- FABRIK_LLM__TIMEOUT=300
230
- FABRIK_LLM__MAX_RETRIES=3
231
- FABRIK_LLM__MODEL=openai/gpt-3.5-turbo
232
- FABRIK_LLM__TEMPERATURE=1.0
233
- FABRIK_LLM__TOP_P=0.35
234
- FABRIK_LLM__GENERATION_COUNT=1
235
- FABRIK_LLM__STREAM=false
236
- FABRIK_LLM__MAX_TOKENS=8192
237
- FABRIK_DEBUG__LOG_LEVEL=INFO
226
+ FABRICATIO_LLM__API_ENDPOINT=https://api.openai.com
227
+ FABRICATIO_LLM__API_KEY=your_openai_api_key
228
+ FABRICATIO_LLM__TIMEOUT=300
229
+ FABRICATIO_LLM__MAX_RETRIES=3
230
+ FABRICATIO_LLM__MODEL=openai/gpt-3.5-turbo
231
+ FABRICATIO_LLM__TEMPERATURE=1.0
232
+ FABRICATIO_LLM__TOP_P=0.35
233
+ FABRICATIO_LLM__GENERATION_COUNT=1
234
+ FABRICATIO_LLM__STREAM=false
235
+ FABRICATIO_LLM__MAX_TOKENS=8192
236
+ FABRICATIO_DEBUG__LOG_LEVEL=INFO
238
237
  ```
239
238
 
240
- #### `fabricatio.toml` file
239
+ ### `fabricatio.toml` file
241
240
  ```toml
242
241
  [llm]
243
242
  api_endpoint = "https://api.openai.com"
@@ -255,7 +254,7 @@ max_tokens = 8192
255
254
  log_level = "INFO"
256
255
  ```
257
256
 
258
- #### `pyproject.toml` file
257
+ ### `pyproject.toml` file
259
258
  ```toml
260
259
  [tool.fabricatio.llm]
261
260
  api_endpoint = "https://api.openai.com"
@@ -273,37 +272,9 @@ max_tokens = 8192
273
272
  log_level = "INFO"
274
273
  ```
275
274
 
276
- ## Development Setup
277
-
278
- 1. **Clone the Repository**:
279
- ```bash
280
- git clone https://github.com/Whth/fabricatio.git
281
- cd fabricatio
282
- ```
283
- 2. **Install Dependencies**:
284
- ```bash
285
- make init
286
- ```
287
-
288
- 3. **Build the Package**:
289
- ```bash
290
- make dev
291
- ```
292
- 4. **Run Tests**:
293
- ```bash
294
- make tests
295
- ```
296
-
297
275
  ## Contributing
298
276
 
299
- Contributions are welcome! Follow these steps:
300
-
301
- 1. Fork the repository.
302
- 2. Create your feature branch (`git checkout -b feat/new-feature`).
303
- 3. [Optional]Create a py/rs subpackage with `make rs` or `make py`
304
- 4. Commit your changes (`git commit -am 'Add new feature'`).
305
- 5. Push to the branch (`git push origin feat/new-feature`).
306
- 6. Create a new Pull Request.
277
+ We welcome contributions from everyone! Before contributing, please read our [Contributing Guide](CONTRIBUTING.md) and [Code of Conduct](CODE_OF_CONDUCT.md).
307
278
 
308
279
  ## License
309
280
 
@@ -1,12 +1,12 @@
1
- fabricatio-0.17.0.data/scripts/tdown,sha256=pwiG26aQNZ-gZHHrnOW_RUbItqhe3h-L6Ud2fYEQCvo,4387536
2
- fabricatio-0.17.0.dist-info/METADATA,sha256=OjmpKhxPB2fDyWWTCdoKE2vfDmSrwd_SgLqCuU5DkHg,9756
3
- fabricatio-0.17.0.dist-info/WHEEL,sha256=OKNaprf69OMJcUM9j7q_InsmuCwJKmTkk4eP74FSm7I,104
4
- fabricatio-0.17.0.dist-info/licenses/LICENSE,sha256=yDZaTLnOi03bi3Dk6f5IjhLUc5old2yOsihHWU0z-i0,1067
1
+ fabricatio-0.17.2.data/scripts/tdown,sha256=mcIFLToVOrFqP04GlVnrbCymJPOZX8ukHZiNTIe0u90,4387536
2
+ fabricatio-0.17.2.dist-info/METADATA,sha256=qveGBGLo6JHcJjWS6f444kkaBoNaXDkDNT-zjsaG-xI,9254
3
+ fabricatio-0.17.2.dist-info/WHEEL,sha256=OKNaprf69OMJcUM9j7q_InsmuCwJKmTkk4eP74FSm7I,104
4
+ fabricatio-0.17.2.dist-info/licenses/LICENSE,sha256=yDZaTLnOi03bi3Dk6f5IjhLUc5old2yOsihHWU0z-i0,1067
5
5
  fabricatio/__init__.py,sha256=4a_7gabZhl9dzonBxcF-8peCGTLNxYJSDfInf1VhRsY,568
6
6
  fabricatio/actions/__init__.py,sha256=i2aGE3ZtNV2CTcYCAydlAKZq5fcQBRKlR3IL39weLEI,2243
7
7
  fabricatio/capabilities/__init__.py,sha256=_8o5ikdOnqRFw7B4qIf57OG5C29YsoBeep8eL3fhcmw,3396
8
8
  fabricatio/models/__init__.py,sha256=YG5rqio1YGHAOoiBIXKyj5XWqVQtEzcOKTlZB28IJ-4,1837
9
9
  fabricatio/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
- fabricatio/rust.cpython-312-darwin.so,sha256=OjqJiwfuhpOJ3X6Qxp8AsscIp5HSvDculItkamHgB_E,454640
10
+ fabricatio/rust.cpython-312-darwin.so,sha256=-ABdmLoQgao10gf2NsQ-2fBEOwgVgF8FEu_qoLdspWY,454640
11
11
  fabricatio/workflows/__init__.py,sha256=sr-0tgpNPdN5t2pDQa-gp-KUE7K0QDtjP9QGvWYLZ9A,305
12
- fabricatio-0.17.0.dist-info/RECORD,,
12
+ fabricatio-0.17.2.dist-info/RECORD,,