Nathaniel Starkman

Results 199 issues of Nathaniel Starkman

~Requires #15916 (currently based on that PR. will need a rebase when it's merged).~ I'm looking to minimally type cosmology's I/O module. In doing the types I've noticed a number...

Docs
cosmology
Close?
no-changelog-entry-needed
typing

fixes #15301. TODO: - [ ] changelog - [ ] edit the docs of `astropy.utils.decorators.deprecated` to mention `warnings.deprecated`: what ours does differently and when one should use that one instead.

utils
installation
keep-open
Python 3.13

### What is the problem this feature will solve? The [serialize](https://github.com/hgrecco/serialize) package provides a nice unified interface for [json](http://docs.python.org/3/library/json.html), [yaml](http://pyyaml.org/), [shelve](http://docs.python.org/3.6/library/shelve.html), [hdf5](http://www.h5py.org/) and and [dill](https://pypi.python.org/pypi/dill). We at Astropy have rolled...

Feature Request
io.ascii
unified-io

This PR changes `Cosmology` and its subclasses to `dataclasses.dataclass` objects for versions py3.10+. **Why change?** Well, this has long been the intended plan. `Cosmology` is structured very similarly to the...

testing
Docs
cosmology
Enhancement
whatsnew-needed
API change

**Is your feature request related to a problem? Please describe.** If you define a dataclass descriptor field then it doesn't return `self`, so sphinx doesn't know to look for the...

type:enhancement
extensions:autodoc
expert

### Describe the bug If a [descriptor-typed dataclass field](https://docs.python.org/3/library/dataclasses.html#descriptor-typed-fields) without a default value (item 3 in the screenshot) is used in a class `Foo`, then the field cannot be accessed...

type:bug
extensions:autodoc

Continuing from https://github.com/data-apis/array-api/issues/584, I've done a quick refactor of the array (and dtype) objects to make them typing Protocols. @rgommers, I agree that making Array generic wrt the dtype is...

RFC
topic: Static Typing

Proof of concept. Benefits: 1. Proper type hint of return type of `__array_namespace__`. 2. `arange` is now a statically understood signature, e.g. ``func: arange`` is meaningful. 3. can be easily...

topic: Static Typing

Hi, first time contributor, long-time fan. I've been following the development of the Array API and having discussions with my fellow Astropy maintainers about how Astropy's Quantity class can support...

RFC

I'm trying to publish my cache for https://github.com/nstarman/Temperature-Diffusion-Spectral-Distortion-Paper. When I run `showyourwork cache publish` I get the error ``` Traceback (most recent call last): File "/Users/nmrs/miniconda3/envs/spectral_distortions/bin/showyourwork", line 8, in sys.exit(entry_point())...

:bug: bug
zenodo