Skip to content

Commit e9fb7ec

Browse files
authored
Release 0.1.0 (#58)
1 parent e75a55d commit e9fb7ec

File tree

3 files changed

+54
-14
lines changed

3 files changed

+54
-14
lines changed

CHANGELOG.md

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# pylhc Changelog
2+
3+
## Version 0.1.0
4+
5+
- Added:
6+
- Job submitter script to easily generate and schedule jobs through HTCondor.
7+
- Autosix script to easily generate and submit parametric SixDesk studies through HTCondor.
8+
- Script to analyse forced dynamic aperture data.
9+
- Scripts for logging and analysis of LHC BSRT data.
10+
- Utility modules supporting functionality for the above scripts.
11+
12+
- Changed:
13+
- License moved to GNU GPLv3 to comply with the use of the `omc3` package.
14+
15+
- Miscellaneous:
16+
- Introduced extra dependencies tailored to different use cases of the package.
17+
- Reworked package organisation for consistency.
18+
- Set minimum requirements versions.
19+
- Moved CI/CD setup to Github Actions.
20+
- Improved testing and test coverage.
21+
22+
## Version 0.0.2
23+
24+
No changes somehow.
25+
26+
## Version 0.0.1
27+
28+
- Added:
29+
- Script to retrieve machine settings information.
30+
31+
- Removed:
32+
- All previous outdated files.

README.md

+21-13
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,17 @@ This package is a collection of useful scripts and tools for the Optics Measurem
1010

1111
## Documentation
1212

13-
- Autogenerated docs via ``sphinx`` can be found on <https://pylhc.github.io/PyLHC/>.
14-
- General documentation of the OMC-Teams software on <https://pylhc.github.io/>
13+
- Autogenerated docs via `Sphinx` can be found at <https://pylhc.github.io/PyLHC/>.
14+
- General documentation of the OMC-Team is located at <https://pylhc.github.io/>
1515

1616
## Getting Started
1717

18-
This package is `Python 3.7+` compatible, but not yet deployed to PyPI.
19-
The best way to install is through pip and VCS:
18+
This package is `Python 3.7+` compatible, and can be installed through `pip`:
19+
```bash
20+
pip install pylhc
21+
```
22+
23+
One can also install from VCS:
2024
```bash
2125
git clone https://github.com/pylhc/PyLHC
2226
pip install /path/to/PyLHC
@@ -27,29 +31,32 @@ Or simply from the online master branch, which is stable:
2731
pip install git+https://github.com/pylhc/PyLHC.git#egg=pylhc
2832
```
2933

30-
After installing, codes can be run with either `python -m pylhc.SCRIPT --FLAG ARGUMENT` or calling path to the `.py` file directly.
34+
After installing, scripts can be run with either `python -m pylhc.SCRIPT --FLAG ARGUMENT` or by calling the `.py` files directly.
3135

3236
Note: some of the scripts access functionality only available on the CERN Technical Network.
3337
To use those, you should make sure to install the relevant extra dependencies with `pip install path/to/Pylhc[tech]`.
3438

3539
## Description
3640

37-
This package provides tools which can be useful for working with accelerators, but are not neccessary for optics measurements analysis.
38-
The latter tools can be found in [omc3](https://github.com/pylhc/omc3) (Python 3.7+) or [Beta-Beat.src](https://github.com/pylhc/Beta-Beat.src) (Python 2.7)
41+
This package provides tools for particle accelerator data analysis, simulations management and machine information extraction; complementing the optics measurement analysis tools of the [omc3 package](https://github.com/pylhc/omc3).
3942

4043
## Functionality
4144

42-
- *HTCondor Job Submitter* - Allows to generate jobs based on a templates and submit them to HTCondor. ([**job_submitter.py**](pylhc/job_submitter.py))
43-
- *AutoSix* - Allows to generate and submit parametric SixDesk studies easily. ([**autosix.py**](pylhc/autosix.py))
44-
- *Forced DA Analysis* - Script to analyse forced DA. ([**forced_da_analysis.py**](pylhc/forced_da_analysis.py))
45-
- *Machine Settings Info* - Prints an overview over the machine settings at a given time. ([**machine_settings_info.py**](pylhc/machine_settings_info.py))
46-
- *BSRT Logger* and *BSRT Analysis* - Saves data coming straight from LHC BSRT FESA class and allows subsequent analysis. ([**bsrt_logger.py**](pylhc/bsrt_logger.py) & [**bsrt_analysis.py**](pylhc/bsrt_analysis.py) )
45+
- `HTCondor Job Submitter` - Allows to generate jobs based on a templates and submit them to HTCondor. ([**job_submitter.py**](pylhc/job_submitter.py))
46+
- `AutoSix` - Allows to generate and submit parametric SixDesk studies easily. ([**autosix.py**](pylhc/autosix.py))
47+
- `Forced DA Analysis` - Script to analyse forced DA. ([**forced_da_analysis.py**](pylhc/forced_da_analysis.py))
48+
- `Machine Settings Info` - Prints an overview over the machine settings at a given time. ([**machine_settings_info.py**](pylhc/machine_settings_info.py))
49+
- `BSRT Logger` and `BSRT Analysis` - Saves data coming straight from LHC BSRT FESA class and allows subsequent analysis. ([**bsrt_logger.py**](pylhc/bsrt_logger.py) & [**bsrt_analysis.py**](pylhc/bsrt_analysis.py) )
4750

4851
## Quality checks
4952

5053
- Unit and accuracy tests are run automatically through CI [Github Actions](https://github.com/pylhc/PyLHC/actions). See our workflows in this [readme](.github/workflows/README.md).
5154
- Additional checks for code-complexity, design-rules, test-coverage and duplication are made through [CodeClimate](https://codeclimate.com/github/pylhc/PyLHC).
52-
- Pull requests implementing functionality or fixes are merged into the master branch after passing CI, and a reviewer's approval.
55+
- Pull requests implementing functionality or fixes are merged into the master branch after passing CI, and getting a reviewer's approval.
56+
57+
### Changelog
58+
59+
See the [CHANGELOG](CHANGELOG.md) file.
5360

5461
### Hints for Developers
5562

@@ -74,4 +81,5 @@ Open an issue, make your changes in a branch and submit a pull request.
7481
* **pyLHC/OMC-Team** - *Working Group* - [pyLHC](https://github.com/orgs/pylhc/teams/omc-team)
7582

7683
## License
84+
7785
This project is licensed under the `GNU GPLv3` License - see the [LICENSE](LICENSE) file for details.

pylhc/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
__title__ = "pylhc"
1111
__description__ = "An accelerator physics script collection for the OMC team at CERN."
1212
__url__ = "https://github.com/pylhc/pylhc"
13-
__version__ = "0.0.3"
13+
__version__ = "0.1.0"
1414
__author__ = "pylhc"
1515
__author_email__ = "[email protected]"
1616
__license__ = "MIT"

0 commit comments

Comments
 (0)