pyyaml looks like is outdated

Question:

As I searched for pypi, more specifically at this address:

pyyaml docs
I noticed that the pyaml package, previously quite used, is no longer receiving updates.
I was thinking of using it for a project, but if that’s really it, it makes more sense to look for other alternatives.
Could someone confirm this statement, and if possible, indicate a replacement for the package?

PS- I am using python 3.10

I searched a lot of sites, but all of them use pyyaml

Asked By: gg_master_d

||

Answers:

The yaml standard is not that frequently updated so PyYAML is still valid and supported by latest version of python 3.

Last update was of the YAML standard was: 1 October 2021 source: YAML wikipedia
and PyYAML was updated on Released: Oct 13, 2021 source PyYAML

So I say its safe to use. Many new releases is not always positive.

Answered By: karin holm

I am facing the same issues using load and SafeLoader from yaml package.

I am using python 3.10

from yaml import load, SafeLoader

throws this exception:

ImportError: cannot import name 'load' from partially initialized module 'yaml' (most likely due to a circular import)

NOTE – this is a python file, and is not a part from anything initialized before (framework or something related)

Answered By: Magaren
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.