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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efc9f1766c27f85eea69b07e06197139b4090337ee38fabb2ba7c0cf9b75fd91
|
|
| MD5 |
6e1a1af97b15609b1d846e60cf7022cf
|
|
| BLAKE2b-256 |
bbcbfa855bfe37648bbaba682ec608205d0cc098a66bdabe5a31c78167696d51
|
Provenance
The following attestation bundles were made for infj-1.0.1.tar.gz:
Publisher:
publish.yml on KoolShow/INFJ
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
infj-1.0.1.tar.gz -
Subject digest:
efc9f1766c27f85eea69b07e06197139b4090337ee38fabb2ba7c0cf9b75fd91 - Sigstore transparency entry: 301761729
- Sigstore integration time:
-
Permalink:
KoolShow/INFJ@0d056a59d21b13a84c67564239834e5ff28a1c70 -
Branch / Tag:
refs/tags/1.0.1 - Owner: https://github.com/KoolShow
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0d056a59d21b13a84c67564239834e5ff28a1c70 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83e9d1a44803b2586f38a2284d51fea2498298594a45bca35c0f05a56105f713
|
|
| MD5 |
0f2ba46a0d53b61d7588b70972dfa190
|
|
| BLAKE2b-256 |
dedb126e749ca9c428505e316325d4a3cc9f1230f3d61b5fab2fb5087d736cf9
|
Provenance
The following attestation bundles were made for infj-1.0.1-py3-none-any.whl:
Publisher:
publish.yml on KoolShow/INFJ
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
infj-1.0.1-py3-none-any.whl -
Subject digest:
83e9d1a44803b2586f38a2284d51fea2498298594a45bca35c0f05a56105f713 - Sigstore transparency entry: 301761741
- Sigstore integration time:
-
Permalink:
KoolShow/INFJ@0d056a59d21b13a84c67564239834e5ff28a1c70 -
Branch / Tag:
refs/tags/1.0.1 - Owner: https://github.com/KoolShow
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0d056a59d21b13a84c67564239834e5ff28a1c70 -
Trigger Event:
release
-
Statement type: