Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated documentation for Release 1.0.0 #163

Open
wants to merge 31 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
a3c1dc6
Add placeholders for additional documentation
sosna Dec 12, 2024
612feaf
Fix reference issues
sosna Dec 12, 2024
e332185
Update documentation for ValueMap
sosna Dec 12, 2024
d60689f
Add classes to API documentation
sosna Dec 12, 2024
8190a3c
Reorganize docs
sosna Dec 12, 2024
e848a41
Add documentation for DataflowRef
sosna Dec 12, 2024
c822446
Add API documentation for SDMX-REST
sosna Dec 12, 2024
1965832
Change name
sosna Dec 12, 2024
821dcc4
Complete SDMX query builder documentation
sosna Dec 12, 2024
0c2defc
Update release note
sosna Dec 12, 2024
e2c7a48
Add documentation for VTL artefacts
sosna Dec 12, 2024
742eb62
Draft code for data reading and writing docs. Fixed relevant docstrin…
javihern98 Dec 14, 2024
222ea5a
Merge remote-tracking branch 'refs/remotes/origin/develop' into v1_0_…
javihern98 Dec 19, 2024
67d7f1b
Merge remote-tracking branch 'refs/remotes/origin/develop' into v1_0_…
javihern98 Dec 19, 2024
1b8535f
Linting changes.
javihern98 Dec 19, 2024
9c629b5
Added VTL example.
javihern98 Dec 19, 2024
535ca86
Updated VTL example.
javihern98 Dec 19, 2024
6b2c025
Updated release notes.
javihern98 Dec 20, 2024
b4a34aa
Updated copyright on conf.
javihern98 Jan 14, 2025
2403d81
Updated vtl docs with better wording.
javihern98 Jan 14, 2025
90e6d5b
Updated vtl docs with new io package functions.
javihern98 Jan 14, 2025
d857a04
Updated rw functions with new io functions.
javihern98 Jan 14, 2025
c59e7d2
Updated data_rw documentation.
javihern98 Jan 14, 2025
6fb0942
Merge branch 'develop' into v1_0_0_docs
javihern98 Jan 14, 2025
de1cf04
Updated data_rw reference.
javihern98 Jan 15, 2025
d7249a4
Merge remote-tracking branch 'origin/v1_0_0_docs' into v1_0_0_docs
javihern98 Jan 15, 2025
b17913e
Exclude _site folder generated by sphinx
sosna Jan 16, 2025
f486bf7
Add details about extras
sosna Jan 16, 2025
0258190
Update readme date
sosna Jan 17, 2025
9db6247
Update readme to include reading and writing data
sosna Jan 17, 2025
f1b9386
Merge branch 'develop' into v1_0_0_docs
sosna Jan 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api/fmr/async.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ SDMX service in an asynchronous (i.e. non-blocking fashion).
>>> print(mapping)
>>> asyncio.run(main())

.. autoclass:: pysdmx.fmr.AsyncRegistryClient
.. autoclass:: pysdmx.api.fmr.AsyncRegistryClient
:members:
2 changes: 1 addition & 1 deletion docs/api/fmr/sync.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ SDMX service in a synchronous (i.e. blocking fashion).
>>> gr = RegistryClient("https://registry.sdmx.org/sdmx/v2/")
>>> schema = gr.get_schema("dataflow", "UIS", "EDUCAT_CLASS_A", "1.0")

.. autoclass:: pysdmx.fmr.RegistryClient
.. autoclass:: pysdmx.api.fmr.RegistryClient
:members:
5 changes: 3 additions & 2 deletions docs/api/model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,11 @@ API Reference
.. toctree::
:maxdepth: 1

model/organisation
model/code
model/concept
model/dataflow
model/category
model/map
model/refmeta
model/refmeta
model/organisation
model/vtl
2 changes: 1 addition & 1 deletion docs/api/model/category.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ Category schemes
- :ref:`fs`.

.. automodule:: pysdmx.model.category
:members: Category, CategoryScheme
:members: Category, CategoryScheme, DataflowRef
2 changes: 1 addition & 1 deletion docs/api/model/code.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Codelists, hierarchies and value lists
======================================

.. automodule:: pysdmx.model.code
:members: Code, Codelist, HierarchicalCode, Hierarchy
:members: Code, Codelist, HierarchicalCode, Hierarchy, HierarchyAssociation
2 changes: 1 addition & 1 deletion docs/api/model/dataflow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ Dataflows and data structures
- :ref:`validate`.

.. automodule:: pysdmx.model.dataflow
:members: Component, Components, DataflowInfo, Role, Schema
:members: Component, Components, Dataflow, DataflowInfo, Role, Schema
2 changes: 1 addition & 1 deletion docs/api/model/map.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ Mapping definitions
- :ref:`map`.

.. automodule:: pysdmx.model.map
:members: StructureMap, ComponentMap, MultiComponentMap, ValueMap, MultiValueMap, ImplicitComponentMap, FixedValueMap, DatePatternMap
:members: StructureMap, ComponentMap, RepresentationMap, MultiComponentMap, MultiRepresentationMap, ValueMap, MultiValueMap, ImplicitComponentMap, FixedValueMap, DatePatternMap
2 changes: 1 addition & 1 deletion docs/api/model/organisation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Organisations
=============

.. automodule:: pysdmx.model.organisation
:members: Organisation, Contact, DataflowRef
:members: Agency, AgencyScheme, DataConsumer, DataConsumerScheme, DataProvider, DataProviderScheme, MetadataProvider, MetadataProviderScheme
12 changes: 12 additions & 0 deletions docs/api/model/vtl.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
VTL artefacts
=============

.. note::
Additional information about how VTL artefacts can be used for
validating and transforming SDMX data is available in the
following tutorial:

- :ref:`vtl`.

.. automodule:: pysdmx.model.vtl
:members: CustomType, CustomTypeScheme, FromVtlMapping, NamePersonalisation, NamePersonalisationScheme, Ruleset, RulesetScheme, ToVtlMapping, Transformation, TransformationScheme, UserDefinedOperator, UserDefinedOperatorScheme, VtlCodelistMapping, VtlConceptMapping, VtlDataflowMapping, VtlMapping, VtlMappingScheme
11 changes: 11 additions & 0 deletions docs/api/query/availability.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
SDMX-REST Availability Queries
==============================

.. note::
Additional information about how to build SDMX-REST queries
can be found in the following tutorial:

- :ref:`sdmx-rest`.

.. automodule:: pysdmx.api.qb.availability
:members: AvailabilityFormat, AvailabilityMode, AvailabilityQuery
11 changes: 11 additions & 0 deletions docs/api/query/data.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
SDMX-REST Data Queries
======================

.. note::
Additional information about how to build SDMX-REST queries
can be found in the following tutorial:

- :ref:`sdmx-rest`.

.. automodule:: pysdmx.api.qb.data
:members: DataContext, DataFormat, DataQuery
11 changes: 11 additions & 0 deletions docs/api/query/refmeta.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
SDMX-REST Reference Metadata Queries
====================================

.. note::
Additional information about how to build SDMX-REST queries
can be found in the following tutorial:

- :ref:`sdmx-rest`.

.. automodule:: pysdmx.api.qb.refmeta
:members: RefMetaByMetadataflowQuery, RefMetaByMetadatasetQuery, RefMetaByStructureQuery, RefMetaDetail, RefMetaFormat
11 changes: 11 additions & 0 deletions docs/api/query/schema.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
SDMX-REST Schema Queries
========================

.. note::
Additional information about how to build SDMX-REST queries
can be found in the following tutorial:

- :ref:`sdmx-rest`.

.. automodule:: pysdmx.api.qb.schema
:members: SchemaContext, SchemaFormat, SchemaQuery
11 changes: 11 additions & 0 deletions docs/api/query/service.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
SDMX-REST Service Clients
=========================

.. note::
Additional information about how to execute SDMX-REST queries
against a specific service can be found in the following tutorial:

- :ref:`sdmx-rest`.

.. automodule:: pysdmx.api.qb
:members: ApiVersion, RestService
11 changes: 11 additions & 0 deletions docs/api/query/structure.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
SDMX-REST Structure Queries
===========================

.. note::
Additional information about how to build SDMX-REST queries
can be found in the following tutorial:

- :ref:`sdmx-rest`.

.. automodule:: pysdmx.api.qb.structure
:members: StructureDetail, StructureFormat, StructureQuery, StructureReference, StructureType
28 changes: 28 additions & 0 deletions docs/api/rest.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
.. _qb_api:

SDMX-REST services
==================

Overview
--------

``pysdmx`` allows **building SDMX-REST queries** and **executing them**
against an SDMX-REST compliant service.

.. note::
Discover how to execute SDMX-REST queries in the following tutorial:

- :ref:`sdmx-rest`.

API Reference
-------------

.. toctree::
:maxdepth: 1

query/service
query/availability
query/data
query/refmeta
query/schema
query/structure
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
# -- Project information -----------------------------------------------------

project = "pysdmx"
copyright = "2023, BIS"
author = "BIS"
copyright = "2025, BIS"
author = "BIS, MeaningfulData"


# -- General configuration ---------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions docs/howto/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ Connecting to a Registry
^^^^^^^^^^^^^^^^^^^^^^^^

``pysdmx`` allows retrieving metadata from an SDMX Registry in either a
synchronous (via ``pymedal.fmr.RegistryClient``) or asynchronous fashion
(via ``pymedal.fmr.AsyncRegistryClient``). The choice depends on your use
synchronous (via ``pysdmx.api.fmr.RegistryClient``) or asynchronous fashion
(via ``pysdmx.api.fmr.AsyncRegistryClient``). The choice depends on your use
case. The asynchronous client is often preferred as it is non-blocking.

To connect to your target Registry, instantiate the client by passing the
Expand Down
Loading
Loading