Skip to main content

mpcorbfile

https://img.shields.io/pypi/v/mpcorbfile.svg Documentation Status

Read and write MPCORB files from minor planet center.

Features

This package provides a simple interface to read and write MPCORB files from the minor planet center formated as described in https://minorplanetcenter.net/iau/info/MPOrbitFormat.html

Its not provides any kind of orbital calculation, just read and write the files. See Usage for more details.

Reading:

import mpcorbfile

#read MPCORB.DAT download  from:
#https://www.minorplanetcenter.net/iau/MPCORB/MPCORB.DAT
mpc = mpcorbfile.mpcorb_file('MPCORB.DAT')
#mpc.bodies it's a list of dictionaries with the data
print(f'{mpc.bodies[0]})
{'packed_designation': 'a7943',
'H': 24.19,
'G': 0.15,
'Epoch': datetime.datetime(2025, 5, 5, 0, 0),
'M': 184.7538,
'Peri': 195.63684,
'Node': 146.91033,
'i': 11.6102,
'e': 0.0894684,
'n': 1.13494811,
'a': 0.9102319,
'U': '2',
'Ref': 'E2024-JU2',
'Num_obs': 1055,
'Num_opps': 2,
'Arc_length': '2012-2013',
'rms': 0.36,
'Perturbers': 'M-v',
'Perturbers_2': '3Ek',
'Computer': 'Veres',
'Hex_flags': 2049,
'Number': '(367943)',
'Name': 'Duende',
'Last_obs': '20130221',
'epochJD': 2460800.5,
'designation': '367943',
'discover_date': nan,
'orbit_type': 'NEO;Athen'}

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Metadata

Release files for mpcorbfile 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mpcorbfile 1.0.4
File Size Uploaded Provenance Actions
mpcorbfile-1.0.4.tar.gz 12.7 kB Without provenance Details for mpcorbfile-1.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mpcorbfile 1.0.4
File Interpreter ABI Platform Actions
mpcorbfile-1.0.4-py3-none-any.whl Python 3 none any Details for mpcorbfile-1.0.4-py3-none-any.whl

Total release size: 26.1 kB

Release files / mpcorbfile-1.0.4.tar.gz

Download URL mpcorbfile-1.0.4.tar.gz
Size 12.7 kB
Tags Source
SHA-256 checksum
How to use checksums
60847e942002fcca885dd32bdf38eaae1ae24c4527e64d08d1b3f2f4dc97282a
BLAKE2b-256 checksum
How to use checksums
11d01b85cea807d87b4a6999515fc76e7a64bb409992936c13f2260158639e5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.12.3 Linux/6.11.0-19-generic

Release files / mpcorbfile-1.0.4-py3-none-any.whl

Download URL mpcorbfile-1.0.4-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2cff60854dac838c662d245f2945722e049b7f3091a8865b421821d63196a3ad
BLAKE2b-256 checksum
How to use checksums
8d01b04979a4962f05a62889f22cf70302fec6e36dde533f454ba34a2510156a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.12.3 Linux/6.11.0-19-generic

Security for mpcorbfile 1.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page