semvec/pypi-packages huggingface dataset:
ska-ssc-low-comm-tools 1.2.0
SKA-Low Commissioning Tools
Requires Python: >=3.11

# SKA-Low Commissioning Tools

A python module and scripts of SKA-Low commissing tasks with visibilities.

<!-- [![Actions Status][actions-badge]][actions-link]
[![Documentation Status][rtd-badge]][rtd-link]

[![PyPI version][pypi-version]][pypi-link]
[![Conda-Forge][conda-badge]][conda-link]
[![PyPI platforms][pypi-platforms]][pypi-link]

[![GitHub Discussion][github-discussions-badge]][github-discussions-link] -->

<!-- SPHINX-START -->

<!-- prettier-ignore-start -->
<!-- [actions-badge]:            https://gitlab.com/ska-telescope/ssc/ska-ssc-low-comm-tools/workflows/CI/badge.svg
[actions-link]:             https://gitlab.com/ska-telescope/ssc/ska-ssc-low-comm-tools/actions
[conda-badge]:              https://img.shields.io/conda/vn/conda-forge/SKA-Low Commissioning Tools
[conda-link]:               https://github.com/conda-forge/SKA-Low Commissioning Tools-feedstock
[github-discussions-badge]: https://img.shields.io/static/v1?label=Discussions&message=Ask&color=blue&logo=github
[github-discussions-link]:  ttps://gitlab.com/ska-telescope/ssc/ska-ssc-low-comm-tools//discussions
[pypi-link]:                https://pypi.org/project/SKA-Low Commissioning Tools/
[pypi-platforms]:           https://img.shields.io/pypi/pyversions/SKA-Low Commissioning Tools
[pypi-version]:             https://img.shields.io/pypi/v/SKA-Low Commissioning Tools
[rtd-badge]:                https://readthedocs.org/projects/SKA-Low Commissioning Tools/badge/?version=latest
[rtd-link]:                 https://SKA-Low Commissioning Tools.readthedocs.io/en/latest/?badge=latest -->

<!-- prettier-ignore-end -->

## Installation

These tools require the following utilities to be installed and available on the
user's `PATH`:

- Monolithic [CASA 6](https://casa.nrao.edu/casa_obtaining.shtml). Note that,
  unfortunately, modular CASA conflicts with `python-casacore` and cannot be
  installed in the same Python environment.
- [AOFlagger](https://aoflagger.readthedocs.io/en/latest/)
- [AOCalibrate](https://github.com/flint-crew/calibrate)

To install the tools themselves, just use `pip`:

```bash
pip install git+https://gitlab.com/ska-telescope/ssc/ska-ssc-low-comm-tools.git
```

## Development

Clone and install. Optional groups are `dev` and `docs` - install as required.

```bash
git clone https://gitlab.com/ska-telescope/ssc/ska-ssc-low-comm-tools.git
cd ska-low-commissioning-tools
pip install -e .[dev]
```

Optionally install `pre-commit`

```bash
cd ska-low-commissioning-tools
pre-commit install
pre-commit run --all-files
```

Test with `pytest`

```bash
cd ska-low-commissioning-tools
pytest --cov low_comm_tools
```
bpcode 0.5.1
auto backup your code
Requires Python: >=3.6

## bpcode 工具使用说明

1. 服务端配置（必须先配置）

   - 在服务器用户目录下新建

      

     ```
     .env
     ```

      

     文件，内容示例：

     ```
         BPCODE=你的密码
         BPATH=你的代码备份路径
                         
     ```

     **BPCODE**：设置密码，只是为了防止误上传到他人服务器，现在反正也没什么人用，以后再说叭
     **BPATH**：必填，指定代码备份存储路径。

   - 安装 bpcode 并启动服务端：

     ```
     pip install bpcode
     ```

     ```
     bpserver
     ```

     ```
     ufw allow 8888(ubuntu)总之自己开防火墙端口就行
     ```

2. 客户端使用

   - 在你的代码中添加如下内容（以 Python 为例）：

     ```
                     from bpcode import backup
           a = backup.AutoBackUp("你的密码", "http://服务器IP",allfile=False)#如果是True，会上传所有文件而不只是py相关
                             
     ```

   - ```
     如何下载？
               安装完成后在终端输入 
     bpdown --name 项目名称 --version 版本 --password 密码 --host 服务器IP                      
     ```

   - ```
     0.4.0 以后新增nas，可以在树莓派，玩客云等设备上使用，备份服务器代码
            只需要在树莓派输入
            bpnas
     即可自动备份，打开http://服务器IP:8888/登录即可查看nas状态
     在启动前，要在用户目录创建.env
     BPCODE=你的密码
     BPATH=备份路径
     BPHOST=服务器ip
     ```
     
   - 支持自动备份 `.py`、`.pyc`、`.pt`、`.pth` 等文件，修改后服务器自动同步版本。

   - 如有需要，可回退代码版本，类似于简易版的 git。

3. 工具作用

   - 解决深度学习开发中代码频繁拷贝、同步不及时、易丢失的问题。
   - 只需配置一次服务器，后续代码自动备份，无需手动操作。

4. 注意事项

   - 本工具安全性有限，不建议用于敏感项目。
   - 接单，商务合作请联系微信：15035624220
csspin-java 2.1.0
Plugin-package for csspin providing Java related plugins
Requires Python: >=3.9

|Latest Version| |Python| |License|

`csspin-java` is maintained and published by `CONTACT Software GmbH`_ and
serves plugins for building and developing CONTACT Elements-based applications
using the `csspin`_ task runner.

The following plugins are available:

- `csspin_java.java`: A plugin for installing Java
- `csspin_java.mvn`: A plugin for installing Apache Maven

Prerequisites
-------------

`csspin` is available on PyPI and can be installed using pip, pipx or any other
Python package manager, e.g.:

.. code-block:: console

   python -m pip install csspin

Using csspin-java
-----------------

The `csspin-java` package and its plugins can be installed by defining those
within the `spinfile.yaml` configuration file of your project.

.. code-block:: yaml

    spin:
      project_name: my_project

    # To develop plugins comfortably, install the packages editable as
    # follows and add the relevant plugins to the list 'plugins' below
    plugin_packages:
      - csspin-java

    # The list of plugins to be used for this project.
    plugins:
      - csspin_java.java


.. NOTE:: Assuming that `my_project` is a component based on CONTACT Elements CE16+.

.. _`CONTACT Software GmbH`: https://contact-software.com
.. |Python| image:: https://img.shields.io/pypi/pyversions/csspin-java.svg?style=flat
    :target: https://pypi.python.org/pypi/csspin-java/
    :alt: Supported Python Versions
.. |Latest Version| image:: http://img.shields.io/pypi/v/csspin-java.svg?style=flat
    :target: https://pypi.python.org/pypi/csspin-java/
    :alt: Latest Package Version
.. |License| image:: http://img.shields.io/pypi/l/csspin-java.svg?style=flat
    :target: https://www.apache.org/licenses/LICENSE-2.0.txt
    :alt: License
.. _`csspin`: https://pypi.org/project/csspin