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.0.tar.gz (3.1 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.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: infj-1.0.0.tar.gz
  • Upload date:
  • Size: 3.1 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.0.tar.gz
Algorithm Hash digest
SHA256 52ecd6a426997483808d26f099a6de1fc93cad9523722cb0d2a967b8b503d938
MD5 21e53329d5407dd4bf2b597cab1be3bd
BLAKE2b-256 72096644e9a5cf3ead8857fdbb4d2dff6de2e13b77db4026a0a16bf928a79468

See more details on using hashes here.

Provenance

The following attestation bundles were made for infj-1.0.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: infj-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c87d8e2d0f42aadea5e4c3107b06027f5b936c602e35a7c0d1c70b7d50a0f13
MD5 ddf35967151a60a2c355926bd4f88f39
BLAKE2b-256 a6659b11ff0ad8f0a04af3dec8e6e18b4abb0daac3602c3c5a004c227f57182e

See more details on using hashes here.

Provenance

The following attestation bundles were made for infj-1.0.0-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