scityping


Namescityping JSON
Version 0.6.4 PyPI version JSON
download
home_page
SummarySerializable data types for science applications
upload_time2024-01-25 12:32:30
maintainer
docs_urlNone
author
requires_python>=3.8
licenseMPL 2.0
keywords serialization scientific computing reproducibility
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Scityping: type hints and serializers for scientific types

A collection of type annotations specifiers for Python types common in the fields of scientific computing, data science and machine learning. Most types come with a pair of JSON serializer/deserializer functions, which can be used both to archive and transfer data.
In contrast to pickling, the resulting JSON data is both future safe and human readable, which makes especially useful for [reproducible research](https://the-turing-way.netlify.app/reproducible-research/reproducible-research.html).

Some supported data types (see [the documentation](https://scityping.readthedocs.io/page/types_reference.html) for a full list):
- `range`
- NumPy arrays[^1]
- NumPy random number generators
- SciPy statistical distributions
- Pure functions
- PyTorch tensors
- Values with units ([Pint](https://pint.readthedocs.io))

More importantly, *scityping* is built upon a [simple yet flexible mechanism](#an-extensible-serialization-hierarchy) for defining custom JSON serializers and associating them to preexisting types. This means that any Python type which is be serializable, is also serializable in practice. So you can take an existing analysis pipeline, and make the input or output of any intermediate step exportable to JSON – without ever touching the pipeline itself !

[^1]: Large arrays are compressed, but saved alongside a human-readable snippet to allow inspection.

## Compatibility with Pydantic

Types were designed and tested with Pydantic in mind, so they can be used as types in Pydantic `BaseModels`. To support serialization, use
```python
from scityping.pydantic import BaseModel
```
(Don’t worry: this is not a rewrite of `BaseModel`. It is just a small wrapper class which adds a hook for our extensible type machinery.)

Example usage:

```python
from scityping.numpy import Array
from scityping.pydantic import BaseModel

class MyModel(BaseModel):
  data: Array[float, 1]  # 1D array of floats

model = MyModel(data=[1, 2, 3])
print(model.data)
# array([1., 2., 3.,], dtype=float)
json_data = model.json()
print(json_data)
# {"data": ["scityping.numpy._ArrayType", {"data": {"data": [1.0, 2.0, 3.0], "dtype": ["scityping.numpy.DType", {"desc": "float64"}]}}]}
model2 = MyModel.parse_raw(json_data)
print(model2.data)
# array([1., 2., 3.,], dtype=float)
```

## Usage without Pydantic

Serializers are class methods, so they can also be used by accessing them directly.

```python
import json
import numpy as np
from scityping import Serializable
from scityping.json import scityping_encoder

x = np.array([1, 1, 2, 3, 5])
reduced_x = Serializable.reduce(x)
print(reduced_x)
# ('scityping.numpy._ArrayType', _ArrayType.Data(data=ListArrayData(data=[1, 1, 2, 3, 5], dtype=dtype('int64'))))
json_x = json.dumps(x, default=scityping_encoder)
# "['scityping.numpy._ArrayType', {'data': {'data': [1, 1, 2, 3, 5], 'dtype': ['scityping.numpy.DType', {'desc': 'int64'}]}}]"
x2 = Serializable.validate(reduced_x)
x2 = Serializable.validate(json.loads(json_x))  # Equivalent
print(x2)
# array([1, 1, 2, 3, 5], dtype=int)
```

Note here that we use the `.reduce()`, `.deep_reduce()` and `.validate()` methods attached to the base class: it is not necessary to know before hand the type of `x`.

## Origin and motivation

This package is my [fifth](https://github.com/mackelab/mackelab-toolbox/blob/acc2193358f6e2bf9ba7f224d0bbb097b585ce14/mackelab_toolbox/typing.py) [iteration](https://github.com/samuelcolvin/pydantic/issues/951#issuecomment-774297368), [over](https://github.com/mackelab/mackelab-toolbox/tree/0963a2278191537a6cfba6802f9691770567c020/mackelab_toolbox/typing) [three](https://github.com/mackelab/mackelab-toolbox/tree/0963a2278191537a6cfba6802f9691770567c020/mackelab_toolbox/typing "Private link") [years](https://jugit.fz-juelich.de/explainable-ai/statglow/-/tree/develop/statGLOW/smttask_ml/scityping "Private link"), of a simple system for defining Python types that package their own serialization/deserialization routines. The motivating [use case](https://sumatratask.readthedocs.io/) is to support fully self-contained “units of work” for research computations; these are used both to ensure reproducibility by archiving work, and to transfer units of work between processes or machines. (For example between simulation and analysis scripts, or between laptop and server.) This use case imposed the following requirements:

- The serialized format must be portable and suitable for long-term storage (which precludes solutions like pickle or dill). 
- The format should be plain text and, to the extent possible, human-readable. This further increases long-term reliability, since in the worst case, the file can be opened in a text editor and interpreted by a human.
- It must be possible to associate a pair of serialization/deserialization routines to a type.
- These routines must be recognized by [Pydantic](https://pydantic-docs.helpmanual.io/), since this is the serialization library I currently use.
- It should be possible for imported librairies to use custom serializers, without worrying about the order of imports. Note that this is difficult with vanilla Pydantic, because the list of `json_encoders` is set when the class is defined. One can [work around](https://github.com/samuelcolvin/pydantic/issues/951#issuecomment-774297368) this by defining a global dictionary of JSON encoders, but the behaviour is still dependent on the order of imports, and is thus fragile.
- It should be possible to associate custom serializers to already existing types. (E.g. add a serializer for `complex`.)
- It should be possible to use generic base classes in a model definition, while subclasses are preserved after deserialization. For example, in the snippet below this is *not* the case:
  ```python
  class Signal:
    ...
  class AMSignal(Signal):
    ...
  class FMSignal(Signal):
    ...

  class MyModel(BaseModel):
    signal: Signal

  sig = AMSignal(...)
  model = MyModel(signal=sig)
  type(model.signal)   # AMSignal
  model2 = MyModel.parse_raw(model.json())
  type(model2.signal)  # Signal -> Serialization round trip does not preserve type.
  ```
  Since it is often the cases that the same computational pipeline can be applied to many different types, the ability to define classes in terms of only generic base types is extremely useful.

The solution provided by this package satisfies all of these requirements.

## An extensible serialization hierarchy

The provided `Serializable` class can be used to make almost any class serializable.
A standardized pattern is used to specify what needs to be serialized, and *scityping* takes care of the rest.

Note that types defined with `Serializable` take precedence over those already supported by Pydantic; this allows to override builtin Pydantic serializers and deserializers for specific types.

Example: Define a serializable `Signal` class.
```python
# mysignal.py
from scityping import Serializable
from scityping.numpy import Array
from scityping.pydantic import dataclass

class Signal(Serializable):

  @dataclass
  class Data:                    # The `Data` class stores the minimal
    values: Array[float, 2]      # set of information required to
    times : Array[int, 1]        # recreate the `Signal` class.
    freq  : float

    @staticmethod
    def encode(signal: "Signal"):  # The `encode` method defines how to extract values
      return (signal.values, signal.times, signal.freq)   # for the fields in `Data`

  def __init__(values, times, freq):
    ...

  ## Analysis methods (mean, window, fft, etc.) go here ##
```

Now the class can be used as a type hint in a Pydantic model:
```python
from scityping.pydantic import BaseModel
from typing import List
from mysignal import Signal  # Type defined in the code block above

class Recorder(BaseModel):
  signals: List[Signal]
```

Moreover, *subclasses* of `Signal` can also be used and will be recognized correctly.
They only need to define their own `Data` container (which may reuse the one from the base class, as we do below).
```python
class AMSignal(Signal):
  class Data(Signal.Data):
    pass

signal = Signal(...)
amsignal = AMSignal(...)

rec = Recorder(signals=[signal, amsignal])
rec2 = Recorder.parse_raw(rec.json())
assert type(rec2.signals[0]) is Signal    # Succeeds
assert type(rec2.signals[1]) is AMSignal  # Also succeeds
```
(With standard Pydantic types, in the example above, values would all be coerced to the `Signal` type after deserialization.)

The default decoder will pass the attributes of the `Data` object to the class’ `__init__` method as keyword arguments. For cases where this is unsatisfactory, one can define a custom `decode` method. The example below uses this to return a true `range` object, rather than the `Range` wrapper:
```python
class Range(Serializable, range):
  @dataclass
  class Data:
    start: int
    stop: Optional[int]=None
    step: Optional[int]=None
    def encode(self, r): return r.start, r.stop, r.step
    def decode(data): return range(data.start, data.stop, data.step)
```
Note that while the `decode` mechanism can help solve corner cases, in many situations the benefits are cosmetic.

Finally, extending an *existing* type with a serializer is just a matter of defining a subclass. For example, the `Complex` type provided by `scityping` is implemented as follows:
```python
class Complex(Serializable, complex):
  @dataclass
  class Data:
    real: float
    imag: float
    def encode(z): return z.real, z.imag
    def decode(data): return complex(data.real, data.imag)
```
(When the subclass uses the *same name* (case-insensitive), a bit of magic is applied to associate it to the base type. Otherwise an extra `Complex.register(complex)` is needed.)
It can then be used to allow serializing all complex numbers (not just instance of `Complex`:
```python
class Foo(BaseModel):
  z: Complex

# Serializes even the original data type
Foo(z=3+4j).json()
# '{"z": ["__main__.Complex", {"real": 3.0, "imag": 4.0}]}'
```
Note that this works even if `Complex` is defined after `Foo`, without any patching of `Foo`’s list of `__json_encoders__`.[^post-type-def]

**Hint** It is recommended that the nested `Data` provide type-aware deserialization logic. The easiest way to do this is to use either `scityping.pydantic.BaseModel` or `scityping.pydantic.dataclass`. We do add basic deserialization support for the builtin `dataclasses.dataclass`, but this is intentionally limited to a few basic types (`int`, `float`, `str`) and `Serializable` subclasses. If your data are very simple, this may be sufficient – see the docstring of `scityping.Dataclass` for what exactly is supported.

[^post-type-def]: The corollary of this is that it makes it easier for modules to arbitrarily modify how types are serialized by *already imported* modules. Thus by adding a new serializer, a new package may break a previously working one. Also, while the hooks for extending type suport don't increase the attack surface vis-à-vis a malicious actor (imported Python modules are already allowed to inject code wherever they please), they might make things easier for them.

## Performance

### In usage with Pydantic

For types serialized with Pydantic, this adds a single `isinstance` check for each serialization call, which should be negligeable.[^negligeable-comp-cost]

Serialization with `Serializable` is not as aggressively tested with regards to performance and is expected to be a slower.

*De*serialization of `Serializable` types in general will be slower, although this should only be noticeable if deserialization is a big part of your application. In some cases it may even be faster: Pydantic fields with `Union` types execute a try-catch for each possible type, keeping the first successful result. Since `Serializable` includes the target type in serialized data, the correct data type is generally attempted first.

In general, within scientific applications these performance considerations should not matter: data is typically serialized/deserialized only at the beginning/end of a computation, which is not where the speed bottlenecks usually are. 

[^negligeable-comp-cost]: Unless *a lot* of builtin types are extended with serializers.

## Running tests

To avoid unnecessarily downloading the massive CUDA dependencies just to run the PyTorch tests, consider installing the test dependencies with the following:

    pip install --index-url https://download.pytorch.org/whl/cpu torch
    pip install -e .[test]

(The CPU-only torch package is 200MB instead of 620MB.)

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "scityping",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "serialization,scientific computing,reproducibility",
    "author": "",
    "author_email": "Alexandre Ren\u00e9 <alex.c.rene@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/3e/3a/8e31f301d5a7d818d4d54f0e10b0511fb89ddc1f613dcb0d3ff06b8ea762/scityping-0.6.4.tar.gz",
    "platform": null,
    "description": "# Scityping: type hints and serializers for scientific types\n\nA collection of type annotations specifiers for Python types common in the fields of scientific computing, data science and machine learning. Most types come with a pair of JSON serializer/deserializer functions, which can be used both to archive and transfer data.\nIn contrast to pickling, the resulting JSON data is both future safe and human readable, which makes especially useful for [reproducible research](https://the-turing-way.netlify.app/reproducible-research/reproducible-research.html).\n\nSome supported data types (see [the documentation](https://scityping.readthedocs.io/page/types_reference.html) for a full list):\n- `range`\n- NumPy arrays[^1]\n- NumPy random number generators\n- SciPy statistical distributions\n- Pure functions\n- PyTorch tensors\n- Values with units ([Pint](https://pint.readthedocs.io))\n\nMore importantly, *scityping* is built upon a [simple yet flexible mechanism](#an-extensible-serialization-hierarchy) for defining custom JSON serializers and associating them to preexisting types. This means that any Python type which is be serializable, is also serializable in practice. So you can take an existing analysis pipeline, and make the input or output of any intermediate step exportable to JSON \u2013 without ever touching the pipeline itself !\n\n[^1]: Large arrays are compressed, but saved alongside a human-readable snippet to allow inspection.\n\n## Compatibility with Pydantic\n\nTypes were designed and tested with Pydantic in mind, so they can be used as types in Pydantic `BaseModels`. To support serialization, use\n```python\nfrom scityping.pydantic import BaseModel\n```\n(Don\u2019t worry: this is not a rewrite of `BaseModel`. It is just a small wrapper class which adds a hook for our extensible type machinery.)\n\nExample usage:\n\n```python\nfrom scityping.numpy import Array\nfrom scityping.pydantic import BaseModel\n\nclass MyModel(BaseModel):\n  data: Array[float, 1]  # 1D array of floats\n\nmodel = MyModel(data=[1, 2, 3])\nprint(model.data)\n# array([1., 2., 3.,], dtype=float)\njson_data = model.json()\nprint(json_data)\n# {\"data\": [\"scityping.numpy._ArrayType\", {\"data\": {\"data\": [1.0, 2.0, 3.0], \"dtype\": [\"scityping.numpy.DType\", {\"desc\": \"float64\"}]}}]}\nmodel2 = MyModel.parse_raw(json_data)\nprint(model2.data)\n# array([1., 2., 3.,], dtype=float)\n```\n\n## Usage without Pydantic\n\nSerializers are class methods, so they can also be used by accessing them directly.\n\n```python\nimport json\nimport numpy as np\nfrom scityping import Serializable\nfrom scityping.json import scityping_encoder\n\nx = np.array([1, 1, 2, 3, 5])\nreduced_x = Serializable.reduce(x)\nprint(reduced_x)\n# ('scityping.numpy._ArrayType', _ArrayType.Data(data=ListArrayData(data=[1, 1, 2, 3, 5], dtype=dtype('int64'))))\njson_x = json.dumps(x, default=scityping_encoder)\n# \"['scityping.numpy._ArrayType', {'data': {'data': [1, 1, 2, 3, 5], 'dtype': ['scityping.numpy.DType', {'desc': 'int64'}]}}]\"\nx2 = Serializable.validate(reduced_x)\nx2 = Serializable.validate(json.loads(json_x))  # Equivalent\nprint(x2)\n# array([1, 1, 2, 3, 5], dtype=int)\n```\n\nNote here that we use the `.reduce()`, `.deep_reduce()` and `.validate()` methods attached to the base class: it is not necessary to know before hand the type of `x`.\n\n## Origin and motivation\n\nThis package is my [fifth](https://github.com/mackelab/mackelab-toolbox/blob/acc2193358f6e2bf9ba7f224d0bbb097b585ce14/mackelab_toolbox/typing.py) [iteration](https://github.com/samuelcolvin/pydantic/issues/951#issuecomment-774297368), [over](https://github.com/mackelab/mackelab-toolbox/tree/0963a2278191537a6cfba6802f9691770567c020/mackelab_toolbox/typing) [three](https://github.com/mackelab/mackelab-toolbox/tree/0963a2278191537a6cfba6802f9691770567c020/mackelab_toolbox/typing \"Private link\") [years](https://jugit.fz-juelich.de/explainable-ai/statglow/-/tree/develop/statGLOW/smttask_ml/scityping \"Private link\"), of a simple system for defining Python types that package their own serialization/deserialization routines. The motivating [use case](https://sumatratask.readthedocs.io/) is to support fully self-contained \u201cunits of work\u201d for research computations; these are used both to ensure reproducibility by archiving work, and to transfer units of work between processes or machines. (For example between simulation and analysis scripts, or between laptop and server.) This use case imposed the following requirements:\n\n- The serialized format must be portable and suitable for long-term storage (which precludes solutions like pickle or dill). \n- The format should be plain text and, to the extent possible, human-readable. This further increases long-term reliability, since in the worst case, the file can be opened in a text editor and interpreted by a human.\n- It must be possible to associate a pair of serialization/deserialization routines to a type.\n- These routines must be recognized by [Pydantic](https://pydantic-docs.helpmanual.io/), since this is the serialization library I currently use.\n- It should be possible for imported librairies to use custom serializers, without worrying about the order of imports. Note that this is difficult with vanilla Pydantic, because the list of `json_encoders` is set when the class is defined. One can [work around](https://github.com/samuelcolvin/pydantic/issues/951#issuecomment-774297368) this by defining a global dictionary of JSON encoders, but the behaviour is still dependent on the order of imports, and is thus fragile.\n- It should be possible to associate custom serializers to already existing types. (E.g. add a serializer for `complex`.)\n- It should be possible to use generic base classes in a model definition, while subclasses are preserved after deserialization. For example, in the snippet below this is *not* the case:\n  ```python\n  class Signal:\n    ...\n  class AMSignal(Signal):\n    ...\n  class FMSignal(Signal):\n    ...\n\n  class MyModel(BaseModel):\n    signal: Signal\n\n  sig = AMSignal(...)\n  model = MyModel(signal=sig)\n  type(model.signal)   # AMSignal\n  model2 = MyModel.parse_raw(model.json())\n  type(model2.signal)  # Signal -> Serialization round trip does not preserve type.\n  ```\n  Since it is often the cases that the same computational pipeline can be applied to many different types, the ability to define classes in terms of only generic base types is extremely useful.\n\nThe solution provided by this package satisfies all of these requirements.\n\n## An extensible serialization hierarchy\n\nThe provided `Serializable` class can be used to make almost any class serializable.\nA standardized pattern is used to specify what needs to be serialized, and *scityping* takes care of the rest.\n\nNote that types defined with `Serializable` take precedence over those already supported by Pydantic; this allows to override builtin Pydantic serializers and deserializers for specific types.\n\nExample: Define a serializable `Signal` class.\n```python\n# mysignal.py\nfrom scityping import Serializable\nfrom scityping.numpy import Array\nfrom scityping.pydantic import dataclass\n\nclass Signal(Serializable):\n\n  @dataclass\n  class Data:                    # The `Data` class stores the minimal\n    values: Array[float, 2]      # set of information required to\n    times : Array[int, 1]        # recreate the `Signal` class.\n    freq  : float\n\n    @staticmethod\n    def encode(signal: \"Signal\"):  # The `encode` method defines how to extract values\n      return (signal.values, signal.times, signal.freq)   # for the fields in `Data`\n\n  def __init__(values, times, freq):\n    ...\n\n  ## Analysis methods (mean, window, fft, etc.) go here ##\n```\n\nNow the class can be used as a type hint in a Pydantic model:\n```python\nfrom scityping.pydantic import BaseModel\nfrom typing import List\nfrom mysignal import Signal  # Type defined in the code block above\n\nclass Recorder(BaseModel):\n  signals: List[Signal]\n```\n\nMoreover, *subclasses* of `Signal` can also be used and will be recognized correctly.\nThey only need to define their own `Data` container (which may reuse the one from the base class, as we do below).\n```python\nclass AMSignal(Signal):\n  class Data(Signal.Data):\n    pass\n\nsignal = Signal(...)\namsignal = AMSignal(...)\n\nrec = Recorder(signals=[signal, amsignal])\nrec2 = Recorder.parse_raw(rec.json())\nassert type(rec2.signals[0]) is Signal    # Succeeds\nassert type(rec2.signals[1]) is AMSignal  # Also succeeds\n```\n(With standard Pydantic types, in the example above, values would all be coerced to the `Signal` type after deserialization.)\n\nThe default decoder will pass the attributes of the `Data` object to the class\u2019 `__init__` method as keyword arguments. For cases where this is unsatisfactory, one can define a custom `decode` method. The example below uses this to return a true `range` object, rather than the `Range` wrapper:\n```python\nclass Range(Serializable, range):\n  @dataclass\n  class Data:\n    start: int\n    stop: Optional[int]=None\n    step: Optional[int]=None\n    def encode(self, r): return r.start, r.stop, r.step\n    def decode(data): return range(data.start, data.stop, data.step)\n```\nNote that while the `decode` mechanism can help solve corner cases, in many situations the benefits are cosmetic.\n\nFinally, extending an *existing* type with a serializer is just a matter of defining a subclass. For example, the `Complex` type provided by `scityping` is implemented as follows:\n```python\nclass Complex(Serializable, complex):\n  @dataclass\n  class Data:\n    real: float\n    imag: float\n    def encode(z): return z.real, z.imag\n    def decode(data): return complex(data.real, data.imag)\n```\n(When the subclass uses the *same name* (case-insensitive), a bit of magic is applied to associate it to the base type. Otherwise an extra `Complex.register(complex)` is needed.)\nIt can then be used to allow serializing all complex numbers (not just instance of `Complex`:\n```python\nclass Foo(BaseModel):\n  z: Complex\n\n# Serializes even the original data type\nFoo(z=3+4j).json()\n# '{\"z\": [\"__main__.Complex\", {\"real\": 3.0, \"imag\": 4.0}]}'\n```\nNote that this works even if `Complex` is defined after `Foo`, without any patching of `Foo`\u2019s list of `__json_encoders__`.[^post-type-def]\n\n**Hint** It is recommended that the nested `Data` provide type-aware deserialization logic. The easiest way to do this is to use either `scityping.pydantic.BaseModel` or `scityping.pydantic.dataclass`. We do add basic deserialization support for the builtin `dataclasses.dataclass`, but this is intentionally limited to a few basic types (`int`, `float`, `str`) and `Serializable` subclasses. If your data are very simple, this may be sufficient \u2013 see the docstring of `scityping.Dataclass` for what exactly is supported.\n\n[^post-type-def]: The corollary of this is that it makes it easier for modules to arbitrarily modify how types are serialized by *already imported* modules. Thus by adding a new serializer, a new package may break a previously working one. Also, while the hooks for extending type suport don't increase the attack surface vis-\u00e0-vis a malicious actor (imported Python modules are already allowed to inject code wherever they please), they might make things easier for them.\n\n## Performance\n\n### In usage with Pydantic\n\nFor types serialized with Pydantic, this adds a single `isinstance` check for each serialization call, which should be negligeable.[^negligeable-comp-cost]\n\nSerialization with `Serializable` is not as aggressively tested with regards to performance and is expected to be a slower.\n\n*De*serialization of `Serializable` types in general will be slower, although this should only be noticeable if deserialization is a big part of your application. In some cases it may even be faster: Pydantic fields with `Union` types execute a try-catch for each possible type, keeping the first successful result. Since `Serializable` includes the target type in serialized data, the correct data type is generally attempted first.\n\nIn general, within scientific applications these performance considerations should not matter: data is typically serialized/deserialized only at the beginning/end of a computation, which is not where the speed bottlenecks usually are. \n\n[^negligeable-comp-cost]: Unless *a lot* of builtin types are extended with serializers.\n\n## Running tests\n\nTo avoid unnecessarily downloading the massive CUDA dependencies just to run the PyTorch tests, consider installing the test dependencies with the following:\n\n    pip install --index-url https://download.pytorch.org/whl/cpu torch\n    pip install -e .[test]\n\n(The CPU-only torch package is 200MB instead of 620MB.)\n",
    "bugtrack_url": null,
    "license": "MPL 2.0",
    "summary": "Serializable data types for science applications",
    "version": "0.6.4",
    "project_urls": {
        "Bug Tracker": "https://github.com/alcrene/scityping/issues",
        "Documentation": "https://scityping.readthedocs.io/",
        "Source": "https://github.com/alcrene/scityping"
    },
    "split_keywords": [
        "serialization",
        "scientific computing",
        "reproducibility"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8e529f8ae071827d35d3a44fed9ae3c03e39951c552d64f3711091de01c8d9de",
                "md5": "969190ac43c5ca419a077ad36870f0db",
                "sha256": "447014665d78a24f5b5c9a0bf81a3ed82665485d01c51b4e413170f276839ef6"
            },
            "downloads": -1,
            "filename": "scityping-0.6.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "969190ac43c5ca419a077ad36870f0db",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 73122,
            "upload_time": "2024-01-25T12:32:29",
            "upload_time_iso_8601": "2024-01-25T12:32:29.560563Z",
            "url": "https://files.pythonhosted.org/packages/8e/52/9f8ae071827d35d3a44fed9ae3c03e39951c552d64f3711091de01c8d9de/scityping-0.6.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3e3a8e31f301d5a7d818d4d54f0e10b0511fb89ddc1f613dcb0d3ff06b8ea762",
                "md5": "7e050de73f97f7de52f26c25828bb045",
                "sha256": "c8e06896bf2be3e896dd5c1110967ab67df1a12ce23d504ecc73033987cf3b0d"
            },
            "downloads": -1,
            "filename": "scityping-0.6.4.tar.gz",
            "has_sig": false,
            "md5_digest": "7e050de73f97f7de52f26c25828bb045",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 404967,
            "upload_time": "2024-01-25T12:32:30",
            "upload_time_iso_8601": "2024-01-25T12:32:30.900356Z",
            "url": "https://files.pythonhosted.org/packages/3e/3a/8e31f301d5a7d818d4d54f0e10b0511fb89ddc1f613dcb0d3ff06b8ea762/scityping-0.6.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-25 12:32:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "alcrene",
    "github_project": "scityping",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "scityping"
}
        
Elapsed time: 0.18356s