Skip to content

Commit b08b21c

Browse files
committed
complete all naming changes for the new repo + package name
1 parent a22162c commit b08b21c

25 files changed

Lines changed: 2770 additions & 2768 deletions

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
SHELL := /bin/bash
22

3-
REPO := https://github.com/sr-murthy/fs-register-api-client
3+
REPO := https://github.com/sr-murthy/financial-services-register-api
44

5-
PACKAGE_NAME := fs-register-api-client
5+
PACKAGE_NAME := financial-services-register-api
66
BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
77
HEAD := $(shell git rev-parse --short=8 HEAD)
8-
PACKAGE_VERSION := $(shell grep __version__ src/fs_register_api_client/__version__.py | cut -d '=' -f 2 | xargs)
8+
PACKAGE_VERSION := $(shell grep __version__ src/financial_services_register_api/__version__.py | cut -d '=' -f 2 | xargs)
99

1010
PROJECT_ROOT := $(PWD)
1111

@@ -41,7 +41,7 @@ version_extract:
4141
# Dependency management
4242
update_deps:
4343
@echo "\n$(PACKAGE_NAME)[$(BRANCH)@$(HEAD)]: Update all development dependencies, including documentation and production dependencies\n"
44-
pdm update -v --dev --no-editable --no-self --update-all && pdm export -v -f requirements --dev -o docs/requirements.txt
44+
pdm self update && pdm update -v --dev --no-editable --no-self --update-all && pdm export -v -f requirements --dev -o docs/requirements.txt
4545

4646
# Linting
4747
lint: clean
@@ -52,7 +52,7 @@ lint: clean
5252
doctests: clean
5353
@echo "\n$(PACKAGE_NAME)[$(BRANCH)@$(HEAD)]: Running doctests in all core libraries\n"
5454
cd "$(PROJECT_ROOT)" && \
55-
python -m doctest -v src/fs_register_api_client/*.py
55+
python -m doctest -v src/financial_services_register_api/*.py
5656

5757
unittests: clean
5858
@echo "\n$(PACKAGE_NAME)[$(BRANCH)@$(HEAD)]: Running package unit tests + measuring coverage\n"

SECURITY.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,4 @@
22

33
## Dependencies & Security Updates
44

5-
Currently, the only external dependency is [`requests`](https://requests.readthedocs.io/en/latest/). Security / vulnerability alerts are addressed as they arise from [Dependabot alerts](https://github.com/sr-murthy/fsrapiclient/security/dependabot).
6-
7-
The project is enabled with a number of features to ensure security, including [CodeQL analysis](https://docs.github.com/en/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning-with-codeql),
8-
[Dependabot alerts](https://docs.github.com/en/code-security/dependabot/dependabot-alerts/about-dependabot-alerts) and [secrets scanning](https://docs.github.com/en/code-security/secret-scanning/about-secret-scanning).
9-
10-
## Reporting a Vulnerability
11-
12-
Any vulnerability that could potentially impact package installation, performance or results should be reported privately via email to the maintainer: [s.murthy@tutanota.com](s.murthy@tutanota.com).
5+
Security issues are addressed via [Dependabot alerts](https://github.com/sr-murthy/fsrapiclient/security/dependabot), and other project features including [CodeQL analysis](https://docs.github.com/en/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning-with-codeql) and [secrets scanning](https://docs.github.com/en/code-security/secret-scanning/about-secret-scanning).

docs/conf.py

Lines changed: 14 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@
2828
sys.path.insert(0, os.path.dirname(os.path.abspath('.')))
2929
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath('.')), 'src'))
3030

31-
import fs_register_api_client
32-
33-
from fs_register_api_client.__version__ import __version__
31+
import financial_services_register_api
32+
from financial_services_register_api.__version__ import __version__
3433

3534
# -- Project information -----------------------------------------------------
3635
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
@@ -41,10 +40,10 @@
4140
Lightweight Python client for the UK Financial Services Register RESTful API.
4241
"""
4342
github_url = 'https://github.com'
44-
github_repo = f'{github_url}/sr-murty/fs-register-api-client'
43+
github_repo = f'{github_url}/sr-murty/financial-services-register-api'
4544
github_version = 'main'
46-
pypi_project = 'https://pypi.org/project/fs-register-api-client/'
47-
project = fs_register_api_client.__name__
45+
pypi_project = 'https://pypi.org/project/financial-services-register-api/'
46+
project = financial_services_register_api.__name__
4847
release = __version__
4948

5049
# -- General configuration ---------------------------------------------------
@@ -70,8 +69,8 @@
7069
.. |project| replace:: **{project}**
7170
.. |project_description| replace:: {description}
7271
.. |release| replace:: **{release}**
73-
.. |github_release_target| replace:: https://github.com/sr-murthy/fs-register-api-client/releases/tag/{release}
74-
.. |pypi_release_target| replace:: https://pypi.org/project/fs-register-api-client/{release}
72+
.. |github_release_target| replace:: https://github.com/sr-murthy/financial-services-register-api/releases/tag/{release}
73+
.. |pypi_release_target| replace:: https://pypi.org/project/financial-services-register-api/{release}
7574
"""
7675

7776
# Publish author(s)
@@ -160,9 +159,9 @@
160159
pygments_style = 'sphinx'
161160

162161
# A list of prefixes that are ignored when creating the module index. (new in Sphinx 0.6)
163-
modindex_common_prefix = ["fs_register_api_client."]
162+
modindex_common_prefix = ["financial_services_register_api."]
164163

165-
doctest_global_setup = "import fs_register_api_client"
164+
doctest_global_setup = "import financial_services_register_api"
166165

167166
# If this is True, the ``todo`` and ``todolist`` extension directives
168167
# produce output, else they produce nothing. The default is ``False``.
@@ -178,56 +177,25 @@
178177
'display_github': True,
179178
'github_url': 'https://github.com',
180179
'github_user': 'sr-murthy',
181-
'github_repo': 'fs-register-api-client',
180+
'github_repo': 'financial-services-register-api',
182181
'github_version': 'main',
183182
'doc_path': 'docs',
184183
'conf_path': 'docs/conf.py',
185184
'project': project,
186185
'project_description': description,
187186
'release': release,
188-
'release_target': f'https://github.com/sr-murthy/fs-register-api-client/releases/tag/{release}'
187+
'release_target': f'https://github.com/sr-murthy/financial-services-register-api/releases/tag/{release}'
189188
}
190189

191190
# -- Options for HTML output -------------------------------------------------
192191
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
193192

194193
# General (non-theme) HTML output options
195-
html_baseurl = 'https://fs-register-api-client.readthedocs.io'
196-
197-
#html_sidebars = {
198-
# "sources/getting-started": [],
199-
# "sources/creating-continued-fractions": [],
200-
# "sources/exploring-continued-fractions": [],
201-
# "sources/sequences": [],
202-
# "sources/contributing": [],
203-
# #"sources/fs-register-api-client/*": ["sidebar-nav-bs"],
204-
#}
194+
html_baseurl = 'https://financial-services-register-api.readthedocs.io'
205195

206196
# HTML theme options
207197
html_theme = 'furo'
208-
html_theme_options = {
209-
#'collapse_navigation': True,
210-
#'footer_end': ['author'],
211-
#'footer_start': ['copyright', 'sphinx-version', 'theme-version'],
212-
#'icon_links': [
213-
# {
214-
# 'name': 'fs-register-api-client@GitHub',
215-
# 'url': f'https://github.com/sr-murthy/fs-register-api-client',
216-
# 'icon': 'fa-brands fa-github',
217-
# },
218-
#],
219-
#'navbar_persistent': ['search-button'],
220-
#'navbar_align': 'content',
221-
#'navbar_center': ['navbar-nav'],
222-
#'navbar_end': ['theme-switcher', 'navbar-icon-links'],
223-
#'navbar_start': ['navbar-logo'],
224-
#'navigation_depth': 4,
225-
#"primary_sidebar_end": ["indices", "sidebar-ethical-ads"],
226-
#'secondary_sidebar_items': ['page-toc', 'edit-this-page', 'sourcelink'],
227-
#'show_nav_level': 2,
228-
#'show_toc_level': 2,
229-
#'use_edit_page_button': False,
230-
}
198+
html_theme_options = {}
231199

232200
#html_logo = '_static/logo.png'
233201

@@ -254,4 +222,4 @@
254222
html_copy_source = True
255223

256224
# Output file base name for HTML help builder - use the project name
257-
htmlhelp_basename = 'fs-register-api-client'
225+
htmlhelp_basename = 'financial-services-register-api'

docs/index.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22

33
:google-site-verification: 3F2Jbz15v4TUv5j0vDJAA-mSyHmYIJq0okBoro3-WMY
44

5-
============
6-
fs-register-api-client
7-
============
5+
===============================
6+
financial-services-register-api
7+
===============================
88

9-
A lightweight Python client library for the UK `Financial Services Register <https://register.fca.org.uk/s/>`_ `RESTful API <https://register.fca.org.uk/Developer/s/>`_.
9+
A Python client library for the UK `Financial Services Register <https://register.fca.org.uk/s/>`_ `RESTful API <https://register.fca.org.uk/Developer/s/>`_.
1010

11-
The `PyPI package <https://pypi.org/project/fs-register-api-client>`_ is currently at version `0.5.1`.
11+
The `PyPI package <https://pypi.org/project/financial-services-register-api>`_ is currently at version `1.0.0`.
1212

13-
The Financial Services Register, or FS Register, is a **public** database of all firms, individuals, funds, and other entities, that are either currently, or have been previously, authorised and/or regulated by the UK `Financial Conduct Authority (FCA) <https://www.fca.org.uk>`_ and/or the `Prudential Regulation Authority (PRA) <http://bankofengland.co.uk/pra>`_.
13+
The Financial Services Register (alternatively, FS Register), is a **public** database of all firms, individuals, funds, and other entities, that are either currently, or have been previously, authorised and/or regulated by the UK `Financial Conduct Authority (FCA) <https://www.fca.org.uk>`_ and/or the `Prudential Regulation Authority (PRA) <http://bankofengland.co.uk/pra>`_.
1414

1515
.. note::
1616

17-
The FS Register API is free to use but accessing it, including via this library, requires
17+
The API is free to use but accessing it, including via this library, requires
1818
`registration <https://register.fca.org.uk/Developer/ShAPI_LoginPage?ec=302&startURL=%2FDeveloper%2Fs%2F#>`_. Registration involves a free sign up with an email, which is used as the API username in requests, and basic personal information. Once registered an API key is available from your registration profile.
1919

20-
To learn more about the FS Register API structure please consult the `official documentation <https://register.fca.org.uk/Developer/s/>`_, or start :doc:`here <sources/fs-register-api>`.
20+
To learn more about the API please consult the `official documentation <https://register.fca.org.uk/Developer/s/>`_, or start :doc:`here <sources/financial-services-register-api>`.
2121

2222
To get started with this package you can start :doc:`here <sources/getting-started>`.
2323

@@ -27,7 +27,7 @@ If you're interested in contributing please consult the :doc:`contributing guide
2727
:maxdepth: 1
2828
:caption: Contents:
2929

30-
sources/fs-register-api
30+
sources/financial-services-register-api
3131
sources/getting-started
3232
sources/usage
3333
sources/contributing

0 commit comments

Comments
 (0)