ibridges-servers-uu 0.1.0__tar.gz → 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (16) hide show
  1. {ibridges_servers_uu-0.1.0 → ibridges_servers_uu-0.2.0}/.github/workflows/python-package.yml +1 -1
  2. {ibridges_servers_uu-0.1.0/ibridges_servers_uu.egg-info → ibridges_servers_uu-0.2.0}/PKG-INFO +3 -3
  3. {ibridges_servers_uu-0.1.0 → ibridges_servers_uu-0.2.0}/README.md +1 -1
  4. {ibridges_servers_uu-0.1.0 → ibridges_servers_uu-0.2.0/ibridges_servers_uu.egg-info}/PKG-INFO +3 -3
  5. {ibridges_servers_uu-0.1.0 → ibridges_servers_uu-0.2.0}/ibridgescontrib/uutemplate/templates.py +6 -4
  6. {ibridges_servers_uu-0.1.0 → ibridges_servers_uu-0.2.0}/pyproject.toml +1 -0
  7. {ibridges_servers_uu-0.1.0 → ibridges_servers_uu-0.2.0}/.github/workflows/python-publish.yml +0 -0
  8. {ibridges_servers_uu-0.1.0 → ibridges_servers_uu-0.2.0}/.gitignore +0 -0
  9. {ibridges_servers_uu-0.1.0 → ibridges_servers_uu-0.2.0}/LICENSE +0 -0
  10. {ibridges_servers_uu-0.1.0 → ibridges_servers_uu-0.2.0}/ibridges_servers_uu.egg-info/SOURCES.txt +0 -0
  11. {ibridges_servers_uu-0.1.0 → ibridges_servers_uu-0.2.0}/ibridges_servers_uu.egg-info/dependency_links.txt +0 -0
  12. {ibridges_servers_uu-0.1.0 → ibridges_servers_uu-0.2.0}/ibridges_servers_uu.egg-info/entry_points.txt +0 -0
  13. {ibridges_servers_uu-0.1.0 → ibridges_servers_uu-0.2.0}/ibridges_servers_uu.egg-info/requires.txt +0 -0
  14. {ibridges_servers_uu-0.1.0 → ibridges_servers_uu-0.2.0}/ibridges_servers_uu.egg-info/top_level.txt +0 -0
  15. {ibridges_servers_uu-0.1.0 → ibridges_servers_uu-0.2.0}/ibridgescontrib/uutemplate/__init__.py +0 -0
  16. {ibridges_servers_uu-0.1.0 → ibridges_servers_uu-0.2.0}/setup.cfg +0 -0
@@ -54,7 +54,7 @@ jobs:
54
54
  - name: Check if templates are listed
55
55
  run: |
56
56
  ibridges setup --list
57
- test $(ibridges setup --list | wc -l) -eq 11
57
+ test $(ibridges setup --list | wc -l) -eq 12
58
58
  # Uncomment the actions below depending on the linters and tests you want to do
59
59
  # - name: Lint with flake8pip
60
60
  # run: |
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: ibridges-servers-uu
3
- Version: 0.1.0
3
+ Version: 0.2.0
4
4
  Summary: iRODS environments for connecting to Utrecht University YoDa servers
5
5
  Author-email: Raoul Schram <r.d.schram@uu.nl>
6
6
  License: MIT
@@ -27,7 +27,7 @@ This repository can be used to create an iRODS environment json that is needed t
27
27
  Type the following on the command line (in your virtual environment if you use one):
28
28
 
29
29
  ```sh
30
- pip install git+https://github.com/UtrechtUniversity/ibridges-servers-uu.git
30
+ pip install ibridges-servers-uu
31
31
  ```
32
32
 
33
33
  ## Step 2: Find the right server
@@ -7,7 +7,7 @@ This repository can be used to create an iRODS environment json that is needed t
7
7
  Type the following on the command line (in your virtual environment if you use one):
8
8
 
9
9
  ```sh
10
- pip install git+https://github.com/UtrechtUniversity/ibridges-servers-uu.git
10
+ pip install ibridges-servers-uu
11
11
  ```
12
12
 
13
13
  ## Step 2: Find the right server
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: ibridges-servers-uu
3
- Version: 0.1.0
3
+ Version: 0.2.0
4
4
  Summary: iRODS environments for connecting to Utrecht University YoDa servers
5
5
  Author-email: Raoul Schram <r.d.schram@uu.nl>
6
6
  License: MIT
@@ -27,7 +27,7 @@ This repository can be used to create an iRODS environment json that is needed t
27
27
  Type the following on the command line (in your virtual environment if you use one):
28
28
 
29
29
  ```sh
30
- pip install git+https://github.com/UtrechtUniversity/ibridges-servers-uu.git
30
+ pip install ibridges-servers-uu
31
31
  ```
32
32
 
33
33
  ## Step 2: Find the right server
@@ -10,12 +10,13 @@ _SERVERS_TO_ZONE = {
10
10
  "uu-dgk": "nluu9ot",
11
11
  "uu-science": "nluu6p",
12
12
  "uu-fsw": "nluu10p",
13
- "uu-its": "nluu12p"
13
+ "uu-its": "nluu12p",
14
+ "uu-surf": "uu",
14
15
  }
15
16
 
16
17
 
17
18
  _BASE_TEMPLATE = """{
18
- "irods_host": "${host}.data.uu.nl",
19
+ "irods_host": "${host}.uu.nl",
19
20
  "irods_port": 1247,
20
21
  "irods_home": "/${zone}/home",
21
22
  "irods_user_name": "${email_address}",
@@ -44,7 +45,8 @@ class IBridgesUUTemplates:
44
45
  "uu-dgk": "Veterinary Medicine, Medicine",
45
46
  "uu-science": "Science",
46
47
  "uu-fsw": "Social and Behavioral Sciences",
47
- "uu-its": "University Corporate Offices"
48
+ "uu-its": "University Corporate Offices",
49
+ "uu-surf": "Yoda instance hosted at SURF"
48
50
  }
49
51
 
50
52
  @staticmethod
@@ -60,7 +62,7 @@ class IBridgesUUTemplates:
60
62
  @staticmethod
61
63
  def environment_json(template_name: str, email_address: str) -> str:
62
64
  """Create a valid environment.json with the given inputs."""
63
- host = template_name[3:]
65
+ host = template_name[3:]+".data" if template_name != "uu-surf" else "data.yoda"
64
66
  zone = _SERVERS_TO_ZONE[template_name]
65
67
  template = Template(_BASE_TEMPLATE)
66
68
  resc = "irodsResc2" if template_name in ["uu-dgk", "uu-youth"] else "irodsResc"
@@ -37,6 +37,7 @@ packages = ["ibridgescontrib"]
37
37
  write_to = "ibridgescontrib/uutemplate/_version.py"
38
38
 
39
39
  [tool.ruff]
40
+ exclude = ["_version.py"]
40
41
  line-length = 100
41
42
  target-version = "py311"
42
43