Skip to main content

Contains a base class representing an updatable parameter set that is equipped with methods to facilitate parameter data serialization and validation.

Project description

Fancy Types (FancyTypes)

Test library Code Coverage Documentation PyPi Version Conda-Forge Version License

fancytypes is a simple Python library that contains a base class representing an updatable parameter set that is equipped with methods to facilitate parameter data serialization and validation.

Visit the fancytypes website for a web version of the installation instructions, the reference guide, and the examples archive.

The source code can be found in the fancytypes GitHub repository.

Table of contents

Instructions for installing and uninstalling fancytypes

Installing fancytypes

For all installation scenarios, first open up the appropriate command line interface. On Unix-based systems, you could open e.g. a terminal. On Windows systems you could open e.g. an Anaconda Prompt as an administrator.

Installing fancytypes using pip

Before installing fancytypes, make sure that you have activated the (virtual) environment in which you intend to install said package. After which, simply run the following command:

pip install fancytypes

The above command will install the latest stable version of fancytypes.

To install the latest development version from the main branch of the fancytypes GitHub repository, one must first clone the repository by running the following command:

git clone https://github.com/mrfitzpa/fancytypes.git

Next, change into the root of the cloned repository, and then run the following command:

pip install .

Note that you must include the period as well. The above command executes a standard installation of fancytypes.

Optionally, for additional features in fancytypes, one can install additional dependencies upon installing fancytypes. To install a subset of additional dependencies (along with the standard installation), run the following command from the root of the repository:

pip install .[<selector>]

where <selector> can be one of the following:

  • tests: to install the dependencies necessary for running unit tests;
  • examples: to install the dependencies necessary for executing files stored in <root>/examples, where <root> is the root of the repository;
  • docs: to install the dependencies necessary for documentation generation;
  • all: to install all of the above optional dependencies.

Alternatively, one can run:

pip install fancytypes[<selector>]

elsewhere in order to install the latest stable version of fancytypes, along with the subset of additional dependencies specified by <selector>.

Installing fancytypes using conda

To install fancytypes using the conda package manager, run the following command:

conda install -c conda-forge fancytypes

The above command will install the latest stable version of fancytypes.

Uninstalling fancytypes

If fancytypes was installed using pip, then to uninstall, run the following command:

pip uninstall fancytypes

If fancytypes was installed using conda, then to uninstall, run the following command:

conda remove fancytypes

Learning how to use fancytypes

For those new to the fancytypes library, it is recommended that they take a look at the Examples page, which contain code examples that show how one can use the fancytypes library. While going through the examples, readers can consult the fancytypes reference guide to understand what each line of code is doing.

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

fancytypes-1.0.2.tar.gz (66.6 kB view details)

Uploaded Source

Built Distribution

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

fancytypes-1.0.2-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

Details for the file fancytypes-1.0.2.tar.gz.

File metadata

  • Download URL: fancytypes-1.0.2.tar.gz
  • Upload date:
  • Size: 66.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fancytypes-1.0.2.tar.gz
Algorithm Hash digest
SHA256 52b1118a2c56127a70ccc2c79fc1ea12580c17d36abf01eb9c62521d5b60854c
MD5 e4376e263781f5cd53874e7171ce5dc3
BLAKE2b-256 380d77dfb474c93b47832c5d549b874e2dff4c81f4cc5fc1e2ead59deed4f145

See more details on using hashes here.

Provenance

The following attestation bundles were made for fancytypes-1.0.2.tar.gz:

Publisher: publish_release_to_pypi.yml on mrfitzpa/fancytypes

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

File details

Details for the file fancytypes-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: fancytypes-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 24.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fancytypes-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5026372e23e1cc2b33fba8731ea21f5c1f107653f3eded10330401f634b53ec3
MD5 a7052e9612267aacc257e0a5535348d7
BLAKE2b-256 dfc492e5067247e5364eb5602fed57d1abcc4bef623c29882d56e362a08480c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for fancytypes-1.0.2-py3-none-any.whl:

Publisher: publish_release_to_pypi.yml on mrfitzpa/fancytypes

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