Skip to main content

Named types.

Project description

named

License Version Downloads Discord

Documentation Check Test Coverage

Named types.

Installing

Python 3.8 or above is required.

pip

Installing the library with pip is quite simple:

$ pip install named

Alternatively, the library can be installed from source:

$ 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:

$ poetry add named

Or by directly specifying it in the configuration like so:

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

Alternatively, you can add it directly from the source:

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

Example

>>> 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.

Support

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

Changelog

You can find the changelog here.

Security Policy

You can find the Security Policy of named here.

Contributing

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

License

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

named-1.4.2.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

named-1.4.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file named-1.4.2.tar.gz.

File metadata

  • Download URL: named-1.4.2.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-1016-azure

File hashes

Hashes for named-1.4.2.tar.gz
Algorithm Hash digest
SHA256 1d1fe741b27b4bb558442a7a759415a840da4f804f0b1759a251714a4b4ad055
MD5 42eda79b81d12055218d8c6df8334784
BLAKE2b-256 63893e2615a20ce923e58ac07550ce1defa7fc46e27fda0d02fbdfdb1c42b98b

See more details on using hashes here.

File details

Details for the file named-1.4.2-py3-none-any.whl.

File metadata

  • Download URL: named-1.4.2-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-1016-azure

File hashes

Hashes for named-1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7b0a607cd6f01af239c5c2bb2fbdb0b779f8b649c994468e039aaf433c629498
MD5 4fa33a7d2cc39648dcb5ea232df6f858
BLAKE2b-256 e26c53205820011c6ec65dee43f52ce908be23650eaf3f7b6311660fb36d34fe

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page