Skip to main content

This Python package extends the functionality of numpy by introducing additional methods for data manipulation, and a specialized format for reading and writing numpy arrays.

Project description

Numpy Extension

This Python package extends the functionality of numpy by introducing additional methods for data manipulation, and a specialized format for reading and writing numpy arrays.

Features

  • Read NDArray in Need with Keys: Using a key to load the required array without load all.
  • Array Mapping and Transformation Functions: Functions to apply operations across arrays, adjust their ranges, and produce linearly spaced values with specific properties.

Installation

pip install numpy_ext

Usage

Transformation Functions

  • apply_from_axis: Apply a function to slices of an array along a specified axis.
  • map_range: Transform elements in an array to a specified range.
  • map_ranges: Transform elements in an array to multiple specified ranges based on conditions.
  • linspace_at: Generate linearly spaced numbers for given indices.
  • linspace_cumprod_at: Generate a cumulative product series for linearly spaced values at specific indices.

Save and Load Utilities

  • savek: Save multiple numpy arrays to a custom binary format .npk.
  • loadk: Load arrays from a .npk file and read in need for easy access.

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

numgear-0.0.1b2.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

numgear-0.0.1b2-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file numgear-0.0.1b2.tar.gz.

File metadata

  • Download URL: numgear-0.0.1b2.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.0

File hashes

Hashes for numgear-0.0.1b2.tar.gz
Algorithm Hash digest
SHA256 d52b266c146a15da93079f9689a505b5c916592499a3915099386f38ffadc6b2
MD5 d1076b0bfc0ca771c714f0a016d2b103
BLAKE2b-256 92eac48525a2ff2129a6f18352ff04998b6a06eb76304779fc67c7b933348b9b

See more details on using hashes here.

File details

Details for the file numgear-0.0.1b2-py3-none-any.whl.

File metadata

  • Download URL: numgear-0.0.1b2-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.0

File hashes

Hashes for numgear-0.0.1b2-py3-none-any.whl
Algorithm Hash digest
SHA256 807a24d8c07dc17de064dd006607baee33d87d64423799d3354b04a723989e01
MD5 b69808900006bc20ed1cbd539ee19af0
BLAKE2b-256 357150aca9e9229362428cb4240d470be0bc9f4a9e47b2e65aef20fd0eec2e52

See more details on using hashes here.

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