Skip to main content

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
path: projects/my_cifs

file_name: Ba2Zn5Sb6_ICSD.cif
embedded: {{{
['Embedded CIF Test Goes Here\n']
#################### END FOS EMBED }}}

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.2.4.tar.gz (522.5 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.2.4-py3-none-any.whl (554.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fospy-0.2.4.tar.gz
Algorithm Hash digest
SHA256 545c91ff207af6cce16003b9d52a296679e99ba2078e93cb9c4fd5c624da6d5a
MD5 32a058ead2f723f0d10a95cbda334c82
BLAKE2b-256 170df38dc3c3dbf2ea76679c9725e9670af836911545db9eb073f898c09bb0cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for fospy-0.2.4.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.2.4-py3-none-any.whl.

File metadata

  • Download URL: fospy-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 554.0 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.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6d28b3f5da6b018f39dd19d9894b593b7be6c4d6b6bd9ea3a81b8e8f07d66359
MD5 78b2379290116194c185e1ced4803f37
BLAKE2b-256 f1a6600d112ce8a93ded04e4512fa914c10f95ee8d57148390173c4c58e01200

See more details on using hashes here.

Provenance

The following attestation bundles were made for fospy-0.2.4-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.

Release history Release notifications | RSS feed

0.3.0

2 files

This release

0.2.4 This release

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.2

2 files

0.0.8

2 files

0.0.7

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

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