com.factset.protobuf:stachextensions
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.7%) to scientific vocabulary
Repository
Basic Info
Statistics
- Stars: 1
- Watchers: 4
- Forks: 3
- Open Issues: 1
- Releases: 10
Metadata Files
README.md
stach-extensions
This repository contains extension libraries in different languages for parsing the stach format to more simpler to consume formats or data structures.
As of now the languages supported are Java, Python, .Net and R. The source code for the supported languages is organized in the respective language folders in the root directory
Installation
python
pip install fds.protobuf.stach.extensions
java
Add the below dependency to the project
xml
<dependency>
<groupId>com.factset.protobuf</groupId>
<artifactId>stachextensions</artifactId>
<version>ARTIFACT_VERSION</version>
</dependency>
dotnet
- Install with Package Manager Console:
sh
Install-Package FactSet.Protobuf.Stach.Extensions
- Install with NuGet:
sh
nuget install FactSet.Protobuf.Stach.Extensions
- Install with .NET Core:
sh
dotnet add package FactSet.Protobuf.Stach.Extensions
R
install.packages('factset.protobuf.stach.v2')
install.packages('factset.protobuf.stachextensions')
Usage
There are methods for converting the stach format to the tabular formats in the respective stach extensions classes as shown below and also refer to the tests folder inside each language for detailed usage
python
``` python
Stach v2 Row Organized format
stachBuilder = StachExtensionFactory.getroworganizedbuilder(StachVersion.V2) stachBuilder.setpackage(data) # data is the stach input in string or object format
rowOrganizedPackage = stachBuilder.get_package()
stachExtension = stachBuilder.build() dataFramesList = stachExtension.converttodataframe()
Stach v2 Column Organized format
stachBuilder = StachExtensionFactory.getcolumnorganizedbuilder(StachVersion.V2) stachBuilder.setpackage(data) # data is the stach input in string or object format
package = stachBuilder.get_package() # Package from fds.protobuf.stach.v2
stachExtension = stachBuilder.build() dataFramesList = stachExtension.converttodataframe()
Stach v1 Column Organized format
stachBuilder = StachExtensionFactory.getcolumnorganizedbuilder(StachVersion.V1) stachBuilder.setpackage(data) # data is the stach input in string or object format
package = stachBuilder.get_package() # Package from fds.protobuf.stach
stachExtension = stachBuilder.build() dataFramesList = stachExtension.converttodataframe()
```
java
``` java
// Stach v2 Row Organized format
RowStachExtensionBuilder stachExtensionBuilder = StachExtensionFactory.getRowOrganizedBuilder(StachVersion.V2);
stachExtensionBuilder.setPackage(data); // data is the stach input in string or object format
// RowOrganizedPackage rowOrganizedPackage = stachExtensionBuilder.getPackage();
StachExtensions stachExtension = stachExtensionBuilder.build();
List
// Stach v2 Column Organized format
ColumnStachExtensionBuilder stachExtensionBuilder = StachExtensionFactory.getColumnOrganizedBuilder(StachVersion.V2);
stachExtensionBuilder.setPackage(data); // data is the stach input in string or object format
// com.factset.protobuf.stach.v2.PackageProto.Package pkg = (com.factset.protobuf.stach.v2.PackageProto.Package) stachExtensionBuilder.getPackage();
StachExtensions stachExtension = stachExtensionBuilder.build();
List
// Stach v1 Column Organized format
ColumnStachExtensionBuilder stachExtensionBuilder = StachExtensionFactory.getColumnOrganizedBuilder(StachVersion.V1);
stachExtensionBuilder.setPackage(data); // data is the stach input in string or object format
// com.factset.protobuf.stach.PackageProto.Package pkg = (com.factset.protobuf.stach.PackageProto.Package) stachExtensionBuilder.getPackage();
StachExtensions stachExtension = stachExtensionBuilder.build();
List
```
dotnet
``` c#
// Stach v2 Row Organized format var rowStachBuilder = StachExtensionFactory.GetRowOrganizedBuilder(); rowStachBuilder.SetPackage(data); // data is the stach input in string or object format // var rowOrganizedPackage = rowStachBuilder.GetPackage(); var stachExtension = rowStachBuilder.Build(); var table = stachExtension.ConvertToTable();
// Stach v2 Column Organized format
var columnStachBuilder = StachExtensionFactory.GetColumnOrganizedBuilder
// Stach v1 Column Organized format
var columnStachBuilder = StachExtensionFactory.GetColumnOrganizedBuilder
```
R
``` R
Column Organized Stach
package <- read(factset.protobuf.stach.v2.Package,input='local path of your stach extension file') stachExtensioncol <- factset.protobuf.stachextensions::V2ColumnOrganizedStachExtension$new()
To get the Column Organized stach data in tabular format with merging the headers
columnOrganizedData <- stachExtensioncol$ConvertToDataFrame(package)
To get the Column Organized stach data in tabular format without merging the headers
columnOrganizedData <- stachExtensioncol$ConvertToDataFrame(package,FALSE)
To get the Column Organized meta data
columnOrganizedMetadata <- stachExtensioncol$GetMetadata(package)
Row Organized Stach
package <- read(factset.protobuf.stach.v2.RowOrganizedPackage,input='local path of your stach extension file') stachExtensionrow <- factset.protobuf.stachextensions::V2RowOrganizedStachExtension$new()
To get the Row Organized stach data in tabular format with merging the headers
rowOrganizedData <- stachExtensionrow$ConvertToDataFrame(package)
To get the Row Organized stach data in tabular format without merging the headers
rowOrganizedData <- stachExtensionrow$ConvertToDataFrame(package,FALSE)
To get the Row Organized meta data
rowOrganizedMetadata <- stachExtensionrow$GetMetadata(package)
```
Contributing
Please refer to the CONTRIBUTING file
Copyright
Copyright 2021 FactSet Research Systems Inc
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Owner
- Name: FactSet Research Systems Inc.
- Login: factset
- Kind: organization
- Email: opensource@factset.com
- Location: Norwalk, CT
- Website: https://www.factset.com
- Repositories: 39
- Profile: https://github.com/factset
See the advantage.
GitHub Events
Total
- Release event: 3
- Delete event: 2
- Member event: 1
- Push event: 11
- Pull request review comment event: 2
- Pull request review event: 7
- Pull request event: 5
- Create event: 5
Last Year
- Release event: 3
- Delete event: 2
- Member event: 1
- Push event: 11
- Pull request review comment event: 2
- Pull request review event: 7
- Pull request event: 5
- Create event: 5
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Veda Bhaskara Ramanth Addala | v****a@f****m | 24 |
| vamshimupparaju | 8****u | 8 |
| Sai Giridhar P | s****1@g****m | 6 |
| Justin Chen | 1****1 | 6 |
| Christine Koulopoulos | 8****l | 5 |
| Akanksha | a****1@g****m | 2 |
| abhinavneel | 1****l | 2 |
| JackStachura | 3****a | 1 |
| Abhishek Ghag | 5****g | 1 |
| Vivek Srivatsav Jandhyala | 5****s | 1 |
| Hank Lin | 5****J | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 0
- Total pull requests: 50
- Average time to close issues: N/A
- Average time to close pull requests: 21 days
- Total issue authors: 0
- Total pull request authors: 11
- Average comments per issue: 0
- Average comments per pull request: 0.24
- Merged pull requests: 47
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 3
- Average time to close issues: N/A
- Average time to close pull requests: 4 days
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- Ramanth (11)
- supriyamiriyala (8)
- vamshimupparaju (8)
- saigiridhar21 (7)
- justinchen0001 (6)
- christine-koul (5)
- Vivekjvs (3)
- AkankshaAcharya (2)
- abhinavneel (2)
- a-ghag (1)
- JackStachura (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 4
-
Total downloads:
- nuget 16,540 total
- cran 253 last-month
- pypi 256,609 last-month
-
Total dependent packages: 9
(may contain duplicates) -
Total dependent repositories: 4
(may contain duplicates) - Total versions: 25
- Total maintainers: 4
nuget.org: factset.protobuf.stach.extensions
Package for parsing STACH data into simpler and easy to consume data structures
- Homepage: https://github.com/factset/stach-extensions
- License: Apache-2.0
-
Latest release: 1.3.0
published almost 4 years ago
Rankings
Maintainers (2)
pypi.org: fds.protobuf.stach.extensions
FactSet stach extensions
- Homepage: https://github.com/factset/stach-extensions
- Documentation: https://fds.protobuf.stach.extensions.readthedocs.io/
- License: Apache License 2.0
-
Latest release: 1.3.1
published over 2 years ago
Rankings
Maintainers (1)
repo1.maven.org: com.factset.protobuf:stachextensions
Extension for parsing factset stach format to simpler data format
- Homepage: https://github.com/factset/stach-extensions
- Documentation: https://appdoc.app/artifact/com.factset.protobuf/stachextensions/
- License: The Apache Software License, Version 2.0
-
Latest release: 1.6.0
published over 1 year ago
Rankings
cran.r-project.org: factset.protobuf.stachextensions
'FactSet' 'STACH' Extensions Package
- Homepage: https://github.com/factset/stach-extensions
- Documentation: http://cran.r-project.org/web/packages/factset.protobuf.stachextensions/factset.protobuf.stachextensions.pdf
- License: Apache License 2.0
-
Latest release: 1.0.4
published over 2 years ago
Rankings
Maintainers (1)
Dependencies
- R6 * imports
- jsonlite * imports
- stringr * imports
- factset.protobuf.stach.v2 * suggests
- testthat * suggests
- com.factset.protobuf:stach 1.1.0
- com.factset.protobuf:stach.v2 1.0.0
- com.fasterxml.jackson.core:jackson-core 2.10.5
- com.fasterxml.jackson.core:jackson-databind 2.10.5.1
- com.google.protobuf:protobuf-java 3.12.2
- com.google.protobuf:protobuf-java-util 3.12.2
- org.apache.poi:poi-ooxml 4.0.1
- org.testng:testng 7.4.0 test
- FactSet.Protobuf.Stach 1.0.1
- FactSet.Protobuf.Stach.V2 1.0.0
- Newtonsoft.Json 12.0.2
- MSTest.TestAdapter 2.1.2
- MSTest.TestFramework 2.1.2
- Microsoft.NET.Test.Sdk 16.2.0
- coverlet.collector 1.0.1
- astroid ==2.7.3
- colorama ==0.4.4
- fds.protobuf.stach ==1.0.0
- fds.protobuf.stach.v2 ==1.0.2
- isort ==5.9.3
- lazy-object-proxy ==1.6.0
- mccabe ==0.6.1
- numpy ==1.21.2
- pandas ==1.3.2
- platformdirs ==2.3.0
- protobuf ==3.17.3
- pylint ==2.10.2
- python-dateutil ==2.8.2
- pytz ==2021.1
- six ==1.16.0
- toml ==0.10.2
- wrapt ==1.12.1
- actions/checkout v2 composite
- actions/setup-java v1 composite
- actions/checkout v2 composite
- actions/setup-dotnet v1 composite
- actions/setup-java v1 composite
- actions/setup-python v2 composite
- nuget/setup-nuget v1 composite