Skip to main content

A collection of python utils for Fugue projects

Project description

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.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

Project details


Release history Release notifications | RSS feed

This version

0.6.9

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

triad-0.6.9.tar.gz (57.5 kB view details)

Uploaded Source

Built Distribution

triad-0.6.9-py3-none-any.whl (67.4 kB view details)

Uploaded Python 3

File details

Details for the file triad-0.6.9.tar.gz.

File metadata

  • Download URL: triad-0.6.9.tar.gz
  • Upload date:
  • Size: 57.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.14

File hashes

Hashes for triad-0.6.9.tar.gz
Algorithm Hash digest
SHA256 777d5930f325a64b3a11c2b0fb6322e30d981d32846a4abca2f8ae07f5b7f971
MD5 d11bfbf8a2d9dbb54cbf00b8192242e9
BLAKE2b-256 11c5eaadbb55c76bbcc706d8e7ee6b8e6d4130a97ea435054abba99d056b00ea

See more details on using hashes here.

File details

Details for the file triad-0.6.9-py3-none-any.whl.

File metadata

  • Download URL: triad-0.6.9-py3-none-any.whl
  • Upload date:
  • Size: 67.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.14

File hashes

Hashes for triad-0.6.9-py3-none-any.whl
Algorithm Hash digest
SHA256 140e39cd3745a25b714eea8ca0b7afff36c13293bba479a7d465b79473e0ee3a
MD5 f8885b116cf733d0c75afc2bb33ecc9a
BLAKE2b-256 24ddaf7d51629fe9649012281c5808f152ef74d8648929c491595a3cbfc3d5aa

See more details on using hashes here.

Supported by

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