keras-nlp-nightly 0.20.0.dev202503140353__py3-none-any.whl → 0.26.0.dev202602020506__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.
keras_nlp/__init__.py CHANGED
@@ -3,27 +3,11 @@ import os
3
3
  # Add everything in /api/ to the module search path.
4
4
  import keras_hub
5
5
 
6
- # Import everything from /api/ into keras.
7
- from keras_hub.api import * # noqa: F403
8
- from keras_hub.api import __version__ # Import * ignores names start with "_".
9
-
6
+ # Add everything in /api/ to the module search path.
10
7
  __path__.extend(keras_hub.__path__) # noqa: F405
11
- # Don't pollute namespace.
12
- del keras_hub
13
- del os
14
8
 
9
+ from keras_hub import * # noqa: F403, E402
10
+ from keras_hub import __version__ as __version__ # noqa: E402
15
11
 
16
- # Never autocomplete `.src` or `.api` on an imported keras object.
17
- def __dir__():
18
- keys = dict.fromkeys((globals().keys()))
19
- keys.pop("src")
20
- keys.pop("api")
21
- return list(keys)
22
-
23
-
24
- # Don't import `.src` or `.api` during `from keras import *`.
25
- __all__ = [
26
- name
27
- for name in globals().keys()
28
- if not (name.startswith("_") or name in ("src", "api"))
29
- ]
12
+ # Don't pollute namespace.
13
+ del os
@@ -1,11 +1,11 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: keras-nlp-nightly
3
- Version: 0.20.0.dev202503140353
4
- Summary: Industry-strength Natural Language Processing extensions for Keras.
5
- Home-page: https://github.com/keras-team/keras-nlp
6
- Author: Keras team
7
- Author-email: keras-nlp@google.com
8
- License: Apache License 2.0
3
+ Version: 0.26.0.dev202602020506
4
+ Summary: Pretrained models for Keras.
5
+ Author-email: Keras team <keras-users@googlegroups.com>
6
+ License-Expression: Apache-2.0
7
+ Project-URL: Home, https://keras.io/keras_hub/
8
+ Project-URL: Repository, https://github.com/keras-team/keras/keras_hub
9
9
  Classifier: Development Status :: 3 - Alpha
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: 3.9
@@ -18,24 +18,14 @@ Classifier: Operating System :: MacOS
18
18
  Classifier: Intended Audience :: Science/Research
19
19
  Classifier: Topic :: Scientific/Engineering
20
20
  Classifier: Topic :: Software Development
21
- Requires-Python: >=3.9
21
+ Requires-Python: >=3.10
22
22
  Description-Content-Type: text/markdown
23
- Requires-Dist: keras-hub-nightly==0.20.0.dev202503140353
24
- Dynamic: author
25
- Dynamic: author-email
26
- Dynamic: classifier
27
- Dynamic: description
28
- Dynamic: description-content-type
29
- Dynamic: home-page
30
- Dynamic: license
31
- Dynamic: requires-dist
32
- Dynamic: requires-python
33
- Dynamic: summary
23
+ Requires-Dist: keras-hub-nightly==0.26.0.dev202602020506
34
24
 
35
25
  # KerasNLP: Multi-framework NLP Models
36
26
 
37
27
  KerasNLP has renamed to KerasHub! Read the announcement
38
28
  [here](https://github.com/keras-team/keras-nlp/issues/1831).
39
29
 
40
- This directory contains a shim package for `keras-nlp` so that the old style
30
+ This contains a shim package for `keras-nlp` so that the old style
41
31
  `pip install keras-nlp` and `import keras_nlp` continue to work.
@@ -0,0 +1,5 @@
1
+ keras_nlp/__init__.py,sha256=FnToevwYGFvlrId4c75GlvaQxRJfkoXK_jHc9aICpOY,328
2
+ keras_nlp_nightly-0.26.0.dev202602020506.dist-info/METADATA,sha256=hIgHJ2opbT-6a4QCehyuTv9Lpa4i3ggBr5iDocCvqOI,1297
3
+ keras_nlp_nightly-0.26.0.dev202602020506.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
4
+ keras_nlp_nightly-0.26.0.dev202602020506.dist-info/top_level.txt,sha256=8LoxZggbL2FTZ15l1TdQUT7Fx8p-qM72k5R-i0T66SQ,10
5
+ keras_nlp_nightly-0.26.0.dev202602020506.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (76.0.0)
2
+ Generator: setuptools (80.10.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,5 +0,0 @@
1
- keras_nlp/__init__.py,sha256=BdWPJiE8VQn33YS_wiOzUsE14k9rMyfZDxrYsz4FAeo,717
2
- keras_nlp_nightly-0.20.0.dev202503140353.dist-info/METADATA,sha256=hlZqw2WiJo2HxeaLqH65HGWbbn6XcgW-dwUg1_gUe50,1487
3
- keras_nlp_nightly-0.20.0.dev202503140353.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
4
- keras_nlp_nightly-0.20.0.dev202503140353.dist-info/top_level.txt,sha256=8LoxZggbL2FTZ15l1TdQUT7Fx8p-qM72k5R-i0T66SQ,10
5
- keras_nlp_nightly-0.20.0.dev202503140353.dist-info/RECORD,,