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 numgear

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.post1.dev0.tar.gz (7.8 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.post1.dev0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for numgear-0.0.1b2.post1.dev0.tar.gz
Algorithm Hash digest
SHA256 1cd88f427b21e8a96d42e4896294f62e411ff0f9f81a3d1863e64908106a96cd
MD5 beb76dce1f6c87069f4ae04bcd5f70ea
BLAKE2b-256 97b85b24dcbe3020b59f53b3a83a6dff9d21c1d7e05f08b9b9fec3818410d1ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numgear-0.0.1b2.post1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e87ead1c7c5a3ed8e13a027eb7154c59a70e58919863f8765f0f246c5292101
MD5 e4fd45d5b9d5ba2ca21711744e188e7a
BLAKE2b-256 481780108b1c14874fd02bd8d32a190a058a8e53addd3157406b5e59f82aaad5

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