district42-exp-types


Namedistrict42-exp-types JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/d42-schemas/district42-exp-types
Summarydistrict42 experimental types
upload_time2024-10-29 21:04:53
maintainerNone
docs_urlNone
authorNikita Tsvetkov
requires_python>=3.8
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements d42 niltype th
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # district42 experimental types

[![PyPI](https://img.shields.io/pypi/v/district42-exp-types.svg?style=flat-square)](https://pypi.python.org/pypi/district42-exp-types/)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/district42-exp-types?style=flat-square)](https://pypi.python.org/pypi/district42-exp-types/)
[![Python Version](https://img.shields.io/pypi/pyversions/district42-exp-types.svg?style=flat-square)](https://pypi.python.org/pypi/district42-exp-types/)

[district42](https://github.com/d42-schemas/district42) experimental types

## Installation

```sh
pip3 install district42-exp-types
```

## Usage

[numeric](https://github.com/d42-schemas/district42-exp-types/blob/master/district42_exp_types/numeric/__init__.py)

```python
from d42 import schema
from d42.declaration import register_type
from district42_exp_types.numeric import NumericSchema

register_type("numeric", NumericSchema)

print(schema.numeric)
```

[uuid](https://github.com/d42-schemas/district42-exp-types/blob/master/district42_exp_types/uuid/__init__.py)
```python
from d42 import schema
from d42.declaration import register_type
from district42_exp_types.uuid import UUIDSchema

register_type("uuid", UUIDSchema)

print(schema.uuid)
```

[uuid_str](https://github.com/d42-schemas/district42-exp-types/blob/master/district42_exp_types/uuid_str/__init__.py)

```python
from d42 import schema
from d42.declaration import register_type
from district42_exp_types.uuid_str import UUIDStrSchema

register_type("uuid_str", UUIDStrSchema)

print(schema.uuid_str)
```

[sdict](https://github.com/d42-schemas/district42-exp-types/blob/master/district42_exp_types/sdict/__init__.py)

```python
from d42 import schema
from d42.declaration import register_type
from district42_exp_types.sdict import SDictSchema

register_type("sdict", SDictSchema)

print(schema.sdict)
```

[unordered](https://github.com/d42-schemas/district42-exp-types/blob/master/district42_exp_types/unordered/__init__.py)

```python
from d42 import schema
from d42.declaration import register_type
from district42_exp_types.unordered import UnorderedSchema

register_type("unordered", UnorderedSchema)

print(schema.unordered)
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/d42-schemas/district42-exp-types",
    "name": "district42-exp-types",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "Nikita Tsvetkov",
    "author_email": "tsv1@fastmail.com",
    "download_url": "https://files.pythonhosted.org/packages/66/ed/6c81b35d9f952a2e31ba51deae62e5c083d6cbe71a17bafdf1a9b709019d/district42_exp_types-1.0.0.tar.gz",
    "platform": null,
    "description": "# district42 experimental types\n\n[![PyPI](https://img.shields.io/pypi/v/district42-exp-types.svg?style=flat-square)](https://pypi.python.org/pypi/district42-exp-types/)\n[![PyPI - Downloads](https://img.shields.io/pypi/dm/district42-exp-types?style=flat-square)](https://pypi.python.org/pypi/district42-exp-types/)\n[![Python Version](https://img.shields.io/pypi/pyversions/district42-exp-types.svg?style=flat-square)](https://pypi.python.org/pypi/district42-exp-types/)\n\n[district42](https://github.com/d42-schemas/district42) experimental types\n\n## Installation\n\n```sh\npip3 install district42-exp-types\n```\n\n## Usage\n\n[numeric](https://github.com/d42-schemas/district42-exp-types/blob/master/district42_exp_types/numeric/__init__.py)\n\n```python\nfrom d42 import schema\nfrom d42.declaration import register_type\nfrom district42_exp_types.numeric import NumericSchema\n\nregister_type(\"numeric\", NumericSchema)\n\nprint(schema.numeric)\n```\n\n[uuid](https://github.com/d42-schemas/district42-exp-types/blob/master/district42_exp_types/uuid/__init__.py)\n```python\nfrom d42 import schema\nfrom d42.declaration import register_type\nfrom district42_exp_types.uuid import UUIDSchema\n\nregister_type(\"uuid\", UUIDSchema)\n\nprint(schema.uuid)\n```\n\n[uuid_str](https://github.com/d42-schemas/district42-exp-types/blob/master/district42_exp_types/uuid_str/__init__.py)\n\n```python\nfrom d42 import schema\nfrom d42.declaration import register_type\nfrom district42_exp_types.uuid_str import UUIDStrSchema\n\nregister_type(\"uuid_str\", UUIDStrSchema)\n\nprint(schema.uuid_str)\n```\n\n[sdict](https://github.com/d42-schemas/district42-exp-types/blob/master/district42_exp_types/sdict/__init__.py)\n\n```python\nfrom d42 import schema\nfrom d42.declaration import register_type\nfrom district42_exp_types.sdict import SDictSchema\n\nregister_type(\"sdict\", SDictSchema)\n\nprint(schema.sdict)\n```\n\n[unordered](https://github.com/d42-schemas/district42-exp-types/blob/master/district42_exp_types/unordered/__init__.py)\n\n```python\nfrom d42 import schema\nfrom d42.declaration import register_type\nfrom district42_exp_types.unordered import UnorderedSchema\n\nregister_type(\"unordered\", UnorderedSchema)\n\nprint(schema.unordered)\n```\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "district42 experimental types",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "https://github.com/d42-schemas/district42-exp-types"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3e96292f02549daf579a22168ea6dae7935d8ff5d7114497348e22b6e970af95",
                "md5": "2dc8f0162fc151a83da0045beed4dfae",
                "sha256": "684e6d024cfb80ea95c6c1242f57f979de5d2d6eeb25a26a19409eaa27301af3"
            },
            "downloads": -1,
            "filename": "district42_exp_types-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2dc8f0162fc151a83da0045beed4dfae",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 69830,
            "upload_time": "2024-10-29T21:04:52",
            "upload_time_iso_8601": "2024-10-29T21:04:52.608221Z",
            "url": "https://files.pythonhosted.org/packages/3e/96/292f02549daf579a22168ea6dae7935d8ff5d7114497348e22b6e970af95/district42_exp_types-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "66ed6c81b35d9f952a2e31ba51deae62e5c083d6cbe71a17bafdf1a9b709019d",
                "md5": "dc2bb27f6e5c505c2235c7b9fbf06daa",
                "sha256": "3321086f673481a13d64ce2d1c7d73d5cf583af366cd1cc29cf51db3291af5dd"
            },
            "downloads": -1,
            "filename": "district42_exp_types-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "dc2bb27f6e5c505c2235c7b9fbf06daa",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 29680,
            "upload_time": "2024-10-29T21:04:53",
            "upload_time_iso_8601": "2024-10-29T21:04:53.613993Z",
            "url": "https://files.pythonhosted.org/packages/66/ed/6c81b35d9f952a2e31ba51deae62e5c083d6cbe71a17bafdf1a9b709019d/district42_exp_types-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-29 21:04:53",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "d42-schemas",
    "github_project": "district42-exp-types",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "d42",
            "specs": [
                [
                    "<",
                    "3.0"
                ],
                [
                    ">=",
                    "2.0"
                ]
            ]
        },
        {
            "name": "niltype",
            "specs": [
                [
                    "<",
                    "2.0"
                ],
                [
                    ">=",
                    "0.3"
                ]
            ]
        },
        {
            "name": "th",
            "specs": [
                [
                    "<",
                    "1.0"
                ],
                [
                    ">=",
                    "0.3"
                ]
            ]
        }
    ],
    "lcname": "district42-exp-types"
}
        
Elapsed time: 0.33661s