named


Namenamed JSON
Version 1.4.2 PyPI version JSON
download
home_pagehttps://github.com/nekitdev/named
SummaryNamed types.
upload_time2024-03-15 10:29:50
maintainer
docs_urlNone
authornekitdev
requires_python>=3.8
licenseMIT
keywords python named name
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # `named`

[![License][License Badge]][License]
[![Version][Version Badge]][Package]
[![Downloads][Downloads Badge]][Package]
[![Discord][Discord Badge]][Discord]

[![Documentation][Documentation Badge]][Documentation]
[![Check][Check Badge]][Actions]
[![Test][Test Badge]][Actions]
[![Coverage][Coverage Badge]][Coverage]

> *Named types.*

## Installing

**Python 3.8 or above is required.**

### pip

Installing the library with `pip` is quite simple:

```console
$ pip install named
```

Alternatively, the library can be installed from source:

```console
$ git clone https://github.com/nekitdev/named.git
$ cd named
$ python -m pip install .
```

### poetry

You can add `named` as a dependency with the following command:

```console
$ poetry add named
```

Or by directly specifying it in the configuration like so:

```toml
[tool.poetry.dependencies]
named = "^1.4.2"
```

Alternatively, you can add it directly from the source:

```toml
[tool.poetry.dependencies.named]
git = "https://github.com/nekitdev/named.git"
```

## Example

```python
>>> from named import get_name, get_type_name, is_named
>>> print(is_named(int))
True
>>> print(get_name(int))
int
>>> print(is_named(42))
False
>>> print(get_type_name(42))
int
```

## Documentation

You can find the documentation [here][Documentation].

## Support

If you need support with the library, you can send an [email][Email]
or refer to the official [Discord server][Discord].

## Changelog

You can find the changelog [here][Changelog].

## Security Policy

You can find the Security Policy of `named` [here][Security].

## Contributing

If you are interested in contributing to `named`, make sure to take a look at the
[Contributing Guide][Contributing Guide], as well as the [Code of Conduct][Code of Conduct].

## License

`named` is licensed under the MIT License terms. See [License][License] for details.

[Email]: mailto:support@nekit.dev

[Discord]: https://nekit.dev/chat

[Actions]: https://github.com/nekitdev/named/actions

[Changelog]: https://github.com/nekitdev/named/blob/main/CHANGELOG.md
[Code of Conduct]: https://github.com/nekitdev/named/blob/main/CODE_OF_CONDUCT.md
[Contributing Guide]: https://github.com/nekitdev/named/blob/main/CONTRIBUTING.md
[Security]: https://github.com/nekitdev/named/blob/main/SECURITY.md

[License]: https://github.com/nekitdev/named/blob/main/LICENSE

[Package]: https://pypi.org/project/named
[Coverage]: https://codecov.io/gh/nekitdev/named
[Documentation]: https://nekitdev.github.io/named

[Discord Badge]: https://img.shields.io/discord/728012506899021874
[License Badge]: https://img.shields.io/pypi/l/named
[Version Badge]: https://img.shields.io/pypi/v/named
[Downloads Badge]: https://img.shields.io/pypi/dm/named

[Documentation Badge]: https://github.com/nekitdev/named/workflows/docs/badge.svg
[Check Badge]: https://github.com/nekitdev/named/workflows/check/badge.svg
[Test Badge]: https://github.com/nekitdev/named/workflows/test/badge.svg
[Coverage Badge]: https://codecov.io/gh/nekitdev/named/branch/main/graph/badge.svg

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/nekitdev/named",
    "name": "named",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "python,named,name",
    "author": "nekitdev",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/63/89/3e2615a20ce923e58ac07550ce1defa7fc46e27fda0d02fbdfdb1c42b98b/named-1.4.2.tar.gz",
    "platform": null,
    "description": "# `named`\n\n[![License][License Badge]][License]\n[![Version][Version Badge]][Package]\n[![Downloads][Downloads Badge]][Package]\n[![Discord][Discord Badge]][Discord]\n\n[![Documentation][Documentation Badge]][Documentation]\n[![Check][Check Badge]][Actions]\n[![Test][Test Badge]][Actions]\n[![Coverage][Coverage Badge]][Coverage]\n\n> *Named types.*\n\n## Installing\n\n**Python 3.8 or above is required.**\n\n### pip\n\nInstalling the library with `pip` is quite simple:\n\n```console\n$ pip install named\n```\n\nAlternatively, the library can be installed from source:\n\n```console\n$ git clone https://github.com/nekitdev/named.git\n$ cd named\n$ python -m pip install .\n```\n\n### poetry\n\nYou can add `named` as a dependency with the following command:\n\n```console\n$ poetry add named\n```\n\nOr by directly specifying it in the configuration like so:\n\n```toml\n[tool.poetry.dependencies]\nnamed = \"^1.4.2\"\n```\n\nAlternatively, you can add it directly from the source:\n\n```toml\n[tool.poetry.dependencies.named]\ngit = \"https://github.com/nekitdev/named.git\"\n```\n\n## Example\n\n```python\n>>> from named import get_name, get_type_name, is_named\n>>> print(is_named(int))\nTrue\n>>> print(get_name(int))\nint\n>>> print(is_named(42))\nFalse\n>>> print(get_type_name(42))\nint\n```\n\n## Documentation\n\nYou can find the documentation [here][Documentation].\n\n## Support\n\nIf you need support with the library, you can send an [email][Email]\nor refer to the official [Discord server][Discord].\n\n## Changelog\n\nYou can find the changelog [here][Changelog].\n\n## Security Policy\n\nYou can find the Security Policy of `named` [here][Security].\n\n## Contributing\n\nIf you are interested in contributing to `named`, make sure to take a look at the\n[Contributing Guide][Contributing Guide], as well as the [Code of Conduct][Code of Conduct].\n\n## License\n\n`named` is licensed under the MIT License terms. See [License][License] for details.\n\n[Email]: mailto:support@nekit.dev\n\n[Discord]: https://nekit.dev/chat\n\n[Actions]: https://github.com/nekitdev/named/actions\n\n[Changelog]: https://github.com/nekitdev/named/blob/main/CHANGELOG.md\n[Code of Conduct]: https://github.com/nekitdev/named/blob/main/CODE_OF_CONDUCT.md\n[Contributing Guide]: https://github.com/nekitdev/named/blob/main/CONTRIBUTING.md\n[Security]: https://github.com/nekitdev/named/blob/main/SECURITY.md\n\n[License]: https://github.com/nekitdev/named/blob/main/LICENSE\n\n[Package]: https://pypi.org/project/named\n[Coverage]: https://codecov.io/gh/nekitdev/named\n[Documentation]: https://nekitdev.github.io/named\n\n[Discord Badge]: https://img.shields.io/discord/728012506899021874\n[License Badge]: https://img.shields.io/pypi/l/named\n[Version Badge]: https://img.shields.io/pypi/v/named\n[Downloads Badge]: https://img.shields.io/pypi/dm/named\n\n[Documentation Badge]: https://github.com/nekitdev/named/workflows/docs/badge.svg\n[Check Badge]: https://github.com/nekitdev/named/workflows/check/badge.svg\n[Test Badge]: https://github.com/nekitdev/named/workflows/test/badge.svg\n[Coverage Badge]: https://codecov.io/gh/nekitdev/named/branch/main/graph/badge.svg\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Named types.",
    "version": "1.4.2",
    "project_urls": {
        "Chat": "https://nekit.dev/chat",
        "Documentation": "https://nekitdev.github.io/named",
        "Funding": "https://nekit.dev/funding",
        "Homepage": "https://github.com/nekitdev/named",
        "Issues": "https://github.com/nekitdev/named/issues",
        "Repository": "https://github.com/nekitdev/named"
    },
    "split_keywords": [
        "python",
        "named",
        "name"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e26c53205820011c6ec65dee43f52ce908be23650eaf3f7b6311660fb36d34fe",
                "md5": "4fa33a7d2cc39648dcb5ea232df6f858",
                "sha256": "7b0a607cd6f01af239c5c2bb2fbdb0b779f8b649c994468e039aaf433c629498"
            },
            "downloads": -1,
            "filename": "named-1.4.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4fa33a7d2cc39648dcb5ea232df6f858",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 4920,
            "upload_time": "2024-03-15T10:29:49",
            "upload_time_iso_8601": "2024-03-15T10:29:49.910445Z",
            "url": "https://files.pythonhosted.org/packages/e2/6c/53205820011c6ec65dee43f52ce908be23650eaf3f7b6311660fb36d34fe/named-1.4.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "63893e2615a20ce923e58ac07550ce1defa7fc46e27fda0d02fbdfdb1c42b98b",
                "md5": "42eda79b81d12055218d8c6df8334784",
                "sha256": "1d1fe741b27b4bb558442a7a759415a840da4f804f0b1759a251714a4b4ad055"
            },
            "downloads": -1,
            "filename": "named-1.4.2.tar.gz",
            "has_sig": false,
            "md5_digest": "42eda79b81d12055218d8c6df8334784",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 4596,
            "upload_time": "2024-03-15T10:29:50",
            "upload_time_iso_8601": "2024-03-15T10:29:50.983662Z",
            "url": "https://files.pythonhosted.org/packages/63/89/3e2615a20ce923e58ac07550ce1defa7fc46e27fda0d02fbdfdb1c42b98b/named-1.4.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-15 10:29:50",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "nekitdev",
    "github_project": "named",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "named"
}
        
Elapsed time: 0.82249s