Skip to main content

Starrydata Python useful tools

Project description

Starrydata

Starrydata is a library that allows users to easily download and utilize datasets related to inorganic materials. This library enables efficient data retrieval for research and projects.

Installation

You can install Starrydata from PyPI using the following command:

pip install starrydata

Usage

Below is an example of how to use Starrydata.

Downloading a Dataset

To download a specific dataset, use the Dataset class. Here is an example of how to download and load a dataset into a pandas DataFrame:

import starrydata as sd  # Import the Starrydata library
import pandas as pd  # Import the pandas library

# Load the dataset for the specified date
sd_dataset = sd.load_dataset(date="20240521")

# Print the dataset timestamp to confirm the download date
print(sd_dataset.dataset_timestamp)

# Read the 'all_curves.csv' file from the dataset and convert it to a pandas DataFrame
df_curves = pd.read_csv(sd_dataset.curves_csv)

# Read the 'all_samples.csv' file from the dataset and convert it to a pandas DataFrame
df_samples = pd.read_csv(sd_dataset.samples_csv)

# Read the 'all_papers.json' file from the dataset and convert it to a pandas DataFrame
df_papers = pd.read_json(sd_dataset.papers_json)

More details is 1_how_to_use.ipynb on Google Colab

Documentation

For more detailed documentation and usage examples, please refer to the official documentation.

Contributing

Bug reports and feature requests are welcome at the GitHub repository. Contributions to the codebase are also appreciated. Follow these steps to contribute:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature-branch)
  3. Commit your changes (git commit -am 'Add new feature')
  4. Push the branch (git push origin feature-branch)
  5. Create a pull request

License

This project is licensed under the MIT License. See the LICENSE file for more details.

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

starrydata-1.1.3.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

starrydata-1.1.3-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file starrydata-1.1.3.tar.gz.

File metadata

  • Download URL: starrydata-1.1.3.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 PyPy/7.3.11

File hashes

Hashes for starrydata-1.1.3.tar.gz
Algorithm Hash digest
SHA256 8472e6dbc3f9d4439befa50fb44e76fd65fef576db4eddc71257d57b93e819a8
MD5 5fc3633c7d3fdee28ebcdbebf10c77de
BLAKE2b-256 6b0882a40baf660b507eb14da6ca6640ba5555b9c05ea7aefd514409c858d3eb

See more details on using hashes here.

File details

Details for the file starrydata-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: starrydata-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 PyPy/7.3.11

File hashes

Hashes for starrydata-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5c03a113506065f2b960e487e0bb2631de4e40ccb2e09314025c8b28ee8b864f
MD5 6d8c93ee90435898c13de0a6b20dddda
BLAKE2b-256 bc5e311af9a03b19a4fd7b7b9b9dda29fbbd588f49acf92997ff5f8b988fa9e1

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