No project description provided
Project description
arches-he-sysref-funcs
A small Arches extension app providing additional system reference functions for Arches-based projects. Designed for easy integration with Arches projects (Historic England context).
Requirements
- Python 3.10+ (Check the Arches python requirements and match your Python version))
- Arches ==7.6.22
Some elements of this app are designed to work with Historic England's specific data model and may not be suitable for other projects without modification.
Installing for Development
For development purposes, you can treat this app as a standard Arches project. Either use the instructions for developing an Arches project or use the arches-containers configuration included in this repository.
-
For development (standard):
pip install -e '/path/to/arches_he_sysref_funcs[dev]'
This installs the app in editable mode, allowing you to make changes and see them reflected immediately without needing to reinstall.
-
For development using included arches-container configuration:
Please ensure that you clone the arches-he-sysref-funcs repository into a directory that uses underscores instead of hyphens, as the arches-containers configuration expects this format. For example, clone it to
arches_he_sysref_funcs.git clone https://github.com/HistoricEngland/arches-he-sysref-funcs.git arches_he_sysref_funcs
This repository includes an
arches-containersproject configuration, so you can import, activate, and start the system as follows:-
Ensure Docker is installed and running.
-
Navigate to your workspace directory (the root where your projects and containers live).
-
Import the arches-container project configuration:
act import -p arches_he_sysref_funcs
-
Activate the project:
act activate -p arches_he_sysref_funcs
-
Start the system:
act up -
Once setup and webpack builds are complete, open a browser and navigate to
http://localhost:8002or useact viewin a termainal to open the project in your default browser.
For more details, see the arches-containers documentation.
-
Using This App in Your Arches Project
Follow these steps to add arches-he-sysref-funcs to your Arches project:
1. Add to your_project/pyproject.toml
Add the following to your pyproject.toml dependencies (in the [project] section):
arches-he-sysref-funcs @ git+https://github.com/HistoricEngland/arches-he-sysref-funcs.git@release/1.0.0
Example:
dependencies = [
"arches==7.6.22",
"arches-he-sysref-funcs @ git+https://github.com/HistoricEngland/arches-he-sysref-funcs.git@release/1.0.1",
]
2. Update your_project/your_project/settings.py
Add the following to the appropriate locations:
DATATYPE_LOCATIONS.append("arches_he_sysref_funcs.datatypes")
FUNCTION_LOCATIONS.append("arches_he_sysref_funcs.functions")
SEARCH_COMPONENT_LOCATIONS.append("arches_he_sysref_funcs.search.components")
Add to INSTALLED_APPS and ARCHES_APPLICATIONS:
INSTALLED_APPS = (
...
"your_project",
"arches_he_sysref_funcs",
)
ARCHES_APPLICATIONS = ("arches_he_sysref_funcs",)
3. Update your_project/your_project/urls.py
Include the app's URLs (add project URLs before this):
urlpatterns = [
# ... your project urls ...
path("", include("arches_he_sysref_funcs.urls")),
]
4. Run Database Migrations
Run the following command to apply any database migrations required by this app:
if using the arches-containers, run this in the application container
python manage.py migrate
5. Install and Build Front-End Dependencies
From the directory containing your your_project/package.json:
if using arches-containers, run this in the application container or restart the webpack
npm install
npm run build_development
6. Start Your Arches Project
python manage.py runserver
License
This project is licensed under the GNU AGPLv3. See the LICENSE file for details.
For more information on deploying your Arches project, see the Arches Deployment Guide.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arches_he_sysref_funcs-1.0.1rc1.tar.gz.
File metadata
- Download URL: arches_he_sysref_funcs-1.0.1rc1.tar.gz
- Upload date:
- Size: 128.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6d024c6cf90c0b8dec01dbebcfe4cd07774122fcdb14af8fce77899cbf962e7
|
|
| MD5 |
f5da1e1bb836ff9c6226be7c191e16ac
|
|
| BLAKE2b-256 |
a9d24c8c8cb56b61b03f17f6953f4ca97a3dfe9ae0c3a48ccce56b8209e055fa
|
Provenance
The following attestation bundles were made for arches_he_sysref_funcs-1.0.1rc1.tar.gz:
Publisher:
publish-to-pypi.yml on HistoricEngland/arches-he-sysref-funcs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
arches_he_sysref_funcs-1.0.1rc1.tar.gz -
Subject digest:
b6d024c6cf90c0b8dec01dbebcfe4cd07774122fcdb14af8fce77899cbf962e7 - Sigstore transparency entry: 2009940209
- Sigstore integration time:
-
Permalink:
HistoricEngland/arches-he-sysref-funcs@357940e5de399da4621926296c989edba402a9b1 -
Branch / Tag:
refs/tags/1.0.1rc1 - Owner: https://github.com/HistoricEngland
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@357940e5de399da4621926296c989edba402a9b1 -
Trigger Event:
release
-
Statement type:
File details
Details for the file arches_he_sysref_funcs-1.0.1rc1-py3-none-any.whl.
File metadata
- Download URL: arches_he_sysref_funcs-1.0.1rc1-py3-none-any.whl
- Upload date:
- Size: 51.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
695de8bf7305131df75a64b6b7ee1a072313df2776ae84c97b9eec3b0a791d99
|
|
| MD5 |
504115f7f346d2adbd20f03749b0a1e4
|
|
| BLAKE2b-256 |
13e9eb4cae06a8d3bf21e586af3ddbe9d5bd3c9530a21342b27bb6345d6f8079
|
Provenance
The following attestation bundles were made for arches_he_sysref_funcs-1.0.1rc1-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on HistoricEngland/arches-he-sysref-funcs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
arches_he_sysref_funcs-1.0.1rc1-py3-none-any.whl -
Subject digest:
695de8bf7305131df75a64b6b7ee1a072313df2776ae84c97b9eec3b0a791d99 - Sigstore transparency entry: 2009940326
- Sigstore integration time:
-
Permalink:
HistoricEngland/arches-he-sysref-funcs@357940e5de399da4621926296c989edba402a9b1 -
Branch / Tag:
refs/tags/1.0.1rc1 - Owner: https://github.com/HistoricEngland
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@357940e5de399da4621926296c989edba402a9b1 -
Trigger Event:
release
-
Statement type: