fxn 0.0.39__py3-none-any.whl → 0.0.40__py3-none-any.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
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -32,7 +32,7 @@ class PredictionService:
32
32
  self.__fxnc = PredictionService.__load_fxnc()
33
33
  self.__cache = { }
34
34
  self.__cache_dir = self.__class__.__get_resource_dir() / ".fxn" / "cache"
35
- self.__cache_dir.mkdir(exist_ok=True)
35
+ self.__cache_dir.mkdir(parents=True, exist_ok=True)
36
36
 
37
37
  def create (
38
38
  self,
fxn/version.py CHANGED
@@ -3,4 +3,4 @@
3
3
  # Copyright © 2024 NatML Inc. All Rights Reserved.
4
4
  #
5
5
 
6
- __version__ = "0.0.39"
6
+ __version__ = "0.0.40"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fxn
3
- Version: 0.0.39
3
+ Version: 0.0.40
4
4
  Summary: Run prediction functions locally in Python. Register at https://fxn.ai.
5
5
  Author-email: "NatML Inc." <hi@fxn.ai>
6
6
  License: Apache License
@@ -229,7 +229,10 @@ Requires-Dist: typer
229
229
 
230
230
  [![Dynamic JSON Badge](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fdiscord.com%2Fapi%2Finvites%2Fy5vwgXkz2f%3Fwith_counts%3Dtrue&query=%24.approximate_member_count&logo=discord&logoColor=white&label=Function%20community)](https://fxn.ai/community)
231
231
 
232
- Run prediction functions (a.k.a "predictors") locally in your Python apps, with full GPU acceleration and zero dependencies. In a few steps:
232
+ Run prediction functions (a.k.a "predictors") locally in your Python apps, with full GPU acceleration and zero dependencies.
233
+
234
+ > [!TIP]
235
+ > [Join our waitlist](https://fxn.ai/waitlist) to bring your custom Python functions and run them on-device across Android, iOS, macOS, Linux, web, and Windows.
233
236
 
234
237
  ## Installing Function
235
238
  Function is distributed on PyPi. This distribution contains both the Python client and the command line interface (CLI). To install, open a terminal and run the following command:
@@ -266,9 +269,6 @@ prediction = fxn.predictions.create(
266
269
  print(prediction.results[0])
267
270
  ```
268
271
 
269
- > [!TIP]
270
- > Explore public predictors [on Function](https://fxn.ai/explore) or [create your own](https://fxn.ai/waitlist).
271
-
272
272
  ## Using the Function CLI
273
273
  Open up a terminal and login to the Function CLI:
274
274
  ```sh
@@ -1,6 +1,6 @@
1
1
  fxn/__init__.py,sha256=m-QwB7uabrzgfPnV4wBCeSUWjPvAm_BxnnX1G-c2sb8,147
2
2
  fxn/function.py,sha256=W_JkTk3KAMpFGqh95yO-Iy4AvFU22UJZkRt15dyf3IY,1187
3
- fxn/version.py,sha256=6RN443adJ_7MU0Vq2f97x-Oav46FAUdPb6uC6fno6Hs,95
3
+ fxn/version.py,sha256=wcBQh8v59eRpFHW8Sf44TTcOl7CHVDLNxvcWbxwR20Y,95
4
4
  fxn/api/__init__.py,sha256=rJIDBhYg5jcrWO4hT4-CpwPq6dSgmLTEHCfUYTLpVaI,103
5
5
  fxn/api/client.py,sha256=WCNsebcuwIlP9W5k_8AQCpxOCcy7cpbengfu2rIkGmc,1192
6
6
  fxn/c/__init__.py,sha256=qBnS4_eoBe5biKoyhW0Fsfr3cqJ9SAvzmm-XB56ev0A,438
@@ -21,14 +21,14 @@ fxn/cli/misc.py,sha256=6zYuuF1pm1LzYkHG4YaSnBxzs7h8CReI6YLk1ysGRso,843
21
21
  fxn/cli/predict.py,sha256=hpd1VZtw1OBNkZwePCFtyTHLSDOzc8fuSODGmvmmG1E,3026
22
22
  fxn/cli/predictors.py,sha256=SSvxf5emr_upcU78vhdB2F9PM351YdP2a1bqf8FRaxE,2248
23
23
  fxn/lib/__init__.py,sha256=c_q01PLV3Mi-qV0_HVbNRHOI2TIUr_cDIJHvCASsYZk,71
24
- fxn/lib/linux/arm64/libFunction.so,sha256=Pvs66SiHXXb8FLOaFv2sUM92_jeJAU4to8MaJNFDwfQ,215888
25
- fxn/lib/linux/x86_64/libFunction.so,sha256=PAHnz5bSQKhz5xXji5Q58zBwEigcL4fO9gXTGxE88Og,248616
26
- fxn/lib/macos/arm64/Function.dylib,sha256=20GmBYdLcIDHx07JQGmY7go14YqMNmScSuhqHT0BnHM,285536
27
- fxn/lib/macos/x86_64/Function.dylib,sha256=F_z2fZKdP5hs80BKQPcrUNBAaWicu1AJ7-kVOnSEMkI,278752
28
- fxn/lib/windows/arm64/Function.dll,sha256=SXpzvMQBmNuSEIWGIom7xSuU3FrIGOx092Q-RvsRvZE,425472
29
- fxn/lib/windows/x86_64/Function.dll,sha256=hnLGNo85Dcmaall0x00wq6WTqiLjZrHRy6GScCMHpDc,471040
24
+ fxn/lib/linux/arm64/libFunction.so,sha256=Yt9kJ5pf-ZLEZK7pQB3A06m4UUo9NrdHetsX46Nu5hE,215864
25
+ fxn/lib/linux/x86_64/libFunction.so,sha256=X9rdqjJRHZKZpOntr_QPol2308qSG9K_7NgUPRdubwM,248592
26
+ fxn/lib/macos/arm64/Function.dylib,sha256=bjAqBplT88ZvlMQideUj49qg95R9VCNlSP_MpUOjGP8,285536
27
+ fxn/lib/macos/x86_64/Function.dylib,sha256=GVnaSlDuMX55KWqQjKaJMD2vYB1KU3W8PXHATK222hE,277264
28
+ fxn/lib/windows/arm64/Function.dll,sha256=QkYuXS-AFrbrnTkU8goX3s1TxtYZDQkDa2aI0upzLjg,425472
29
+ fxn/lib/windows/x86_64/Function.dll,sha256=h_4sQr6nrdoGPTqGyoPTg7jrhpe5JD3zw6IPInPNN0g,471040
30
30
  fxn/services/__init__.py,sha256=TZBB8xekhfA_Z1Jh68m_GScjXYsLGdx9MlCrjF9Ojsc,249
31
- fxn/services/prediction.py,sha256=xxT1sZrwUcvMFvwHZ9LftI389Q0vmjj5nrbs5fYKMpM,20200
31
+ fxn/services/prediction.py,sha256=R9dy9UdTBeVmJmtII4E0C_4Hq1n_9At7n-GuplxWk8w,20214
32
32
  fxn/services/predictor.py,sha256=YDSWJi-B-Uf5LHhov3ZuUW6qg3u1i3oidrTD-Rlw1nQ,5067
33
33
  fxn/services/user.py,sha256=niExZwZFl_hlgLTz9lvrU3QrVR8oKdMcm623wyQK-cA,1217
34
34
  fxn/types/__init__.py,sha256=1TE9Tb-_pKtLadg5_W2arAssvPglyjNIMM5CJVWJQvw,301
@@ -36,9 +36,9 @@ fxn/types/dtype.py,sha256=YpTnIG-yzrQwda27GzfGZcel-zF3gOMMoHhcWD915BY,617
36
36
  fxn/types/prediction.py,sha256=y54TA0w16MVW2jUwN6U-BtXARZgyk2WXy2mHDf9Hsjw,2028
37
37
  fxn/types/predictor.py,sha256=CgpBeDDyroij9FHwC2FiKWQTp6vWB8Mflm5DvSdsdNA,4708
38
38
  fxn/types/user.py,sha256=EZzuIhSdmm_HnzgL7WZ7UfW6rADPqsZii14c7zFUYNM,1172
39
- fxn-0.0.39.dist-info/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
40
- fxn-0.0.39.dist-info/METADATA,sha256=_SWTmmEfLW-cyHwGIXp0LJXvs8Th030zcAlDcZ21El0,16061
41
- fxn-0.0.39.dist-info/WHEEL,sha256=UvcQYKBHoFqaQd6LKyqHw9fxEolWLQnlzP0h_LgJAfI,91
42
- fxn-0.0.39.dist-info/entry_points.txt,sha256=O_AwD5dYaeB-YT1F9hPAPuDYCkw_W0tdNGYbc5RVR2k,45
43
- fxn-0.0.39.dist-info/top_level.txt,sha256=1ULIEGrnMlhId8nYAkjmRn9g3KEFuHKboq193SEKQkA,4
44
- fxn-0.0.39.dist-info/RECORD,,
39
+ fxn-0.0.40.dist-info/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
40
+ fxn-0.0.40.dist-info/METADATA,sha256=TzwvMgbqAxO9DZ8G1U4phWGUT6sSf3d_TJyeFPjglIg,16093
41
+ fxn-0.0.40.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
42
+ fxn-0.0.40.dist-info/entry_points.txt,sha256=O_AwD5dYaeB-YT1F9hPAPuDYCkw_W0tdNGYbc5RVR2k,45
43
+ fxn-0.0.40.dist-info/top_level.txt,sha256=1ULIEGrnMlhId8nYAkjmRn9g3KEFuHKboq193SEKQkA,4
44
+ fxn-0.0.40.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (74.0.0)
2
+ Generator: setuptools (74.1.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
File without changes