Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
6bab9e7
Initial commit
aromanielloNTIA Nov 1, 2024
c3e3fae
Initial PropLib Python wrapper template
aromanielloNTIA Nov 1, 2024
6b9b0fb
Run pre-commit hooks on all files
aromanielloNTIA Nov 1, 2024
7d09806
Fix version number typo
aromanielloNTIA Nov 1, 2024
97cdc0d
Add CMakeLists.txt
aromanielloNTIA Nov 1, 2024
383fbb7
Remove default_language_version
aromanielloNTIA Nov 12, 2024
5854d6f
Update template readme
aromanielloNTIA Nov 12, 2024
43193ba
Make template project buildable
aromanielloNTIA Nov 12, 2024
2e24083
Make template project testable
aromanielloNTIA Nov 12, 2024
673ad90
Add template Zenodo config
aromanielloNTIA Nov 12, 2024
6af32bc
Update installation instructions
aromanielloNTIA Nov 12, 2024
2ba777c
Fix template install instruction
aromanielloNTIA Nov 12, 2024
88f3675
add template public release approval form
aromanielloNTIA Nov 14, 2024
a13ae56
Update README
aromanielloNTIA Nov 20, 2024
f704e6e
Add template public release form
aromanielloNTIA Nov 20, 2024
f465741
Remove zenodo file
aromanielloNTIA Nov 20, 2024
4fd2231
Add template citation file
aromanielloNTIA Nov 20, 2024
cf69743
Remove DOI badge, replace github release with PyPI badge, add disclaimer
aromanielloNTIA Nov 20, 2024
47f6ca7
Fix capitalization
aromanielloNTIA Nov 20, 2024
46aee01
Create cff-validator.yml
aromanielloNTIA Nov 21, 2024
e452154
Remove name-particle from template citation file
aromanielloNTIA Nov 21, 2024
72f7712
Make template valid
aromanielloNTIA Nov 21, 2024
af0d8b5
Fix file filter in CFF validator
aromanielloNTIA Nov 21, 2024
6e5b86e
Test fixing path filters
aromanielloNTIA Nov 22, 2024
dabc99c
Add link to template test data repo
aromanielloNTIA Nov 22, 2024
d3e9192
Fix incorrect field
aromanielloNTIA Nov 26, 2024
c46aa11
Merge branch 'main' of https://github.com/NTIA/proplib-template-pytho…
cheroy-ntia Nov 29, 2024
670d3b1
Update approval form for test data requirements
aromanielloNTIA Dec 2, 2024
ad6bb23
Add zenodo template and README badge
aromanielloNTIA Dec 2, 2024
8e89044
Fix resource_type in template zenodo file
aromanielloNTIA Dec 2, 2024
96f29ce
Merge branch 'proplib-template-python-main' into dev
cheroy-ntia Dec 3, 2024
f470b5d
Update markdownlink pre-commit hook
aromanielloNTIA Dec 3, 2024
21235c7
Migrate tox configuration into pyproject.toml
aromanielloNTIA Dec 3, 2024
201c315
Remove CMakeLists.txt
aromanielloNTIA Dec 3, 2024
f1a67b4
Update test data directory
aromanielloNTIA Dec 3, 2024
6f6f8ac
Update README
aromanielloNTIA Dec 3, 2024
a7b6084
Initialize extern directory for submodule
aromanielloNTIA Dec 3, 2024
d9ac58d
Rename test_utils file
aromanielloNTIA Dec 3, 2024
6f7c9f8
Move expected test data directory to tests/data
aromanielloNTIA Dec 3, 2024
99c2500
Merge branch 'proplib-template-python-main' into dev
cheroy-ntia Dec 6, 2024
c90126f
initialize LFMF Python wrap
cheroy-ntia Dec 9, 2024
568430b
update README
cheroy-ntia Dec 9, 2024
850ec19
update README
cheroy-ntia Dec 9, 2024
d9f4f1c
update CITATION.cff
cheroy-ntia Dec 9, 2024
28390eb
update CITATION.cff
cheroy-ntia Dec 9, 2024
afb6fb1
update test_lfmf
cheroy-ntia Dec 10, 2024
eef486c
remove not used code
cheroy-ntia Dec 10, 2024
2a1e86f
Populate zenodo metadata
aromanielloNTIA Dec 18, 2024
df9aadd
Update name formatting
aromanielloNTIA Dec 18, 2024
d109eff
Update README contenst
aromanielloNTIA Dec 18, 2024
61a0049
Update pyproject.toml contents
aromanielloNTIA Dec 18, 2024
93a43a8
Update CITATION.cff contents
aromanielloNTIA Dec 18, 2024
6aa300e
Add and revise input parameter unit information
aromanielloNTIA Dec 18, 2024
44b2bad
Double underscore before unit in output variable name
aromanielloNTIA Dec 18, 2024
7bd5774
Update version to 1.1.0
aromanielloNTIA Dec 18, 2024
1b82f77
Add test utils from template repository
aromanielloNTIA Dec 18, 2024
0afc798
Add license and disclaimer information
aromanielloNTIA Dec 18, 2024
577e654
Add __init__.py to test directory
aromanielloNTIA Dec 18, 2024
e83d52c
run pre-commit hooks on all files
aromanielloNTIA Dec 18, 2024
6907448
Update CFF validator for Ubuntu 24.04 runner
aromanielloNTIA Dec 18, 2024
ce0e287
Merge pull request #3 from NTIA/dev-revisions
aromanielloNTIA Dec 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/cff-validator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Validate CITATION.cff

on:
push:
paths:
- 'CITATION.cff'
- '.github/workflows/cff-validator.yml'
pull_request:
paths:
- 'CITATION.cff'
- '.github/workflows/cff-validator.yml'
workflow_dispatch:

jobs:
Validate-CITATION-cff:
runs-on: ubuntu-latest
name: Validate CITATION.cff
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Validate CITATION.cff
uses: dieghernan/cff-validator@v3
with:
install-r: true
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ __pycache__/

# C extensions
*.so
*.so.*
*.dylib
*.DLL
*.dll

# Distribution / packaging
.Python
Expand Down
41 changes: 41 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-ast
types: [file, python]
- id: check-case-conflict
- id: check-docstring-first
types: [file, python]
- id: check-merge-conflict
- id: check-yaml
types: [file, yaml]
- id: debug-statements
types: [file, python]
- id: detect-private-key
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/asottile/pyupgrade
rev: v3.19.0
hooks:
- id: pyupgrade
args: ["--py39-plus"]
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
name: isort (python)
types: [file, python]
args: ["--profile", "black", "--filter-files", "--gitignore"]
- repo: https://github.com/psf/black
rev: 24.10.0
hooks:
- id: black
types: [file, python]
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.43.0
hooks:
- id: markdownlint
types: [file, markdown]
exclude: GitHubRepoPublicReleaseApproval.md
args: ["--disable", "MD013"]
43 changes: 43 additions & 0 deletions .zenodo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"upload_type": "software",
"publication_date": "TODO-TEMPLATE",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am populating this file in a separate PR

"title": "Low Frequency / Medium Frequency (LF/MF) Propagation Model, Python Wrapper",
"creators": [
{
"name": "Heroy, Chen",
"affiliation": "U.S. Department of Commerce, National Telecommunications and Information Administration, Institute for Telecommunication Sciences",
"orcid": "0009-0006-8728-4502"
},
{
"name": "Romaniello, Anthony W.",
"affiliation": "U.S. Department of Commerce, National Telecommunications and Information Administration, Institute for Telecommunication Sciences",
"orcid": "0000-0001-8437-6504"
}
],
"description": "This code repository contains a Python wrapper for the NTIA/ITS implementation of the Low Frequency / Medium Frequency (LF/MF) Propagation Model.",
"access_right": "open",
"keywords": [
"propagation",
"communications",
"antennas",
"radio wave propagation"
],
"related_identifiers": [
{
"identifier": "https://github.com/NTIA/LFMF",
"relation": "isSupplementTo",
"resource_type": "software"
},
{
"identifier": "https://github.com/NTIA/LFMF-test-data",
"relation": "isSupplementedBy",
"resource_type": "dataset"
},
{
"identifier": "https://ntia.github.io/propagation-library-wiki/models/LFMF/",
"relation": "isDocumentedBy",
"resource_type": "softwaredocumentation"
}
],
"version": "1.1.0"
}
42 changes: 42 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
cff-version: 1.2.0
title: >-
Low Frequency / Medium Frequency (LF/MF) Propagation Model, Python Wrapper
message: Please cite this software using these metadata.
type: software
authors:
- family-names: Heroy
given-names: Chen
affiliation: >-
U.S. Department of Commerce, National
Telecommunications and Information Administration,
Institute for Telecommunication Sciences
orcid: 'https://orcid.org/0009-0006-8728-4502'
email: [email protected]
- family-names: Romaniello
given-names: Anthony W.
affiliation: >-
U.S. Department of Commerce, National
Telecommunications and Information Administration,
Institute for Telecommunication Sciences
orcid: 'https://orcid.org/0000-0001-8437-6504'
email: [email protected]
- name: >-
U.S. Department of Commerce, National
Telecommunications and Information Administration,
Institute for Telecommunication Sciences
address: 325 Broadway
city: Boulder
country: US
post-code: '80305'
region: Colorado
alias: NTIA/ITS
email: [email protected]
website: 'https://its.ntia.gov'
repository-code: 'https://github.com/NTIA/LFMF-python'
url: 'https://ntia.github.io/propagation-library-wiki/models/LFMF'
keywords:
- its
- propagation
- lfmf
- antennas
version: 1.1.0
Loading
Loading