Skip to main content

A Python package that provides the infj complex number literal (0+∞j)

Project description

INFJ

A Python package that provides the infj complex number literal (0+∞j).

Overview

infj is a simple yet useful Python package that defines a complex number literal with zero real part and infinite imaginary part. This can be useful in mathematical computations involving complex infinity.

infj is also known as the INFJ Personality Type in the Myers-Briggs Type Indicator (MBTI).

Installation

You can install infj using pip:

pip install infj

Usage

from infj import infj

# Basic usage
print(infj)  # Output: infj
print(type(infj))  # Output: <class 'complex'>

# Mathematical properties
print(infj.real)  # 0.0
print(infj.imag)  # inf

# Comparisons
print(infj == complex(0, float('inf')))  # True

# Mathematical operations
from math import inf

result = inf + infj
print(result)  # (inf+infj)

Requirements

  • Python 3.6 or higher
  • No external dependencies (uses only standard library)

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the WTFPL License - see the LICENSE file for details.

Author

KoolShow - <koolshowtec@gmail.com>

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

infj-1.0.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

infj-1.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file infj-1.0.1.tar.gz.

File metadata

  • Download URL: infj-1.0.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for infj-1.0.1.tar.gz
Algorithm Hash digest
SHA256 efc9f1766c27f85eea69b07e06197139b4090337ee38fabb2ba7c0cf9b75fd91
MD5 6e1a1af97b15609b1d846e60cf7022cf
BLAKE2b-256 bbcbfa855bfe37648bbaba682ec608205d0cc098a66bdabe5a31c78167696d51

See more details on using hashes here.

Provenance

The following attestation bundles were made for infj-1.0.1.tar.gz:

Publisher: publish.yml on KoolShow/INFJ

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file infj-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: infj-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for infj-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 83e9d1a44803b2586f38a2284d51fea2498298594a45bca35c0f05a56105f713
MD5 0f2ba46a0d53b61d7588b70972dfa190
BLAKE2b-256 dedb126e749ca9c428505e316325d4a3cc9f1230f3d61b5fab2fb5087d736cf9

See more details on using hashes here.

Provenance

The following attestation bundles were made for infj-1.0.1-py3-none-any.whl:

Publisher: publish.yml on KoolShow/INFJ

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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