Skip to content

Commit

Permalink
v2_0_27B02
Browse files Browse the repository at this point in the history
  • Loading branch information
NamSor SAS committed Jul 16, 2023
1 parent 69978fb commit eaab7de
Show file tree
Hide file tree
Showing 12 changed files with 2,238 additions and 1,113 deletions.
544 changes: 349 additions & 195 deletions README.md

Large diffs are not rendered by default.

16 changes: 11 additions & 5 deletions git_push.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"

git_user_id=$1
git_repo_id=$2
release_note=$3
git_host=$4

if [ "$git_host" = "" ]; then
git_host="github.com"
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
fi

if [ "$git_user_id" = "" ]; then
git_user_id="namsor"
Expand All @@ -28,7 +34,7 @@ git init
# Adds the files in the local repository and stages them for commit.
git add .

# Commits the tracked changes and prepares them to be pushed to a remote repository.
# Commits the tracked changes and prepares them to be pushed to a remote repository.
git commit -m "$release_note"

# Sets the new remote
Expand All @@ -37,16 +43,16 @@ if [ "$git_remote" = "" ]; then # git remote not defined

if [ "$GIT_TOKEN" = "" ]; then
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
else
git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
fi

fi

git pull origin master

# Pushes (Forces) the changes in the local repository up to the remote repository
echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
git push origin master 2>&1 | grep -v 'To https'

107 changes: 12 additions & 95 deletions openapi_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,106 +7,23 @@
NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. By default, enpoints use 1 unit per name (ex. Gender), but Ethnicity classification uses 10 to 20 units per name depending on taxonomy. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501
OpenAPI spec version: 2.0.26
The version of the OpenAPI document: 2.0.27
Contact: contact@namsor.com
Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

__version__ = "2.0.26"

# import apis into sdk package
from openapi_client.api.admin_api import AdminApi
from openapi_client.api.chinese_api import ChineseApi
from openapi_client.api.general_api import GeneralApi
from openapi_client.api.indian_api import IndianApi
from openapi_client.api.japanese_api import JapaneseApi
from openapi_client.api.personal_api import PersonalApi
from openapi_client.api.social_api import SocialApi
__version__ = "2.0.27"

# import ApiClient
from openapi_client.api_client import ApiClient

# import Configuration
from openapi_client.configuration import Configuration
# import models into sdk package
from openapi_client.models.api_billing_period_usage_out import APIBillingPeriodUsageOut
from openapi_client.models.api_classifier_out import APIClassifierOut
from openapi_client.models.api_classifier_taxonomy_out import APIClassifierTaxonomyOut
from openapi_client.models.api_classifiers_status_out import APIClassifiersStatusOut
from openapi_client.models.api_counter_v2_out import APICounterV2Out
from openapi_client.models.api_key_out import APIKeyOut
from openapi_client.models.api_period_usage_out import APIPeriodUsageOut
from openapi_client.models.api_plan_subscription_out import APIPlanSubscriptionOut
from openapi_client.models.api_service_out import APIServiceOut
from openapi_client.models.api_services_out import APIServicesOut
from openapi_client.models.api_usage_aggregated_out import APIUsageAggregatedOut
from openapi_client.models.api_usage_history_out import APIUsageHistoryOut
from openapi_client.models.batch_corridor_in import BatchCorridorIn
from openapi_client.models.batch_corridor_out import BatchCorridorOut
from openapi_client.models.batch_first_last_name_diasporaed_out import BatchFirstLastNameDiasporaedOut
from openapi_client.models.batch_first_last_name_gender_in import BatchFirstLastNameGenderIn
from openapi_client.models.batch_first_last_name_gendered_out import BatchFirstLastNameGenderedOut
from openapi_client.models.batch_first_last_name_geo_in import BatchFirstLastNameGeoIn
from openapi_client.models.batch_first_last_name_geo_subclassification_out import BatchFirstLastNameGeoSubclassificationOut
from openapi_client.models.batch_first_last_name_geo_zipped_in import BatchFirstLastNameGeoZippedIn
from openapi_client.models.batch_first_last_name_in import BatchFirstLastNameIn
from openapi_client.models.batch_first_last_name_origined_out import BatchFirstLastNameOriginedOut
from openapi_client.models.batch_first_last_name_phone_coded_out import BatchFirstLastNamePhoneCodedOut
from openapi_client.models.batch_first_last_name_phone_number_geo_in import BatchFirstLastNamePhoneNumberGeoIn
from openapi_client.models.batch_first_last_name_phone_number_in import BatchFirstLastNamePhoneNumberIn
from openapi_client.models.batch_first_last_name_us_race_ethnicity_out import BatchFirstLastNameUSRaceEthnicityOut
from openapi_client.models.batch_match_personal_first_last_name_in import BatchMatchPersonalFirstLastNameIn
from openapi_client.models.batch_name_geo_in import BatchNameGeoIn
from openapi_client.models.batch_name_in import BatchNameIn
from openapi_client.models.batch_name_match_candidates_out import BatchNameMatchCandidatesOut
from openapi_client.models.batch_name_matched_out import BatchNameMatchedOut
from openapi_client.models.batch_personal_name_castegroup_out import BatchPersonalNameCastegroupOut
from openapi_client.models.batch_personal_name_gendered_out import BatchPersonalNameGenderedOut
from openapi_client.models.batch_personal_name_geo_in import BatchPersonalNameGeoIn
from openapi_client.models.batch_personal_name_geo_out import BatchPersonalNameGeoOut
from openapi_client.models.batch_personal_name_geo_subclassification_out import BatchPersonalNameGeoSubclassificationOut
from openapi_client.models.batch_personal_name_geo_subdivision_in import BatchPersonalNameGeoSubdivisionIn
from openapi_client.models.batch_personal_name_in import BatchPersonalNameIn
from openapi_client.models.batch_personal_name_parsed_out import BatchPersonalNameParsedOut
from openapi_client.models.batch_personal_name_religioned_out import BatchPersonalNameReligionedOut
from openapi_client.models.batch_personal_name_subdivision_in import BatchPersonalNameSubdivisionIn
from openapi_client.models.batch_proper_noun_categorized_out import BatchProperNounCategorizedOut
from openapi_client.models.corridor_in import CorridorIn
from openapi_client.models.corridor_out import CorridorOut
from openapi_client.models.fact_in import FactIn
from openapi_client.models.feedback_loop_out import FeedbackLoopOut
from openapi_client.models.first_last_name_diasporaed_out import FirstLastNameDiasporaedOut
from openapi_client.models.first_last_name_gender_in import FirstLastNameGenderIn
from openapi_client.models.first_last_name_gendered_out import FirstLastNameGenderedOut
from openapi_client.models.first_last_name_geo_in import FirstLastNameGeoIn
from openapi_client.models.first_last_name_geo_subclassification_out import FirstLastNameGeoSubclassificationOut
from openapi_client.models.first_last_name_geo_zipped_in import FirstLastNameGeoZippedIn
from openapi_client.models.first_last_name_in import FirstLastNameIn
from openapi_client.models.first_last_name_origined_out import FirstLastNameOriginedOut
from openapi_client.models.first_last_name_out import FirstLastNameOut
from openapi_client.models.first_last_name_phone_coded_out import FirstLastNamePhoneCodedOut
from openapi_client.models.first_last_name_phone_number_geo_in import FirstLastNamePhoneNumberGeoIn
from openapi_client.models.first_last_name_phone_number_in import FirstLastNamePhoneNumberIn
from openapi_client.models.first_last_name_us_race_ethnicity_out import FirstLastNameUSRaceEthnicityOut
from openapi_client.models.match_personal_first_last_name_in import MatchPersonalFirstLastNameIn
from openapi_client.models.name_geo_in import NameGeoIn
from openapi_client.models.name_in import NameIn
from openapi_client.models.name_match_candidate_out import NameMatchCandidateOut
from openapi_client.models.name_match_candidates_out import NameMatchCandidatesOut
from openapi_client.models.name_matched_out import NameMatchedOut
from openapi_client.models.personal_name_castegroup_out import PersonalNameCastegroupOut
from openapi_client.models.personal_name_gendered_out import PersonalNameGenderedOut
from openapi_client.models.personal_name_geo_in import PersonalNameGeoIn
from openapi_client.models.personal_name_geo_out import PersonalNameGeoOut
from openapi_client.models.personal_name_geo_subclassification_out import PersonalNameGeoSubclassificationOut
from openapi_client.models.personal_name_geo_subdivision_in import PersonalNameGeoSubdivisionIn
from openapi_client.models.personal_name_in import PersonalNameIn
from openapi_client.models.personal_name_parsed_out import PersonalNameParsedOut
from openapi_client.models.personal_name_religioned_out import PersonalNameReligionedOut
from openapi_client.models.personal_name_subdivision_in import PersonalNameSubdivisionIn
from openapi_client.models.proper_noun_categorized_out import ProperNounCategorizedOut
from openapi_client.models.region_iso import RegionISO
from openapi_client.models.region_out import RegionOut
from openapi_client.models.religion_stat_out import ReligionStatOut
from openapi_client.models.software_version_out import SoftwareVersionOut

# import exceptions
from openapi_client.exceptions import OpenApiException
from openapi_client.exceptions import ApiAttributeError
from openapi_client.exceptions import ApiTypeError
from openapi_client.exceptions import ApiValueError
from openapi_client.exceptions import ApiKeyError
from openapi_client.exceptions import ApiException
Loading

0 comments on commit eaab7de

Please sign in to comment.