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.1b1.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.1b1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for numgear-0.0.1b1.tar.gz
Algorithm Hash digest
SHA256 d1fe666ffb23ecaa4d7342cec0cdc3a066324c9efd69408ea7d73955e29d6c55
MD5 767a09dede08245515b38fec15c5cb3b
BLAKE2b-256 c304c1ebfdeee57825443aabf86f9619d555961062ee27cfca98aed348715699

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for numgear-0.0.1b1-py3-none-any.whl
Algorithm Hash digest
SHA256 af47bebbf4da50ab13f28233c4ebc82dd7039c10da1c267332cf49b773491f52
MD5 d43e0c60ef2de8df718e668313a2eaf0
BLAKE2b-256 f731586ce446f0e26d5184e35843a80807fcc9aeb2236bddc7f503f0ea2b6ccb

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