blob: de80d9041fbf9acc76a7a0c7233c019d82e3bbce (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class PyWord2number(PythonPackage):
"""This is a Python module to convert number words (eg.
twenty one) to numeric digits (21). It works for positive
numbers upto the range of 999,999,999,999 (i.e.
billions)."""
homepage = "https://w2n.readthedocs.io"
pypi = "word2number/word2number-1.1.zip"
version('1.1', sha256='70e27a5d387f67b04c71fbb7621c05930b19bfd26efd6851e6e0f9969dcde7d0')
depends_on('py-setuptools', type='build')
|