triad 0.9.8


pip install triad

  Latest version

Released: Jun 28, 2024

Project Links

Meta
Author: The Fugue Development Team
Requires Python: >=3.8

Classifiers

Development Status
  • 5 - Production/Stable

Intended Audience
  • Developers

Topic
  • Software Development :: Libraries :: Python Modules

License
  • OSI Approved :: Apache Software License

Programming Language
  • Python :: 3.8
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3 :: Only

Triad

GitHub release PyPI pyversions PyPI license PyPI version codecov Doc

Slack Status

A collection of python utility functions for Fugue projects

Installation

pip install triad

Release History

0.9.8

  • Support Python 3.12

0.9.7

  • Make FunctionWrapper compare annotation origins by default

0.9.6

  • Add is_like to Schema to compare similar schemas

0.9.5

  • Add parse json column function to pyarrow utils
  • Fix the pandas legacy usage

0.9.4

0.9.3

  • Add version constraint on fsspec

0.9.2

  • Remove support for Python 3.7
  • Add more util functions for fsspec
  • Add more util functions for pyarrow
  • Add sorted batch reslicers
  • Add ArrowDtype support
  • Systematically improved pandas and arrow type casts
  • Remove PandasLikeUtils.enfoce_type
  • Add more util functions for pyarrow

0.9.1

  • Add fsspec as a core dependency, add io utils
  • Add py.typed
  • Improve Schema class comments

0.9.0

  • Merge QPD pandas utils functions back to Triad

0.8.9

  • Add batch reslicers
  • Fix package issue (exclude tests folder)

0.8.8

  • Add type replacement utils for pyarrow

0.8.7

  • Fix pandas 2.0 warnings

0.8.6

  • Fixed timestamp conversion for pandas 2.0

0.8.5

  • Ensure pandas 2.0 compatibility
  • Improve to_schema in PandasUtils

0.8.4

  • Moved FunctionWrapper from Fugue into Triad
  • Improved groupby apply efficiency for pandas utils

0.8.3

  • Add get_alter_func to pyarrow utils

0.8.2

  • Handle time zone in pandas_utils

0.8.1

0.8.0

  • Support arbitrary column name

0.7.0

  • Fixed importlib entry_points compatibility issue

0.6.9

  • Remove Python 3.6 support
  • Add dataframe rename utils

0.6.8

  • Add map type support to Schema

0.6.7

  • Parse nested fields in expression_to_schema util

0.6.6

  • Improve conditional_dispatcher

0.6.5

  • Add SerializableRLock
  • Add decorator run_once

0.6.4

  • Add function dispatcher

0.6.3

  • Fix pandas warning on pd.Int64Index

0.6.2

  • Make ciso8601 totally optional

0.6.1

  • Support Python 3.10

0.6.0

  • Fix extensible class bugs

0.5.9

  • Create extensible_class and extension_method decos

0.5.8

  • Make ciso8601 a soft dependency on windows
  • Switch to codecov
  • Improve documents, change to Furo theme

0.5.7

  • Fix pandas extension data types bug

0.5.6

0.5.5

  • Change pandas_list enforce_type df construction

0.5.4

  • Make FileSystem work for windows
  • Make triad fullly compatible with Windows
  • Add windows tests

0.5.3

  • Lazy evaluation for assert_or_throw

0.5.2

  • For pyarrow data conversion, support np.ndarray -> list

0.5.1

  • Update get_caller_global_local_vars to access any stack

0.5.0

  • Fix to_type on full type path

0.4.9

  • Fix numpy warning

0.4.6

  • Improve pandas like utils enforce method to handle str -> bool

0.4.5

  • Fixed pandas -> arrow datetime conversion issue

0.4.4

  • Improved FileSystem compatibility with Windows
  • Add overwrite expression for Schema class
  • Fixed github actions

0.4.3

  • Refactored str_to_type, str_to_instance and to_function to use eval

0.4.2

  • Fix a bug in pandas like safe_groupby_apply

0.4.1

  • Improvement on group by apply
  • Improvement on environment setup

0.4.0

  • Prepare for Fugue open source

0.3.8

  • Change to Apache 2.0 license

0.3.7

  • Add pyarrow binary type support

0.3.6

  • Add transform to Schema class

0.3.5

  • Change pyarrow and pandas type_safe output to be consistent with pyarrow (None for pd.NaT, nan, etc)

0.3.4

  • Add general FileSystem

0.3.3

  • Add thread-safe cloudpicklable RunOnce class

0.3.2

  • extracted TRIAD_DEFAULT_TIMESTAMP as a constant

<=0.3.1

  • Open sourced and docs are ready
  • Added basic utility functions
  • Types and schema are based on pyarrow
  • A better indexed and ordered dict
  • Added ParamDict
0.9.8 Jun 28, 2024
0.9.7 Jun 12, 2024
0.9.6 Mar 18, 2024
0.9.5 Jan 29, 2024
0.9.4 Jan 21, 2024
0.9.3 Nov 09, 2023
0.9.2 Nov 09, 2023
0.9.2.dev8 Nov 05, 2023
0.9.2.dev7 Oct 31, 2023
0.9.2.dev6 Oct 30, 2023
0.9.2.dev5 Oct 22, 2023
0.9.2.dev4 Oct 21, 2023
0.9.2.dev3 Aug 20, 2023
0.9.2.dev2 Aug 14, 2023
0.9.2.dev1 Aug 14, 2023
0.9.1 Jul 11, 2023
0.9.0 Jun 06, 2023
0.8.9 Jun 03, 2023
0.8.8 May 23, 2023
0.8.7 May 04, 2023
0.8.6 Apr 17, 2023
0.8.5 Apr 11, 2023
0.8.4 Mar 19, 2023
0.8.3 Mar 12, 2023
0.8.2 Jan 24, 2023
0.8.1 Jan 16, 2023
0.8.0 Jan 05, 2023
0.7.0 Oct 15, 2022
0.6.9 Oct 02, 2022
0.6.8 Sep 14, 2022
0.6.7 Aug 08, 2022
0.6.6 Jul 15, 2022
0.6.5 Jul 08, 2022
0.6.4 Jul 04, 2022
0.6.3 Jun 10, 2022
0.6.2 May 31, 2022
0.6.1 May 07, 2022
0.6.0 Dec 29, 2021
0.5.9 Dec 29, 2021
0.5.8 Dec 28, 2021
0.5.7 Dec 01, 2021
0.5.6 Nov 29, 2021
0.5.5 Oct 20, 2021
0.5.4 Jun 19, 2021
0.5.3 May 11, 2021
0.5.2 Apr 19, 2021
0.5.1 Jan 25, 2021
0.5.0 Jan 11, 2021
0.4.9 Jan 01, 2021
0.4.8 Jan 01, 2021
0.4.7 Jan 01, 2021
0.4.6 Nov 28, 2020
0.4.5 Nov 06, 2020
0.4.4 Oct 21, 2020
0.4.3 Oct 06, 2020
0.4.2 Oct 01, 2020
0.4.1 Sep 29, 2020
0.4.0 Sep 22, 2020
0.3.8 Jun 24, 2020
0.3.7 Jun 16, 2020
0.3.6 Jun 13, 2020
0.3.5 May 27, 2020
0.3.4 May 27, 2020
0.3.3 May 25, 2020
0.3.2 May 20, 2020
0.3.1 May 18, 2020
0.3.0 May 17, 2020
0.2.9 May 17, 2020
0.2.8 May 11, 2020
0.2.7 May 10, 2020
0.2.6 May 10, 2020
0.2.5 May 10, 2020
0.2.4 May 10, 2020
0.2.3 May 09, 2020
0.2.2 May 09, 2020
0.2.1 May 08, 2020
0.2.0 May 06, 2020
0.1.9 May 03, 2020
0.1.8 May 01, 2020
0.1.7 May 01, 2020
0.1.6 Apr 19, 2020
0.1.5 Apr 12, 2020
0.1.4 Apr 12, 2020
0.1.3 Apr 12, 2020
0.1.2 Apr 11, 2020
0.1.1 Apr 10, 2020
0.1.0 Apr 09, 2020
0.0.2 Mar 28, 2020

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras:
Dependencies:
numpy
pandas (>=1.3.5)
six
pyarrow (>=6.0.1)
fsspec (>=2022.5.0)
fs