Skip to main content

A package for opening, editing, and saving Files of Synthesis (*.fos)

Project description

FoSpy

A framework for opening, editing, and saving Files of Synthesis (*.fos)

Code Example

A Simple FOS File

fos_id: TE001
fos_type: synthesis
// This comment will stay attached to the description when saving
// (Until comments are cleared)
description: My First Synthesis
group_id: kovnir-0000-0003-1152-1912
project_id: travis5672/clathrates/Ba2-TM5-Sb6

[Experimenters]
name: Travis Errthum
affiliation: Kovnir Group - Iowa State University
orcid: 0009-0006-1937-5672

// Single brackets on a header mean there is only one group
[Reaction]
nominal_formula: Ba2Zn5Sb6
nominal_amount: 250.0
nominal_amount_unit: milligram

[Products]
name: Barium Zinc Antimonide (2-5-6)
formula: Ba2Zn5Sb6
expected: True
obtained: True
expected_amount: 250.0
expected_amount_unit: milligram
obtained_amount: 200.0
obtained_amount_unit: milligram
observations: Black Powder
characterizations: PXRD, EDS, Eyeballs
structure_comments: Unique clathrate with novel polyhedra. Space group Pnma

// Double brackets on a header mean there are multiple similar groups
[Materials]
name: Barium
type: reagent
formula: Ba
supplier: Thermofisher
cas: 7440-39-3
form: lump
purity: 0.999
env: Ar (g)
// The comment below will be correctly re-calculated using a calc_routine
amount: 2.0
amount_unit: mol ratio
// Similar to headers, single brackets mean there is only one group,
// in this case for treatments of Barium
treatments: [
    type: cutting
    repeats: 1
    observations: smaller pieces improve homogenization
]

// This is a comment on the treatments block
[Treatments]

[[Cifs]]
file_name: attached_cif
extension: .cif
path: projects/my_cifs

file_name: Ba2Zn5Sb6_ICSD
extension: .cif
embedded: {{{
Embedded CIF Test Goes Here
#################### END FOS EMBED }}}

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

fospy-0.1.2.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

fospy-0.1.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file fospy-0.1.2.tar.gz.

File metadata

  • Download URL: fospy-0.1.2.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fospy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c34e88e21f702fcbd53b8c37c7b0a76aee9d8df33e137ad58c33afdad1d4c06a
MD5 7171e502fe252a6bb737722924eea51d
BLAKE2b-256 7b5a68213852c75b1cb533283510f04c455cae4dd2f4b8e9ba7b5752fe121915

See more details on using hashes here.

Provenance

The following attestation bundles were made for fospy-0.1.2.tar.gz:

Publisher: version-tag.yml on errthumt/FoSpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fospy-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: fospy-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fospy-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 68224d1d48367d801056d79618fa023c6765dcd14f7068f25a12854ac3b896e0
MD5 bc55c4f39df465283b9ba0d1a5f1055c
BLAKE2b-256 927605465a7622db2b056cfb2b89d3416e033b18c39b1d4fb51b7e8f4fc4689f

See more details on using hashes here.

Provenance

The following attestation bundles were made for fospy-0.1.2-py3-none-any.whl:

Publisher: version-tag.yml on errthumt/FoSpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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