Skip to main content

Communicate in Business with python

Project description

Communicate in Business with python

logo


PyPI - Python Version Downloads

Example

sales increased 12% compared with fourth quarter 2021:

  • North America segment sales increased 13% year-over-year to $93.4 billion, or increased 14% excluding changes in foreign exchange rates.
  • International segment sales decreased 8% year-over-year to $34.5 billion, or increased 5% excluding changes in foreign exchange rates.
  • AWS segment sales increased 20% year-over-year to $21.4 billion.
sale1 = p.Sale(quarter="Q4",amount=93.4,unit="billion dollars",growth_rate=13%,year=2022,segment="North America")
sale2 = p.Sale(quarter="Q4",amount=34.5,unit="billion dollars",growth_rate=-8%,year=2022,segment="International")
sale3 = p.Sale(quarter="Q4",amount=21.4,unit="billion dollars",growth_rate=20%,year=2022,segment="AWS")
sales = [sale1, sale2, sale3]
total_sales = 0
for s in sales:
    total_sales += s.amount
    print(f"Segment: {s.segment}, Sale: {s.amount}")

print(f"Total Sales: {total_sales}")

Install & Import

Dependencies

  • scipy
  • numpy
  • pandas

For detailed installation instructions, see the documentation.

pip install cpanlp
import cpanlp as p

Features

import cpanlp as p

# Keyword Analysis 

keywordanalysis = Keyword()
instances = keywordanalysis.analyze(text="Our concentrate operations typically generate net operating revenues by selling concentrates, syrups and certain finished beverages to authorized bottling operations")
# Accounting Item

gold_asset = p.Asset(account="gold", debit=1000,date="2023-01-01")
print(gold_asset.bubble)

# Strategy

huawei = p.FinancialStrategy("huawei","defense",poison_pill(1000,0.1))

# Language Decorator 

side_effects=["financial instability",
               "loss of reputation",
               "decreased employee morale"]
@with_side_effects(side_effects=side_effects)
func()

# Accounting Exception 

if abs(percent_change) > 10:
  raise AbnormalFluctuation(stock_name, percent_change)

Module:

Category Module Example
Accounting Asset Intangible Asset
Liability Financial Liability
Equity Share
Income Revenue
Cashflow Cashflow
Policy DividendPolicy
Report IncomeSmoothing
Audit Audit Audit Opinion
Business Main BusinessCapacityBusiness ModelValue ChainOperation
${\color{purple}Decorator}$ EstimateTenseImportanceWith EffectsValidator
Corporate Law Contract Lease
Control Voting Power
Entity LLC
Provision SayOnPay
Department Board Of DirectorsSupervisory Board
Event AcquisitionCertificationGrantsMeetingResignationRepurchasePersonnelRegistrationSharesLawsuitStockHoldingIncrease
${\color{purple}Exception}$ Abnormal FluctuationBubbleWinner Curse
Financial Management Incentive Promotion Incentive
Scheme Ponzi
Institution
Market CommodityGoods
Person ${\color{red}Consumer}$,EmployeeEntrepreneurManagerInvestorPartnerShareholderSupervisorCreditorAuditorBeneficiaryFiduciaryCraftsman
Project
Pragmatics Promise
Risk
StakerHolder BankGovernmentMediaPublicRating Agency
Strategy LayoutLong Term StrategyFinancial Strategy
Tax Tax on Behavior TransactionTax
Tax on Income PersonalIncomeTax
Tax on Property RealEstateTax
Tax on Turnover VAT
Team ResearchTeam
Utility

Accounting Gym-Env

logo

Check out: https://cpanlp.com

Python Narrative packages

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

cpanlp-1.2.75.tar.gz (126.6 kB view details)

Uploaded Source

Built Distribution

cpanlp-1.2.75-py3-none-any.whl (221.3 kB view details)

Uploaded Python 3

File details

Details for the file cpanlp-1.2.75.tar.gz.

File metadata

  • Download URL: cpanlp-1.2.75.tar.gz
  • Upload date:
  • Size: 126.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for cpanlp-1.2.75.tar.gz
Algorithm Hash digest
SHA256 330c40a552ff192fb6de67c8bb946c0bbfa5aa15b35ea4952a0c6b5e961efcae
MD5 be78d198b571b10f42ef8aa939530c10
BLAKE2b-256 cb65f247b9157f5b873827aa5bbb95fb2ae85424f6460a12c74492bf4652cc52

See more details on using hashes here.

File details

Details for the file cpanlp-1.2.75-py3-none-any.whl.

File metadata

  • Download URL: cpanlp-1.2.75-py3-none-any.whl
  • Upload date:
  • Size: 221.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for cpanlp-1.2.75-py3-none-any.whl
Algorithm Hash digest
SHA256 e7f8c35c333af3dd309f6f8246ec6780cc92d8fea33e5dce25be922117e20de6
MD5 6083a1696f873e3381e83a73dbeca312
BLAKE2b-256 cae454ad5f0ef0c763f903a1d14ddd7d7d6710a8beff1852bf99ed767bdff5a9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page